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
Modifier and TypeMethodDescriptionbooleancontainsAnalysts(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.getEdges()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.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.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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getNodesCount
int getNodesCount()Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"]; -
containsNodes
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"]; -
getNodes
Deprecated.UsegetNodesMap()instead. -
getNodesMap
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"]; -
getNodesOrDefault
Dictionary of atom/scheme nodes.
map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"]; -
getNodesOrThrow
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
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"]; -
getEdges
Deprecated.UsegetEdgesMap()instead. -
getEdgesMap
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"]; -
getEdgesOrDefault
Dictionary of edges connecting nodes.
map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"]; -
getEdgesOrThrow
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
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.UsegetResourcesMap()instead. -
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
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
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
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.UsegetParticipantsMap()instead. -
getParticipantsMap
Map<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
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
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
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.UsegetAnalystsMap()instead. -
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
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
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
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
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"];
-