Class Graph.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
de.uni_trier.recap.arg_services.graph.v1.Graph.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GraphOrBuilder,Cloneable
- Enclosing class:
- Graph
public static final class Graph.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
implements GraphOrBuilder
Main message to store the argument graph. Each attribute having of type `map<string, X>` is a dictionary where a unique ID points to a message. The ID does not follow a specific format, but we reccomend to use UUIDv1 everywhere. An alternative could be to use a counter for each attribute, but this is error prone and not recommended. The ID should be treated the same way as a primary key in a database and may be referenced in other places of the argument. For instance, edges only store the IDs of connected nodes.Protobuf type
arg_services.graph.v1.Graph-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Library used for serializing the graph.ID of the atom node being the major claim of the graph.Store programmatic data like creation times.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Version of the protobuf schema.Store arbitrary data as needed by a user.clone()booleancontainsAnalysts(String key) Dictionary of analysts/annotators that created the graph-based representation of the original argument.booleancontainsEdges(String key) Dictionary of edges connecting nodes.booleancontainsNodes(String key) Dictionary of atom/scheme nodes.booleanDictionary of participants (i.e., persons, users) that created the original argument.booleancontainsResources(String key) Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.Deprecated.intDictionary of analysts/annotators that created the graph-based representation of the original argument.Dictionary of analysts/annotators that created the graph-based representation of the original argument.getAnalystsOrDefault(String key, Analyst defaultValue) Dictionary of analysts/annotators that created the graph-based representation of the original argument.getAnalystsOrThrow(String key) Dictionary of analysts/annotators that created the graph-based representation of the original argument.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEdges()Deprecated.intDictionary of edges connecting nodes.Dictionary of edges connecting nodes.getEdgesOrDefault(String key, Edge defaultValue) Dictionary of edges connecting nodes.getEdgesOrThrow(String key) Dictionary of edges connecting nodes.Library used for serializing the graph.com.google.protobuf.ByteStringLibrary used for serializing the graph.ID of the atom node being the major claim of the graph.com.google.protobuf.ByteStringID of the atom node being the major claim of the graph.Store programmatic data like creation times.Store programmatic data like creation times.Store programmatic data like creation times.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getNodes()Deprecated.intDictionary of atom/scheme nodes.Dictionary of atom/scheme nodes.getNodesOrDefault(String key, Node defaultValue) Dictionary of atom/scheme nodes.getNodesOrThrow(String key) Dictionary of atom/scheme nodes.Deprecated.intDictionary of participants (i.e., persons, users) that created the original argument.Dictionary of participants (i.e., persons, users) that created the original argument.getParticipantsOrDefault(String key, Participant defaultValue) Dictionary of participants (i.e., persons, users) that created the original argument.Dictionary of participants (i.e., persons, users) that created the original argument.Deprecated.intDictionary of resources (i.e., source texts) of the argument such as newspaper articles.Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.getResourcesOrDefault(String key, Resource defaultValue) Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.intVersion of the protobuf schema.com.google.protobuf.StructStore arbitrary data as needed by a user.com.google.protobuf.Struct.BuilderStore arbitrary data as needed by a user.com.google.protobuf.StructOrBuilderStore arbitrary data as needed by a user.booleanID of the atom node being the major claim of the graph.booleanStore programmatic data like creation times.booleanStore arbitrary data as needed by a user.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMetadata(Metadata value) Store programmatic data like creation times.final Graph.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUserdata(com.google.protobuf.Struct value) Store arbitrary data as needed by a user.putAllAnalysts(Map<String, Analyst> values) Dictionary of analysts/annotators that created the graph-based representation of the original argument.putAllEdges(Map<String, Edge> values) Dictionary of edges connecting nodes.putAllNodes(Map<String, Node> values) Dictionary of atom/scheme nodes.putAllParticipants(Map<String, Participant> values) Dictionary of participants (i.e., persons, users) that created the original argument.putAllResources(Map<String, Resource> values) Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.putAnalysts(String key, Analyst value) Dictionary of analysts/annotators that created the graph-based representation of the original argument.Dictionary of edges connecting nodes.Dictionary of atom/scheme nodes.putParticipants(String key, Participant value) Dictionary of participants (i.e., persons, users) that created the original argument.putResources(String key, Resource value) Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.removeAnalysts(String key) Dictionary of analysts/annotators that created the graph-based representation of the original argument.removeEdges(String key) Dictionary of edges connecting nodes.removeNodes(String key) Dictionary of atom/scheme nodes.removeParticipants(String key) Dictionary of participants (i.e., persons, users) that created the original argument.removeResources(String key) Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.setLibraryVersion(String value) Library used for serializing the graph.setLibraryVersionBytes(com.google.protobuf.ByteString value) Library used for serializing the graph.setMajorClaim(String value) ID of the atom node being the major claim of the graph.setMajorClaimBytes(com.google.protobuf.ByteString value) ID of the atom node being the major claim of the graph.setMetadata(Metadata value) Store programmatic data like creation times.setMetadata(Metadata.Builder builderForValue) Store programmatic data like creation times.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSchemaVersion(int value) Version of the protobuf schema.final Graph.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUserdata(com.google.protobuf.Struct value) Store arbitrary data as needed by a user.setUserdata(com.google.protobuf.Struct.Builder builderForValue) Store arbitrary data as needed by a user.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Graph.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<Graph.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<Graph.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<Graph.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
-
setRepeatedField
public Graph.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<Graph.Builder>
-
addRepeatedField
public Graph.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<Graph.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Graph.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
-
mergeFrom
public Graph.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<Graph.Builder>- Throws:
IOException
-
getNodesCount
public int getNodesCount()Description copied from interface:GraphOrBuilderDictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];- Specified by:
getNodesCountin interfaceGraphOrBuilder
-
containsNodes
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];- Specified by:
containsNodesin interfaceGraphOrBuilder
-
getNodes
Deprecated.UsegetNodesMap()instead.- Specified by:
getNodesin interfaceGraphOrBuilder
-
getNodesMap
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];- Specified by:
getNodesMapin interfaceGraphOrBuilder
-
getNodesOrDefault
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];- Specified by:
getNodesOrDefaultin interfaceGraphOrBuilder
-
getNodesOrThrow
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];- Specified by:
getNodesOrThrowin interfaceGraphOrBuilder
-
clearNodes
-
removeNodes
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"]; -
getMutableNodes
Deprecated.Use alternate mutation accessors instead. -
putNodes
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"]; -
putAllNodes
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"]; -
getEdgesCount
public int getEdgesCount()Description copied from interface:GraphOrBuilderDictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];- Specified by:
getEdgesCountin interfaceGraphOrBuilder
-
containsEdges
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];- Specified by:
containsEdgesin interfaceGraphOrBuilder
-
getEdges
Deprecated.UsegetEdgesMap()instead.- Specified by:
getEdgesin interfaceGraphOrBuilder
-
getEdgesMap
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];- Specified by:
getEdgesMapin interfaceGraphOrBuilder
-
getEdgesOrDefault
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];- Specified by:
getEdgesOrDefaultin interfaceGraphOrBuilder
-
getEdgesOrThrow
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];- Specified by:
getEdgesOrThrowin interfaceGraphOrBuilder
-
clearEdges
-
removeEdges
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"]; -
getMutableEdges
Deprecated.Use alternate mutation accessors instead. -
putEdges
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"]; -
putAllEdges
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"]; -
getResourcesCount
public int getResourcesCount()Description copied from interface:GraphOrBuilderDictionary of resources (i.e., source texts) of the argument such as newspaper articles.
map<string, .arg_services.graph.v1.Resource> resources = 3 [json_name = "resources"];- Specified by:
getResourcesCountin interfaceGraphOrBuilder
-
containsResources
Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.
map<string, .arg_services.graph.v1.Resource> resources = 3 [json_name = "resources"];- Specified by:
containsResourcesin interfaceGraphOrBuilder
-
getResources
Deprecated.UsegetResourcesMap()instead.- Specified by:
getResourcesin interfaceGraphOrBuilder
-
getResourcesMap
Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.
map<string, .arg_services.graph.v1.Resource> resources = 3 [json_name = "resources"];- Specified by:
getResourcesMapin interfaceGraphOrBuilder
-
getResourcesOrDefault
Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.
map<string, .arg_services.graph.v1.Resource> resources = 3 [json_name = "resources"];- Specified by:
getResourcesOrDefaultin interfaceGraphOrBuilder
-
getResourcesOrThrow
Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.
map<string, .arg_services.graph.v1.Resource> resources = 3 [json_name = "resources"];- Specified by:
getResourcesOrThrowin interfaceGraphOrBuilder
-
clearResources
-
removeResources
Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.
map<string, .arg_services.graph.v1.Resource> resources = 3 [json_name = "resources"]; -
getMutableResources
Deprecated.Use alternate mutation accessors instead. -
putResources
Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.
map<string, .arg_services.graph.v1.Resource> resources = 3 [json_name = "resources"]; -
putAllResources
Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.
map<string, .arg_services.graph.v1.Resource> resources = 3 [json_name = "resources"]; -
getParticipantsCount
public int getParticipantsCount()Description copied from interface:GraphOrBuilderDictionary of participants (i.e., persons, users) that created the original argument.
map<string, .arg_services.graph.v1.Participant> participants = 4 [json_name = "participants"];- Specified by:
getParticipantsCountin interfaceGraphOrBuilder
-
containsParticipants
Dictionary of participants (i.e., persons, users) that created the original argument.
map<string, .arg_services.graph.v1.Participant> participants = 4 [json_name = "participants"];- Specified by:
containsParticipantsin interfaceGraphOrBuilder
-
getParticipants
Deprecated.UsegetParticipantsMap()instead.- Specified by:
getParticipantsin interfaceGraphOrBuilder
-
getParticipantsMap
Dictionary of participants (i.e., persons, users) that created the original argument.
map<string, .arg_services.graph.v1.Participant> participants = 4 [json_name = "participants"];- Specified by:
getParticipantsMapin interfaceGraphOrBuilder
-
getParticipantsOrDefault
Dictionary of participants (i.e., persons, users) that created the original argument.
map<string, .arg_services.graph.v1.Participant> participants = 4 [json_name = "participants"];- Specified by:
getParticipantsOrDefaultin interfaceGraphOrBuilder
-
getParticipantsOrThrow
Dictionary of participants (i.e., persons, users) that created the original argument.
map<string, .arg_services.graph.v1.Participant> participants = 4 [json_name = "participants"];- Specified by:
getParticipantsOrThrowin interfaceGraphOrBuilder
-
clearParticipants
-
removeParticipants
Dictionary of participants (i.e., persons, users) that created the original argument.
map<string, .arg_services.graph.v1.Participant> participants = 4 [json_name = "participants"]; -
getMutableParticipants
Deprecated.Use alternate mutation accessors instead. -
putParticipants
Dictionary of participants (i.e., persons, users) that created the original argument.
map<string, .arg_services.graph.v1.Participant> participants = 4 [json_name = "participants"]; -
putAllParticipants
Dictionary of participants (i.e., persons, users) that created the original argument.
map<string, .arg_services.graph.v1.Participant> participants = 4 [json_name = "participants"]; -
getAnalystsCount
public int getAnalystsCount()Description copied from interface:GraphOrBuilderDictionary of analysts/annotators that created the graph-based representation of the original argument.
map<string, .arg_services.graph.v1.Analyst> analysts = 5 [json_name = "analysts"];- Specified by:
getAnalystsCountin interfaceGraphOrBuilder
-
containsAnalysts
Dictionary of analysts/annotators that created the graph-based representation of the original argument.
map<string, .arg_services.graph.v1.Analyst> analysts = 5 [json_name = "analysts"];- Specified by:
containsAnalystsin interfaceGraphOrBuilder
-
getAnalysts
Deprecated.UsegetAnalystsMap()instead.- Specified by:
getAnalystsin interfaceGraphOrBuilder
-
getAnalystsMap
Dictionary of analysts/annotators that created the graph-based representation of the original argument.
map<string, .arg_services.graph.v1.Analyst> analysts = 5 [json_name = "analysts"];- Specified by:
getAnalystsMapin interfaceGraphOrBuilder
-
getAnalystsOrDefault
Dictionary of analysts/annotators that created the graph-based representation of the original argument.
map<string, .arg_services.graph.v1.Analyst> analysts = 5 [json_name = "analysts"];- Specified by:
getAnalystsOrDefaultin interfaceGraphOrBuilder
-
getAnalystsOrThrow
Dictionary of analysts/annotators that created the graph-based representation of the original argument.
map<string, .arg_services.graph.v1.Analyst> analysts = 5 [json_name = "analysts"];- Specified by:
getAnalystsOrThrowin interfaceGraphOrBuilder
-
clearAnalysts
-
removeAnalysts
Dictionary of analysts/annotators that created the graph-based representation of the original argument.
map<string, .arg_services.graph.v1.Analyst> analysts = 5 [json_name = "analysts"]; -
getMutableAnalysts
Deprecated.Use alternate mutation accessors instead. -
putAnalysts
Dictionary of analysts/annotators that created the graph-based representation of the original argument.
map<string, .arg_services.graph.v1.Analyst> analysts = 5 [json_name = "analysts"]; -
putAllAnalysts
Dictionary of analysts/annotators that created the graph-based representation of the original argument.
map<string, .arg_services.graph.v1.Analyst> analysts = 5 [json_name = "analysts"]; -
hasMajorClaim
public boolean hasMajorClaim()ID of the atom node being the major claim of the graph.
optional string major_claim = 6 [json_name = "majorClaim"];- Specified by:
hasMajorClaimin interfaceGraphOrBuilder- Returns:
- Whether the majorClaim field is set.
-
getMajorClaim
ID of the atom node being the major claim of the graph.
optional string major_claim = 6 [json_name = "majorClaim"];- Specified by:
getMajorClaimin interfaceGraphOrBuilder- Returns:
- The majorClaim.
-
getMajorClaimBytes
public com.google.protobuf.ByteString getMajorClaimBytes()ID of the atom node being the major claim of the graph.
optional string major_claim = 6 [json_name = "majorClaim"];- Specified by:
getMajorClaimBytesin interfaceGraphOrBuilder- Returns:
- The bytes for majorClaim.
-
setMajorClaim
ID of the atom node being the major claim of the graph.
optional string major_claim = 6 [json_name = "majorClaim"];- Parameters:
value- The majorClaim to set.- Returns:
- This builder for chaining.
-
clearMajorClaim
ID of the atom node being the major claim of the graph.
optional string major_claim = 6 [json_name = "majorClaim"];- Returns:
- This builder for chaining.
-
setMajorClaimBytes
ID of the atom node being the major claim of the graph.
optional string major_claim = 6 [json_name = "majorClaim"];- Parameters:
value- The bytes for majorClaim to set.- Returns:
- This builder for chaining.
-
getSchemaVersion
public int getSchemaVersion()Version of the protobuf schema. Should be always `1`.
uint32 schema_version = 7 [json_name = "schemaVersion"];- Specified by:
getSchemaVersionin interfaceGraphOrBuilder- Returns:
- The schemaVersion.
-
setSchemaVersion
Version of the protobuf schema. Should be always `1`.
uint32 schema_version = 7 [json_name = "schemaVersion"];- Parameters:
value- The schemaVersion to set.- Returns:
- This builder for chaining.
-
clearSchemaVersion
Version of the protobuf schema. Should be always `1`.
uint32 schema_version = 7 [json_name = "schemaVersion"];- Returns:
- This builder for chaining.
-
getLibraryVersion
Library used for serializing the graph. Should be unique accross programming languages (e.g., `arguebuf-python:1.2.0`).
string library_version = 8 [json_name = "libraryVersion"];- Specified by:
getLibraryVersionin interfaceGraphOrBuilder- Returns:
- The libraryVersion.
-
getLibraryVersionBytes
public com.google.protobuf.ByteString getLibraryVersionBytes()Library used for serializing the graph. Should be unique accross programming languages (e.g., `arguebuf-python:1.2.0`).
string library_version = 8 [json_name = "libraryVersion"];- Specified by:
getLibraryVersionBytesin interfaceGraphOrBuilder- Returns:
- The bytes for libraryVersion.
-
setLibraryVersion
Library used for serializing the graph. Should be unique accross programming languages (e.g., `arguebuf-python:1.2.0`).
string library_version = 8 [json_name = "libraryVersion"];- Parameters:
value- The libraryVersion to set.- Returns:
- This builder for chaining.
-
clearLibraryVersion
Library used for serializing the graph. Should be unique accross programming languages (e.g., `arguebuf-python:1.2.0`).
string library_version = 8 [json_name = "libraryVersion"];- Returns:
- This builder for chaining.
-
setLibraryVersionBytes
Library used for serializing the graph. Should be unique accross programming languages (e.g., `arguebuf-python:1.2.0`).
string library_version = 8 [json_name = "libraryVersion"];- Parameters:
value- The bytes for libraryVersion to set.- Returns:
- This builder for chaining.
-
hasMetadata
public boolean hasMetadata()Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];- Specified by:
hasMetadatain interfaceGraphOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];- Specified by:
getMetadatain interfaceGraphOrBuilder- Returns:
- The metadata.
-
setMetadata
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"]; -
setMetadata
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"]; -
mergeMetadata
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"]; -
clearMetadata
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"]; -
getMetadataBuilder
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"]; -
getMetadataOrBuilder
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];- Specified by:
getMetadataOrBuilderin interfaceGraphOrBuilder
-
hasUserdata
public boolean hasUserdata()Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"];- Specified by:
hasUserdatain interfaceGraphOrBuilder- Returns:
- Whether the userdata field is set.
-
getUserdata
public com.google.protobuf.Struct getUserdata()Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"];- Specified by:
getUserdatain interfaceGraphOrBuilder- Returns:
- The userdata.
-
setUserdata
Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"]; -
setUserdata
Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"]; -
mergeUserdata
Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"]; -
clearUserdata
Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"]; -
getUserdataBuilder
public com.google.protobuf.Struct.Builder getUserdataBuilder()Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"]; -
getUserdataOrBuilder
public com.google.protobuf.StructOrBuilder getUserdataOrBuilder()Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"];- Specified by:
getUserdataOrBuilderin interfaceGraphOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
-