Class Scheme.Builder

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

    public static final class Scheme.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
    implements SchemeOrBuilder
     Scheme nodes encode the relations between other nodes.
     
    Protobuf type arg_services.graph.v1.Scheme
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Scheme.Builder addAllPremiseDescriptors​(java.lang.Iterable<java.lang.String> values)
      List of atom ID's to assign the connected premises to their role in the argumentation scheme.
      Scheme.Builder addPremiseDescriptors​(java.lang.String value)
      List of atom ID's to assign the connected premises to their role in the argumentation scheme.
      Scheme.Builder addPremiseDescriptorsBytes​(com.google.protobuf.ByteString value)
      List of atom ID's to assign the connected premises to their role in the argumentation scheme.
      Scheme build()  
      Scheme buildPartial()  
      Scheme.Builder clear()  
      Scheme.Builder clearAttack()
      .arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];
      Scheme.Builder clearPreference()
      .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];
      Scheme.Builder clearPremiseDescriptors()
      List of atom ID's to assign the connected premises to their role in the argumentation scheme.
      Scheme.Builder clearRephrase()
      .arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];
      Scheme.Builder clearSupport()
      .arg_services.graph.v1.Support support = 1 [json_name = "support"];
      Scheme.Builder clearType()  
      Attack getAttack()
      .arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];
      int getAttackValue()
      .arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];
      Scheme getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      Preference getPreference()
      .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];
      int getPreferenceValue()
      .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];
      java.lang.String getPremiseDescriptors​(int index)
      List of atom ID's to assign the connected premises to their role in the argumentation scheme.
      com.google.protobuf.ByteString getPremiseDescriptorsBytes​(int index)
      List of atom ID's to assign the connected premises to their role in the argumentation scheme.
      int getPremiseDescriptorsCount()
      List of atom ID's to assign the connected premises to their role in the argumentation scheme.
      com.google.protobuf.ProtocolStringList getPremiseDescriptorsList()
      List of atom ID's to assign the connected premises to their role in the argumentation scheme.
      Rephrase getRephrase()
      .arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];
      int getRephraseValue()
      .arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];
      Support getSupport()
      .arg_services.graph.v1.Support support = 1 [json_name = "support"];
      int getSupportValue()
      .arg_services.graph.v1.Support support = 1 [json_name = "support"];
      Scheme.TypeCase getTypeCase()  
      boolean hasAttack()
      .arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];
      boolean hasPreference()
      .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];
      boolean hasRephrase()
      .arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];
      boolean hasSupport()
      .arg_services.graph.v1.Support support = 1 [json_name = "support"];
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      Scheme.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      Scheme.Builder mergeFrom​(com.google.protobuf.Message other)  
      Scheme.Builder mergeFrom​(Scheme other)  
      Scheme.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      Scheme.Builder setAttack​(Attack value)
      .arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];
      Scheme.Builder setAttackValue​(int value)
      .arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];
      Scheme.Builder setPreference​(Preference value)
      .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];
      Scheme.Builder setPreferenceValue​(int value)
      .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];
      Scheme.Builder setPremiseDescriptors​(int index, java.lang.String value)
      List of atom ID's to assign the connected premises to their role in the argumentation scheme.
      Scheme.Builder setRephrase​(Rephrase value)
      .arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];
      Scheme.Builder setRephraseValue​(int value)
      .arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];
      Scheme.Builder setSupport​(Support value)
      .arg_services.graph.v1.Support support = 1 [json_name = "support"];
      Scheme.Builder setSupportValue​(int value)
      .arg_services.graph.v1.Support support = 1 [json_name = "support"];
      Scheme.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<Scheme.Builder>
      • clear

        public Scheme.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<Scheme.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<Scheme.Builder>
      • getDefaultInstanceForType

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

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

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

        public Scheme.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<Scheme.Builder>
      • isInitialized

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

        public Scheme.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<Scheme.Builder>
        Throws:
        java.io.IOException
      • hasSupport

        public boolean hasSupport()
        .arg_services.graph.v1.Support support = 1 [json_name = "support"];
        Specified by:
        hasSupport in interface SchemeOrBuilder
        Returns:
        Whether the support field is set.
      • getSupportValue

        public int getSupportValue()
        .arg_services.graph.v1.Support support = 1 [json_name = "support"];
        Specified by:
        getSupportValue in interface SchemeOrBuilder
        Returns:
        The enum numeric value on the wire for support.
      • setSupportValue

        public Scheme.Builder setSupportValue​(int value)
        .arg_services.graph.v1.Support support = 1 [json_name = "support"];
        Parameters:
        value - The enum numeric value on the wire for support to set.
        Returns:
        This builder for chaining.
      • getSupport

        public Support getSupport()
        .arg_services.graph.v1.Support support = 1 [json_name = "support"];
        Specified by:
        getSupport in interface SchemeOrBuilder
        Returns:
        The support.
      • setSupport

        public Scheme.Builder setSupport​(Support value)
        .arg_services.graph.v1.Support support = 1 [json_name = "support"];
        Parameters:
        value - The support to set.
        Returns:
        This builder for chaining.
      • clearSupport

        public Scheme.Builder clearSupport()
        .arg_services.graph.v1.Support support = 1 [json_name = "support"];
        Returns:
        This builder for chaining.
      • hasAttack

        public boolean hasAttack()
        .arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];
        Specified by:
        hasAttack in interface SchemeOrBuilder
        Returns:
        Whether the attack field is set.
      • getAttackValue

        public int getAttackValue()
        .arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];
        Specified by:
        getAttackValue in interface SchemeOrBuilder
        Returns:
        The enum numeric value on the wire for attack.
      • setAttackValue

        public Scheme.Builder setAttackValue​(int value)
        .arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];
        Parameters:
        value - The enum numeric value on the wire for attack to set.
        Returns:
        This builder for chaining.
      • getAttack

        public Attack getAttack()
        .arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];
        Specified by:
        getAttack in interface SchemeOrBuilder
        Returns:
        The attack.
      • setAttack

        public Scheme.Builder setAttack​(Attack value)
        .arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];
        Parameters:
        value - The attack to set.
        Returns:
        This builder for chaining.
      • clearAttack

        public Scheme.Builder clearAttack()
        .arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];
        Returns:
        This builder for chaining.
      • hasPreference

        public boolean hasPreference()
        .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];
        Specified by:
        hasPreference in interface SchemeOrBuilder
        Returns:
        Whether the preference field is set.
      • getPreferenceValue

        public int getPreferenceValue()
        .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];
        Specified by:
        getPreferenceValue in interface SchemeOrBuilder
        Returns:
        The enum numeric value on the wire for preference.
      • setPreferenceValue

        public Scheme.Builder setPreferenceValue​(int value)
        .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];
        Parameters:
        value - The enum numeric value on the wire for preference to set.
        Returns:
        This builder for chaining.
      • getPreference

        public Preference getPreference()
        .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];
        Specified by:
        getPreference in interface SchemeOrBuilder
        Returns:
        The preference.
      • setPreference

        public Scheme.Builder setPreference​(Preference value)
        .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];
        Parameters:
        value - The preference to set.
        Returns:
        This builder for chaining.
      • clearPreference

        public Scheme.Builder clearPreference()
        .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];
        Returns:
        This builder for chaining.
      • hasRephrase

        public boolean hasRephrase()
        .arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];
        Specified by:
        hasRephrase in interface SchemeOrBuilder
        Returns:
        Whether the rephrase field is set.
      • getRephraseValue

        public int getRephraseValue()
        .arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];
        Specified by:
        getRephraseValue in interface SchemeOrBuilder
        Returns:
        The enum numeric value on the wire for rephrase.
      • setRephraseValue

        public Scheme.Builder setRephraseValue​(int value)
        .arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];
        Parameters:
        value - The enum numeric value on the wire for rephrase to set.
        Returns:
        This builder for chaining.
      • getRephrase

        public Rephrase getRephrase()
        .arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];
        Specified by:
        getRephrase in interface SchemeOrBuilder
        Returns:
        The rephrase.
      • setRephrase

        public Scheme.Builder setRephrase​(Rephrase value)
        .arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];
        Parameters:
        value - The rephrase to set.
        Returns:
        This builder for chaining.
      • clearRephrase

        public Scheme.Builder clearRephrase()
        .arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];
        Returns:
        This builder for chaining.
      • getPremiseDescriptorsList

        public com.google.protobuf.ProtocolStringList getPremiseDescriptorsList()
         List of atom ID's to assign the connected premises to their role in the argumentation scheme.
         Please note: The order of the ID's is important here and should correspond the one found in the underlying literature used for a specific project.
         
        repeated string premise_descriptors = 15 [json_name = "premiseDescriptors"];
        Specified by:
        getPremiseDescriptorsList in interface SchemeOrBuilder
        Returns:
        A list containing the premiseDescriptors.
      • getPremiseDescriptorsCount

        public int getPremiseDescriptorsCount()
         List of atom ID's to assign the connected premises to their role in the argumentation scheme.
         Please note: The order of the ID's is important here and should correspond the one found in the underlying literature used for a specific project.
         
        repeated string premise_descriptors = 15 [json_name = "premiseDescriptors"];
        Specified by:
        getPremiseDescriptorsCount in interface SchemeOrBuilder
        Returns:
        The count of premiseDescriptors.
      • getPremiseDescriptors

        public java.lang.String getPremiseDescriptors​(int index)
         List of atom ID's to assign the connected premises to their role in the argumentation scheme.
         Please note: The order of the ID's is important here and should correspond the one found in the underlying literature used for a specific project.
         
        repeated string premise_descriptors = 15 [json_name = "premiseDescriptors"];
        Specified by:
        getPremiseDescriptors in interface SchemeOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The premiseDescriptors at the given index.
      • getPremiseDescriptorsBytes

        public com.google.protobuf.ByteString getPremiseDescriptorsBytes​(int index)
         List of atom ID's to assign the connected premises to their role in the argumentation scheme.
         Please note: The order of the ID's is important here and should correspond the one found in the underlying literature used for a specific project.
         
        repeated string premise_descriptors = 15 [json_name = "premiseDescriptors"];
        Specified by:
        getPremiseDescriptorsBytes in interface SchemeOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the premiseDescriptors at the given index.
      • setPremiseDescriptors

        public Scheme.Builder setPremiseDescriptors​(int index,
                                                    java.lang.String value)
         List of atom ID's to assign the connected premises to their role in the argumentation scheme.
         Please note: The order of the ID's is important here and should correspond the one found in the underlying literature used for a specific project.
         
        repeated string premise_descriptors = 15 [json_name = "premiseDescriptors"];
        Parameters:
        index - The index to set the value at.
        value - The premiseDescriptors to set.
        Returns:
        This builder for chaining.
      • addPremiseDescriptors

        public Scheme.Builder addPremiseDescriptors​(java.lang.String value)
         List of atom ID's to assign the connected premises to their role in the argumentation scheme.
         Please note: The order of the ID's is important here and should correspond the one found in the underlying literature used for a specific project.
         
        repeated string premise_descriptors = 15 [json_name = "premiseDescriptors"];
        Parameters:
        value - The premiseDescriptors to add.
        Returns:
        This builder for chaining.
      • addAllPremiseDescriptors

        public Scheme.Builder addAllPremiseDescriptors​(java.lang.Iterable<java.lang.String> values)
         List of atom ID's to assign the connected premises to their role in the argumentation scheme.
         Please note: The order of the ID's is important here and should correspond the one found in the underlying literature used for a specific project.
         
        repeated string premise_descriptors = 15 [json_name = "premiseDescriptors"];
        Parameters:
        values - The premiseDescriptors to add.
        Returns:
        This builder for chaining.
      • clearPremiseDescriptors

        public Scheme.Builder clearPremiseDescriptors()
         List of atom ID's to assign the connected premises to their role in the argumentation scheme.
         Please note: The order of the ID's is important here and should correspond the one found in the underlying literature used for a specific project.
         
        repeated string premise_descriptors = 15 [json_name = "premiseDescriptors"];
        Returns:
        This builder for chaining.
      • addPremiseDescriptorsBytes

        public Scheme.Builder addPremiseDescriptorsBytes​(com.google.protobuf.ByteString value)
         List of atom ID's to assign the connected premises to their role in the argumentation scheme.
         Please note: The order of the ID's is important here and should correspond the one found in the underlying literature used for a specific project.
         
        repeated string premise_descriptors = 15 [json_name = "premiseDescriptors"];
        Parameters:
        value - The bytes of the premiseDescriptors to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Scheme.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<Scheme.Builder>
      • mergeUnknownFields

        public final Scheme.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<Scheme.Builder>