Class Graph
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- de.uni_trier.recap.arg_services.graph.v1.Graph
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GraphOrBuilder,java.io.Serializable
public final class Graph extends com.google.protobuf.GeneratedMessageV3 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- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGraph.BuilderMain message to store the argument graph.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intANALYSTS_FIELD_NUMBERstatic intEDGES_FIELD_NUMBERstatic intLIBRARY_VERSION_FIELD_NUMBERstatic intMAJOR_CLAIM_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intNODES_FIELD_NUMBERstatic intPARTICIPANTS_FIELD_NUMBERstatic intRESOURCES_FIELD_NUMBERstatic intSCHEMA_VERSION_FIELD_NUMBERstatic intUSERDATA_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete 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.booleanequals(java.lang.Object obj)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.static GraphgetDefaultInstance()GraphgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<Graph>getParserForType()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.intgetSerializedSize()com.google.protobuf.StructgetUserdata()Store arbitrary data as needed by a user.com.google.protobuf.StructOrBuildergetUserdataOrBuilder()Store arbitrary data as needed by a user.inthashCode()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)booleanisInitialized()static Graph.BuildernewBuilder()static Graph.BuildernewBuilder(Graph prototype)Graph.BuildernewBuilderForType()protected Graph.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GraphparseDelimitedFrom(java.io.InputStream input)static GraphparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GraphparseFrom(byte[] data)static GraphparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GraphparseFrom(com.google.protobuf.ByteString data)static GraphparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GraphparseFrom(com.google.protobuf.CodedInputStream input)static GraphparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GraphparseFrom(java.io.InputStream input)static GraphparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GraphparseFrom(java.nio.ByteBuffer data)static GraphparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Graph>parser()Graph.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NODES_FIELD_NUMBER
public static final int NODES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EDGES_FIELD_NUMBER
public static final int EDGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTICIPANTS_FIELD_NUMBER
public static final int PARTICIPANTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANALYSTS_FIELD_NUMBER
public static final int ANALYSTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAJOR_CLAIM_FIELD_NUMBER
public static final int MAJOR_CLAIM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEMA_VERSION_FIELD_NUMBER
public static final int SCHEMA_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIBRARY_VERSION_FIELD_NUMBER
public static final int LIBRARY_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USERDATA_FIELD_NUMBER
public static final int USERDATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Graph parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Graph parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Graph parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Graph parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Graph parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Graph parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Graph parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Graph parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Graph parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Graph parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Graph parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Graph parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Graph.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Graph.Builder newBuilder()
-
newBuilder
public static Graph.Builder newBuilder(Graph prototype)
-
toBuilder
public Graph.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Graph.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Graph getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Graph> parser()
-
getParserForType
public com.google.protobuf.Parser<Graph> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Graph getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-