Class Scheme.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,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 typearg_services.graph.v1.Scheme
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Scheme.BuilderaddAllPremiseDescriptors(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.BuilderaddPremiseDescriptors(java.lang.String value)List of atom ID's to assign the connected premises to their role in the argumentation scheme.Scheme.BuilderaddPremiseDescriptorsBytes(com.google.protobuf.ByteString value)List of atom ID's to assign the connected premises to their role in the argumentation scheme.Schemebuild()SchemebuildPartial()Scheme.Builderclear()Scheme.BuilderclearAttack().arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];Scheme.BuilderclearPreference().arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];Scheme.BuilderclearPremiseDescriptors()List of atom ID's to assign the connected premises to their role in the argumentation scheme.Scheme.BuilderclearRephrase().arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];Scheme.BuilderclearSupport().arg_services.graph.v1.Support support = 1 [json_name = "support"];Scheme.BuilderclearType()AttackgetAttack().arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];intgetAttackValue().arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];SchemegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()PreferencegetPreference().arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];intgetPreferenceValue().arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];java.lang.StringgetPremiseDescriptors(int index)List of atom ID's to assign the connected premises to their role in the argumentation scheme.com.google.protobuf.ByteStringgetPremiseDescriptorsBytes(int index)List of atom ID's to assign the connected premises to their role in the argumentation scheme.intgetPremiseDescriptorsCount()List of atom ID's to assign the connected premises to their role in the argumentation scheme.com.google.protobuf.ProtocolStringListgetPremiseDescriptorsList()List of atom ID's to assign the connected premises to their role in the argumentation scheme.RephrasegetRephrase().arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];intgetRephraseValue().arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];SupportgetSupport().arg_services.graph.v1.Support support = 1 [json_name = "support"];intgetSupportValue().arg_services.graph.v1.Support support = 1 [json_name = "support"];Scheme.TypeCasegetTypeCase()booleanhasAttack().arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];booleanhasPreference().arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];booleanhasRephrase().arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];booleanhasSupport().arg_services.graph.v1.Support support = 1 [json_name = "support"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Scheme.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Scheme.BuildermergeFrom(com.google.protobuf.Message other)Scheme.BuildermergeFrom(Scheme other)Scheme.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Scheme.BuildersetAttack(Attack value).arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];Scheme.BuildersetAttackValue(int value).arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];Scheme.BuildersetPreference(Preference value).arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];Scheme.BuildersetPreferenceValue(int value).arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];Scheme.BuildersetPremiseDescriptors(int index, java.lang.String value)List of atom ID's to assign the connected premises to their role in the argumentation scheme.Scheme.BuildersetRephrase(Rephrase value).arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];Scheme.BuildersetRephraseValue(int value).arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];Scheme.BuildersetSupport(Support value).arg_services.graph.v1.Support support = 1 [json_name = "support"];Scheme.BuildersetSupportValue(int value).arg_services.graph.v1.Support support = 1 [json_name = "support"];Scheme.BuildersetUnknownFields(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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
-
clear
public Scheme.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
-
getDefaultInstanceForType
public Scheme getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Scheme build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Scheme buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Scheme.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Scheme.Builder>
-
mergeFrom
public Scheme.Builder mergeFrom(Scheme other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Scheme.Builder>- Throws:
java.io.IOException
-
getTypeCase
public Scheme.TypeCase getTypeCase()
- Specified by:
getTypeCasein interfaceSchemeOrBuilder
-
clearType
public Scheme.Builder clearType()
-
hasSupport
public boolean hasSupport()
.arg_services.graph.v1.Support support = 1 [json_name = "support"];- Specified by:
hasSupportin interfaceSchemeOrBuilder- Returns:
- Whether the support field is set.
-
getSupportValue
public int getSupportValue()
.arg_services.graph.v1.Support support = 1 [json_name = "support"];- Specified by:
getSupportValuein interfaceSchemeOrBuilder- 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:
getSupportin interfaceSchemeOrBuilder- 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:
hasAttackin interfaceSchemeOrBuilder- Returns:
- Whether the attack field is set.
-
getAttackValue
public int getAttackValue()
.arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];- Specified by:
getAttackValuein interfaceSchemeOrBuilder- 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:
getAttackin interfaceSchemeOrBuilder- 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:
hasPreferencein interfaceSchemeOrBuilder- Returns:
- Whether the preference field is set.
-
getPreferenceValue
public int getPreferenceValue()
.arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];- Specified by:
getPreferenceValuein interfaceSchemeOrBuilder- 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:
getPreferencein interfaceSchemeOrBuilder- 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:
hasRephrasein interfaceSchemeOrBuilder- Returns:
- Whether the rephrase field is set.
-
getRephraseValue
public int getRephraseValue()
.arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];- Specified by:
getRephraseValuein interfaceSchemeOrBuilder- 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:
getRephrasein interfaceSchemeOrBuilder- 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:
getPremiseDescriptorsListin interfaceSchemeOrBuilder- 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:
getPremiseDescriptorsCountin interfaceSchemeOrBuilder- 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:
getPremiseDescriptorsin interfaceSchemeOrBuilder- 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:
getPremiseDescriptorsBytesin interfaceSchemeOrBuilder- 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
-
mergeUnknownFields
public final Scheme.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
-
-