Class Scheme.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
de.uni_trier.recap.arg_services.graph.v1.Scheme.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SchemeOrBuilder, 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 Details

    • 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
    • clone

      public Scheme.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
    • setField

      public Scheme.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
    • clearField

      public Scheme.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
    • clearOneof

      public Scheme.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
    • setRepeatedField

      public Scheme.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
    • addRepeatedField

      public Scheme.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Scheme.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>
    • mergeFrom

      public Scheme.Builder mergeFrom(Scheme other)
    • 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 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:
      IOException
    • getTypeCase

      public Scheme.TypeCase getTypeCase()
      Specified by:
      getTypeCase in interface SchemeOrBuilder
    • clearType

      public Scheme.Builder clearType()
    • 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 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, 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(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(Iterable<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>