Class Atom.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AtomOrBuilder, java.lang.Cloneable
    Enclosing class:
    Atom

    public static final class Atom.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Atom.Builder>
    implements AtomOrBuilder
     Atom nodes contain textual information and as such parts of the original resource.
     Atoms are also known as `ADUs` or claims/premises in the argumentation domain.
     
    Protobuf type arg_services.graph.v1.Atom
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Atom build()  
      Atom buildPartial()  
      Atom.Builder clear()  
      Atom.Builder clearParticipant()
      Optional: ID of the related participant.
      Atom.Builder clearReference()
      Optional: Reference to the related resource.
      Atom.Builder clearText()
      Textual content of the argumentative discourse unit (ADU).
      Atom getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      java.lang.String getParticipant()
      Optional: ID of the related participant.
      com.google.protobuf.ByteString getParticipantBytes()
      Optional: ID of the related participant.
      Reference getReference()
      Optional: Reference to the related resource.
      Reference.Builder getReferenceBuilder()
      Optional: Reference to the related resource.
      ReferenceOrBuilder getReferenceOrBuilder()
      Optional: Reference to the related resource.
      java.lang.String getText()
      Textual content of the argumentative discourse unit (ADU).
      com.google.protobuf.ByteString getTextBytes()
      Textual content of the argumentative discourse unit (ADU).
      boolean hasParticipant()
      Optional: ID of the related participant.
      boolean hasReference()
      Optional: Reference to the related resource.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      Atom.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      Atom.Builder mergeFrom​(com.google.protobuf.Message other)  
      Atom.Builder mergeFrom​(Atom other)  
      Atom.Builder mergeReference​(Reference value)
      Optional: Reference to the related resource.
      Atom.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      Atom.Builder setParticipant​(java.lang.String value)
      Optional: ID of the related participant.
      Atom.Builder setParticipantBytes​(com.google.protobuf.ByteString value)
      Optional: ID of the related participant.
      Atom.Builder setReference​(Reference value)
      Optional: Reference to the related resource.
      Atom.Builder setReference​(Reference.Builder builderForValue)
      Optional: Reference to the related resource.
      Atom.Builder setText​(java.lang.String value)
      Textual content of the argumentative discourse unit (ADU).
      Atom.Builder setTextBytes​(com.google.protobuf.ByteString value)
      Textual content of the argumentative discourse unit (ADU).
      Atom.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

        addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Atom.Builder>
      • clear

        public Atom.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Atom.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Atom.Builder>
      • getDefaultInstanceForType

        public Atom getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Atom build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Atom buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • mergeFrom

        public Atom.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Atom.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Atom.Builder>
      • mergeFrom

        public Atom.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Atom.Builder>
        Throws:
        java.io.IOException
      • getText

        public java.lang.String getText()
         Textual content of the argumentative discourse unit (ADU).
         
        string text = 1 [json_name = "text"];
        Specified by:
        getText in interface AtomOrBuilder
        Returns:
        The text.
      • getTextBytes

        public com.google.protobuf.ByteString getTextBytes()
         Textual content of the argumentative discourse unit (ADU).
         
        string text = 1 [json_name = "text"];
        Specified by:
        getTextBytes in interface AtomOrBuilder
        Returns:
        The bytes for text.
      • setText

        public Atom.Builder setText​(java.lang.String value)
         Textual content of the argumentative discourse unit (ADU).
         
        string text = 1 [json_name = "text"];
        Parameters:
        value - The text to set.
        Returns:
        This builder for chaining.
      • clearText

        public Atom.Builder clearText()
         Textual content of the argumentative discourse unit (ADU).
         
        string text = 1 [json_name = "text"];
        Returns:
        This builder for chaining.
      • setTextBytes

        public Atom.Builder setTextBytes​(com.google.protobuf.ByteString value)
         Textual content of the argumentative discourse unit (ADU).
         
        string text = 1 [json_name = "text"];
        Parameters:
        value - The bytes for text to set.
        Returns:
        This builder for chaining.
      • hasReference

        public boolean hasReference()
         Optional: Reference to the related resource.
         
        .arg_services.graph.v1.Reference reference = 2 [json_name = "reference"];
        Specified by:
        hasReference in interface AtomOrBuilder
        Returns:
        Whether the reference field is set.
      • getReference

        public Reference getReference()
         Optional: Reference to the related resource.
         
        .arg_services.graph.v1.Reference reference = 2 [json_name = "reference"];
        Specified by:
        getReference in interface AtomOrBuilder
        Returns:
        The reference.
      • setReference

        public Atom.Builder setReference​(Reference value)
         Optional: Reference to the related resource.
         
        .arg_services.graph.v1.Reference reference = 2 [json_name = "reference"];
      • setReference

        public Atom.Builder setReference​(Reference.Builder builderForValue)
         Optional: Reference to the related resource.
         
        .arg_services.graph.v1.Reference reference = 2 [json_name = "reference"];
      • mergeReference

        public Atom.Builder mergeReference​(Reference value)
         Optional: Reference to the related resource.
         
        .arg_services.graph.v1.Reference reference = 2 [json_name = "reference"];
      • clearReference

        public Atom.Builder clearReference()
         Optional: Reference to the related resource.
         
        .arg_services.graph.v1.Reference reference = 2 [json_name = "reference"];
      • getReferenceBuilder

        public Reference.Builder getReferenceBuilder()
         Optional: Reference to the related resource.
         
        .arg_services.graph.v1.Reference reference = 2 [json_name = "reference"];
      • hasParticipant

        public boolean hasParticipant()
         Optional: ID of the related participant.
         
        optional string participant = 3 [json_name = "participant"];
        Specified by:
        hasParticipant in interface AtomOrBuilder
        Returns:
        Whether the participant field is set.
      • getParticipant

        public java.lang.String getParticipant()
         Optional: ID of the related participant.
         
        optional string participant = 3 [json_name = "participant"];
        Specified by:
        getParticipant in interface AtomOrBuilder
        Returns:
        The participant.
      • getParticipantBytes

        public com.google.protobuf.ByteString getParticipantBytes()
         Optional: ID of the related participant.
         
        optional string participant = 3 [json_name = "participant"];
        Specified by:
        getParticipantBytes in interface AtomOrBuilder
        Returns:
        The bytes for participant.
      • setParticipant

        public Atom.Builder setParticipant​(java.lang.String value)
         Optional: ID of the related participant.
         
        optional string participant = 3 [json_name = "participant"];
        Parameters:
        value - The participant to set.
        Returns:
        This builder for chaining.
      • clearParticipant

        public Atom.Builder clearParticipant()
         Optional: ID of the related participant.
         
        optional string participant = 3 [json_name = "participant"];
        Returns:
        This builder for chaining.
      • setParticipantBytes

        public Atom.Builder setParticipantBytes​(com.google.protobuf.ByteString value)
         Optional: ID of the related participant.
         
        optional string participant = 3 [json_name = "participant"];
        Parameters:
        value - The bytes for participant to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Atom.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Atom.Builder>
      • mergeUnknownFields

        public final Atom.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Atom.Builder>