Interface GraphOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Graph,Graph.Builder
public interface GraphOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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.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.MetadataOrBuildergetMetadataOrBuilder()Store programmatic data like creation times.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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNodesCount
int getNodesCount()
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];
-
containsNodes
boolean containsNodes(java.lang.String key)
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];
-
getNodes
@Deprecated java.util.Map<java.lang.String,Node> getNodes()
Deprecated.UsegetNodesMap()instead.
-
getNodesMap
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"];
-
getNodesOrDefault
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"];
-
getNodesOrThrow
Node getNodesOrThrow(java.lang.String key)
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];
-
getEdgesCount
int getEdgesCount()
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];
-
containsEdges
boolean containsEdges(java.lang.String key)
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];
-
getEdges
@Deprecated java.util.Map<java.lang.String,Edge> getEdges()
Deprecated.UsegetEdgesMap()instead.
-
getEdgesMap
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"];
-
getEdgesOrDefault
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"];
-
getEdgesOrThrow
Edge getEdgesOrThrow(java.lang.String key)
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];
-
getResourcesCount
int getResourcesCount()
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"];
-
containsResources
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"];
-
getResources
@Deprecated java.util.Map<java.lang.String,Resource> getResources()
Deprecated.UsegetResourcesMap()instead.
-
getResourcesMap
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"];
-
getResourcesOrDefault
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"];
-
getResourcesOrThrow
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"];
-
getParticipantsCount
int getParticipantsCount()
Dictionary of participants (i.e., persons, users) that created the original argument.
map<string, .arg_services.graph.v1.Participant> participants = 4 [json_name = "participants"];
-
containsParticipants
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"];
-
getParticipants
@Deprecated java.util.Map<java.lang.String,Participant> getParticipants()
Deprecated.UsegetParticipantsMap()instead.
-
getParticipantsMap
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"];
-
getParticipantsOrDefault
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"];
-
getParticipantsOrThrow
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"];
-
getAnalystsCount
int getAnalystsCount()
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"];
-
containsAnalysts
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"];
-
getAnalysts
@Deprecated java.util.Map<java.lang.String,Analyst> getAnalysts()
Deprecated.UsegetAnalystsMap()instead.
-
getAnalystsMap
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"];
-
getAnalystsOrDefault
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"];
-
getAnalystsOrThrow
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"];
-
hasMajorClaim
boolean hasMajorClaim()
ID of the atom node being the major claim of the graph.
optional string major_claim = 6 [json_name = "majorClaim"];- Returns:
- Whether the majorClaim field is set.
-
getMajorClaim
java.lang.String getMajorClaim()
ID of the atom node being the major claim of the graph.
optional string major_claim = 6 [json_name = "majorClaim"];- Returns:
- The majorClaim.
-
getMajorClaimBytes
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"];- Returns:
- The bytes for majorClaim.
-
getSchemaVersion
int getSchemaVersion()
Version of the protobuf schema. Should be always `1`.
uint32 schema_version = 7 [json_name = "schemaVersion"];- Returns:
- The schemaVersion.
-
getLibraryVersion
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"];- Returns:
- The libraryVersion.
-
getLibraryVersionBytes
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"];- Returns:
- The bytes for libraryVersion.
-
hasMetadata
boolean hasMetadata()
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];- Returns:
- Whether the metadata field is set.
-
getMetadata
Metadata getMetadata()
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];- Returns:
- The metadata.
-
getMetadataOrBuilder
MetadataOrBuilder getMetadataOrBuilder()
Store programmatic data like creation times.
.arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];
-
hasUserdata
boolean hasUserdata()
Store arbitrary data as needed by a user. May contain all valid JSON values.
.google.protobuf.Struct userdata = 15 [json_name = "userdata"];- Returns:
- Whether the userdata field is set.
-
getUserdata
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"];- Returns:
- The userdata.
-
getUserdataOrBuilder
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"];
-
-