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 Summary
Modifier and TypeMethodDescriptionaddAllPremiseDescriptors(Iterable<String> values) List of atom ID's to assign the connected premises to their role in the argumentation scheme.addPremiseDescriptors(String value) List of atom ID's to assign the connected premises to their role in the argumentation scheme.addPremiseDescriptorsBytes(com.google.protobuf.ByteString value) List of atom ID's to assign the connected premises to their role in the argumentation scheme.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear().arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];List of atom ID's to assign the connected premises to their role in the argumentation scheme..arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];.arg_services.graph.v1.Support support = 1 [json_name = "support"];clone().arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];int.arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];int.arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];getPremiseDescriptors(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.intList of atom ID's to assign the connected premises to their role in the argumentation scheme.com.google.protobuf.ProtocolStringListList of atom ID's to assign the connected premises to their role in the argumentation scheme..arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];int.arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];.arg_services.graph.v1.Support support = 1 [json_name = "support"];int.arg_services.graph.v1.Support support = 1 [json_name = "support"];boolean.arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];boolean.arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];boolean.arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];boolean.arg_services.graph.v1.Support support = 1 [json_name = "support"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final Scheme.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) .arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];setAttackValue(int value) .arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];setPreference(Preference value) .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];setPreferenceValue(int value) .arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];setPremiseDescriptors(int index, String value) List of atom ID's to assign the connected premises to their role in the argumentation scheme.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRephrase(Rephrase value) .arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];setRephraseValue(int value) .arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];setSupport(Support value) .arg_services.graph.v1.Support support = 1 [json_name = "support"];setSupportValue(int value) .arg_services.graph.v1.Support support = 1 [json_name = "support"];final Scheme.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
-
setRepeatedField
public Scheme.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
-
addRepeatedField
public Scheme.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Scheme.Builder>
-
mergeFrom
-
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 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:
IOException
-
getTypeCase
- Specified by:
getTypeCasein interfaceSchemeOrBuilder
-
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
.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
.arg_services.graph.v1.Support support = 1 [json_name = "support"];- Specified by:
getSupportin interfaceSchemeOrBuilder- Returns:
- The support.
-
setSupport
.arg_services.graph.v1.Support support = 1 [json_name = "support"];- Parameters:
value- The support to set.- Returns:
- This builder for chaining.
-
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
.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
.arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];- Specified by:
getAttackin interfaceSchemeOrBuilder- Returns:
- The attack.
-
setAttack
.arg_services.graph.v1.Attack attack = 2 [json_name = "attack"];- Parameters:
value- The attack to set.- Returns:
- This builder for chaining.
-
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
.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
.arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];- Specified by:
getPreferencein interfaceSchemeOrBuilder- Returns:
- The preference.
-
setPreference
.arg_services.graph.v1.Preference preference = 3 [json_name = "preference"];- Parameters:
value- The preference to set.- Returns:
- This builder for chaining.
-
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
.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
.arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];- Specified by:
getRephrasein interfaceSchemeOrBuilder- Returns:
- The rephrase.
-
setRephrase
.arg_services.graph.v1.Rephrase rephrase = 4 [json_name = "rephrase"];- Parameters:
value- The rephrase to set.- Returns:
- This builder for chaining.
-
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
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
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
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
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
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
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
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Scheme.Builder>
-