Class Graph.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.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 typearg_services.graph.v1.Graph
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Graphbuild()GraphbuildPartial()Graph.Builderclear()Graph.BuilderclearAnalysts()Graph.BuilderclearEdges()Graph.BuilderclearLibraryVersion()Library used for serializing the graph.Graph.BuilderclearMajorClaim()ID of the atom node being the major claim of the graph.Graph.BuilderclearMetadata()Store programmatic data like creation times.Graph.BuilderclearNodes()Graph.BuilderclearParticipants()Graph.BuilderclearResources()Graph.BuilderclearSchemaVersion()Version of the protobuf schema.Graph.BuilderclearUserdata()Store arbitrary data as needed by a user.booleancontainsAnalysts(java.lang.String key)Dictionary of analysts/annotators that created the graph-based representation of the original argument.booleancontainsEdges(java.lang.String key)Dictionary of edges connecting nodes.booleancontainsNodes(java.lang.String key)Dictionary of atom/scheme nodes.booleancontainsParticipants(java.lang.String key)Dictionary of participants (i.e., persons, users) that created the original argument.booleancontainsResources(java.lang.String key)Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.java.util.Map<java.lang.String,Analyst>getAnalysts()Deprecated.intgetAnalystsCount()Dictionary of analysts/annotators that created the graph-based representation of the original argument.java.util.Map<java.lang.String,Analyst>getAnalystsMap()Dictionary of analysts/annotators that created the graph-based representation of the original argument.AnalystgetAnalystsOrDefault(java.lang.String key, Analyst defaultValue)Dictionary of analysts/annotators that created the graph-based representation of the original argument.AnalystgetAnalystsOrThrow(java.lang.String key)Dictionary of analysts/annotators that created the graph-based representation of the original argument.GraphgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.util.Map<java.lang.String,Edge>getEdges()Deprecated.intgetEdgesCount()Dictionary of edges connecting nodes.java.util.Map<java.lang.String,Edge>getEdgesMap()Dictionary of edges connecting nodes.EdgegetEdgesOrDefault(java.lang.String key, Edge defaultValue)Dictionary of edges connecting nodes.EdgegetEdgesOrThrow(java.lang.String key)Dictionary of edges connecting nodes.java.lang.StringgetLibraryVersion()Library used for serializing the graph.com.google.protobuf.ByteStringgetLibraryVersionBytes()Library used for serializing the graph.java.lang.StringgetMajorClaim()ID of the atom node being the major claim of the graph.com.google.protobuf.ByteStringgetMajorClaimBytes()ID of the atom node being the major claim of the graph.MetadatagetMetadata()Store programmatic data like creation times.Metadata.BuildergetMetadataBuilder()Store programmatic data like creation times.MetadataOrBuildergetMetadataOrBuilder()Store programmatic data like creation times.java.util.Map<java.lang.String,Analyst>getMutableAnalysts()Deprecated.java.util.Map<java.lang.String,Edge>getMutableEdges()Deprecated.java.util.Map<java.lang.String,Node>getMutableNodes()Deprecated.java.util.Map<java.lang.String,Participant>getMutableParticipants()Deprecated.java.util.Map<java.lang.String,Resource>getMutableResources()Deprecated.java.util.Map<java.lang.String,Node>getNodes()Deprecated.intgetNodesCount()Dictionary of atom/scheme nodes.java.util.Map<java.lang.String,Node>getNodesMap()Dictionary of atom/scheme nodes.NodegetNodesOrDefault(java.lang.String key, Node defaultValue)Dictionary of atom/scheme nodes.NodegetNodesOrThrow(java.lang.String key)Dictionary of atom/scheme nodes.java.util.Map<java.lang.String,Participant>getParticipants()Deprecated.intgetParticipantsCount()Dictionary of participants (i.e., persons, users) that created the original argument.java.util.Map<java.lang.String,Participant>getParticipantsMap()Dictionary of participants (i.e., persons, users) that created the original argument.ParticipantgetParticipantsOrDefault(java.lang.String key, Participant defaultValue)Dictionary of participants (i.e., persons, users) that created the original argument.ParticipantgetParticipantsOrThrow(java.lang.String key)Dictionary of participants (i.e., persons, users) that created the original argument.java.util.Map<java.lang.String,Resource>getResources()Deprecated.intgetResourcesCount()Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.java.util.Map<java.lang.String,Resource>getResourcesMap()Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.ResourcegetResourcesOrDefault(java.lang.String key, Resource defaultValue)Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.ResourcegetResourcesOrThrow(java.lang.String key)Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.intgetSchemaVersion()Version of the protobuf schema.com.google.protobuf.StructgetUserdata()Store arbitrary data as needed by a user.com.google.protobuf.Struct.BuildergetUserdataBuilder()Store arbitrary data as needed by a user.com.google.protobuf.StructOrBuildergetUserdataOrBuilder()Store arbitrary data as needed by a user.booleanhasMajorClaim()ID of the atom node being the major claim of the graph.booleanhasMetadata()Store programmatic data like creation times.booleanhasUserdata()Store arbitrary data as needed by a user.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Graph.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Graph.BuildermergeFrom(com.google.protobuf.Message other)Graph.BuildermergeFrom(Graph other)Graph.BuildermergeMetadata(Metadata value)Store programmatic data like creation times.Graph.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Graph.BuildermergeUserdata(com.google.protobuf.Struct value)Store arbitrary data as needed by a user.Graph.BuilderputAllAnalysts(java.util.Map<java.lang.String,Analyst> values)Dictionary of analysts/annotators that created the graph-based representation of the original argument.Graph.BuilderputAllEdges(java.util.Map<java.lang.String,Edge> values)Dictionary of edges connecting nodes.Graph.BuilderputAllNodes(java.util.Map<java.lang.String,Node> values)Dictionary of atom/scheme nodes.Graph.BuilderputAllParticipants(java.util.Map<java.lang.String,Participant> values)Dictionary of participants (i.e., persons, users) that created the original argument.Graph.BuilderputAllResources(java.util.Map<java.lang.String,Resource> values)Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.Graph.BuilderputAnalysts(java.lang.String key, Analyst value)Dictionary of analysts/annotators that created the graph-based representation of the original argument.Graph.BuilderputEdges(java.lang.String key, Edge value)Dictionary of edges connecting nodes.Graph.BuilderputNodes(java.lang.String key, Node value)Dictionary of atom/scheme nodes.Graph.BuilderputParticipants(java.lang.String key, Participant value)Dictionary of participants (i.e., persons, users) that created the original argument.Graph.BuilderputResources(java.lang.String key, Resource value)Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.Graph.BuilderremoveAnalysts(java.lang.String key)Dictionary of analysts/annotators that created the graph-based representation of the original argument.Graph.BuilderremoveEdges(java.lang.String key)Dictionary of edges connecting nodes.Graph.BuilderremoveNodes(java.lang.String key)Dictionary of atom/scheme nodes.Graph.BuilderremoveParticipants(java.lang.String key)Dictionary of participants (i.e., persons, users) that created the original argument.Graph.BuilderremoveResources(java.lang.String key)Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.Graph.BuildersetLibraryVersion(java.lang.String value)Library used for serializing the graph.Graph.BuildersetLibraryVersionBytes(com.google.protobuf.ByteString value)Library used for serializing the graph.Graph.BuildersetMajorClaim(java.lang.String value)ID of the atom node being the major claim of the graph.Graph.BuildersetMajorClaimBytes(com.google.protobuf.ByteString value)ID of the atom node being the major claim of the graph.Graph.BuildersetMetadata(Metadata value)Store programmatic data like creation times.Graph.BuildersetMetadata(Metadata.Builder builderForValue)Store programmatic data like creation times.Graph.BuildersetSchemaVersion(int value)Version of the protobuf schema.Graph.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Graph.BuildersetUserdata(com.google.protobuf.Struct value)Store arbitrary data as needed by a user.Graph.BuildersetUserdata(com.google.protobuf.Struct.Builder builderForValue)Store arbitrary data as needed by a user.-
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, 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()
-
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
public 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
public Graph getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Graph build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Graph buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Graph.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Graph.Builder>
-
mergeFrom
public Graph.Builder mergeFrom(Graph other)
-
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 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<Graph.Builder>- Throws:
java.io.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
public boolean containsNodes(java.lang.String key)
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];- Specified by:
containsNodesin interfaceGraphOrBuilder
-
getNodes
@Deprecated public java.util.Map<java.lang.String,Node> getNodes()
Deprecated.UsegetNodesMap()instead.- Specified by:
getNodesin interfaceGraphOrBuilder
-
getNodesMap
public java.util.Map<java.lang.String,Node> getNodesMap()
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];- Specified by:
getNodesMapin interfaceGraphOrBuilder
-
getNodesOrDefault
public Node getNodesOrDefault(java.lang.String key, Node defaultValue)
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];- Specified by:
getNodesOrDefaultin interfaceGraphOrBuilder
-
getNodesOrThrow
public Node getNodesOrThrow(java.lang.String key)
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];- Specified by:
getNodesOrThrowin interfaceGraphOrBuilder
-
clearNodes
public Graph.Builder clearNodes()
-
removeNodes
public Graph.Builder removeNodes(java.lang.String key)
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];
-
getMutableNodes
@Deprecated public java.util.Map<java.lang.String,Node> getMutableNodes()
Deprecated.Use alternate mutation accessors instead.
-
putNodes
public Graph.Builder putNodes(java.lang.String key, Node value)
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];
-
putAllNodes
public Graph.Builder putAllNodes(java.util.Map<java.lang.String,Node> values)
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
public boolean containsEdges(java.lang.String key)
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];- Specified by:
containsEdgesin interfaceGraphOrBuilder
-
getEdges
@Deprecated public java.util.Map<java.lang.String,Edge> getEdges()
Deprecated.UsegetEdgesMap()instead.- Specified by:
getEdgesin interfaceGraphOrBuilder
-
getEdgesMap
public java.util.Map<java.lang.String,Edge> getEdgesMap()
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];- Specified by:
getEdgesMapin interfaceGraphOrBuilder
-
getEdgesOrDefault
public Edge getEdgesOrDefault(java.lang.String key, Edge defaultValue)
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];- Specified by:
getEdgesOrDefaultin interfaceGraphOrBuilder
-
getEdgesOrThrow
public Edge getEdgesOrThrow(java.lang.String key)
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];- Specified by:
getEdgesOrThrowin interfaceGraphOrBuilder
-
clearEdges
public Graph.Builder clearEdges()
-
removeEdges
public Graph.Builder removeEdges(java.lang.String key)
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];
-
getMutableEdges
@Deprecated public java.util.Map<java.lang.String,Edge> getMutableEdges()
Deprecated.Use alternate mutation accessors instead.
-
putEdges
public Graph.Builder putEdges(java.lang.String key, Edge value)
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];
-
putAllEdges
public Graph.Builder putAllEdges(java.util.Map<java.lang.String,Edge> values)
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
public boolean containsResources(java.lang.String key)
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 public java.util.Map<java.lang.String,Resource> getResources()
Deprecated.UsegetResourcesMap()instead.- Specified by:
getResourcesin interfaceGraphOrBuilder
-
getResourcesMap
public java.util.Map<java.lang.String,Resource> 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
public Resource getResourcesOrDefault(java.lang.String key, Resource defaultValue)
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
public Resource getResourcesOrThrow(java.lang.String key)
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
public Graph.Builder clearResources()
-
removeResources
public Graph.Builder removeResources(java.lang.String key)
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 public java.util.Map<java.lang.String,Resource> getMutableResources()
Deprecated.Use alternate mutation accessors instead.
-
putResources
public Graph.Builder putResources(java.lang.String key, Resource value)
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
public Graph.Builder putAllResources(java.util.Map<java.lang.String,Resource> values)
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
public boolean containsParticipants(java.lang.String key)
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 public java.util.Map<java.lang.String,Participant> getParticipants()
Deprecated.UsegetParticipantsMap()instead.- Specified by:
getParticipantsin interfaceGraphOrBuilder
-
getParticipantsMap
public java.util.Map<java.lang.String,Participant> 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
public Participant getParticipantsOrDefault(java.lang.String key, Participant defaultValue)
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
public Participant getParticipantsOrThrow(java.lang.String key)
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
public Graph.Builder clearParticipants()
-
removeParticipants
public Graph.Builder removeParticipants(java.lang.String key)
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 public java.util.Map<java.lang.String,Participant> getMutableParticipants()
Deprecated.Use alternate mutation accessors instead.
-
putParticipants
public Graph.Builder putParticipants(java.lang.String key, Participant value)
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
public Graph.Builder putAllParticipants(java.util.Map<java.lang.String,Participant> values)
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
public boolean containsAnalysts(java.lang.String key)
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 public java.util.Map<java.lang.String,Analyst> getAnalysts()
Deprecated.UsegetAnalystsMap()instead.- Specified by:
getAnalystsin interfaceGraphOrBuilder
-
getAnalystsMap
public java.util.Map<java.lang.String,Analyst> 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
public Analyst getAnalystsOrDefault(java.lang.String key, Analyst defaultValue)
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
public Analyst getAnalystsOrThrow(java.lang.String key)
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
public Graph.Builder clearAnalysts()
-
removeAnalysts
public Graph.Builder removeAnalysts(java.lang.String key)
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 public java.util.Map<java.lang.String,Analyst> getMutableAnalysts()
Deprecated.Use alternate mutation accessors instead.
-
putAnalysts
public Graph.Builder putAnalysts(java.lang.String key, Analyst value)
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
public Graph.Builder putAllAnalysts(java.util.Map<java.lang.String,Analyst> values)
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
public java.lang.String 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
public Graph.Builder setMajorClaim(java.lang.String value)
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
public Graph.Builder 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
public Graph.Builder setMajorClaimBytes(com.google.protobuf.ByteString value)
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
public Graph.Builder setSchemaVersion(int value)
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
public Graph.Builder clearSchemaVersion()
Version of the protobuf schema. Should be always `1`.
uint32 schema_version = 7 [json_name = "schemaVersion"];- Returns:
- This builder for chaining.
-
getLibraryVersion
public java.lang.String 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
public Graph.Builder setLibraryVersion(java.lang.String value)
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
public Graph.Builder 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
public Graph.Builder setLibraryVersionBytes(com.google.protobuf.ByteString value)
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
public Metadata 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
public Graph.Builder setMetadata(Metadata value)
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];
-
setMetadata
public Graph.Builder setMetadata(Metadata.Builder builderForValue)
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];
-
mergeMetadata
public Graph.Builder mergeMetadata(Metadata value)
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];
-
clearMetadata
public Graph.Builder clearMetadata()
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];
-
getMetadataBuilder
public Metadata.Builder getMetadataBuilder()
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];
-
getMetadataOrBuilder
public MetadataOrBuilder 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
public Graph.Builder setUserdata(com.google.protobuf.Struct value)
Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"];
-
setUserdata
public Graph.Builder setUserdata(com.google.protobuf.Struct.Builder builderForValue)
Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"];
-
mergeUserdata
public Graph.Builder mergeUserdata(com.google.protobuf.Struct value)
Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"];
-
clearUserdata
public Graph.Builder 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
public final Graph.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
-
mergeUnknownFields
public final Graph.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
-
-