Class 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 type arg_services.graph.v1.Graph
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Graph.Builder
      Main 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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsAnalysts​(java.lang.String key)
      Dictionary of analysts/annotators that created the graph-based representation of the original argument.
      boolean containsEdges​(java.lang.String key)
      Dictionary of edges connecting nodes.
      boolean containsNodes​(java.lang.String key)
      Dictionary of atom/scheme nodes.
      boolean containsParticipants​(java.lang.String key)
      Dictionary of participants (i.e., persons, users) that created the original argument.
      boolean containsResources​(java.lang.String key)
      Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.
      boolean equals​(java.lang.Object obj)  
      java.util.Map<java.lang.String,​Analyst> getAnalysts()
      Deprecated.
      int getAnalystsCount()
      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.
      Analyst getAnalystsOrDefault​(java.lang.String key, Analyst defaultValue)
      Dictionary of analysts/annotators that created the graph-based representation of the original argument.
      Analyst getAnalystsOrThrow​(java.lang.String key)
      Dictionary of analysts/annotators that created the graph-based representation of the original argument.
      static Graph getDefaultInstance()  
      Graph getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      java.util.Map<java.lang.String,​Edge> getEdges()
      Deprecated.
      int getEdgesCount()
      Dictionary of edges connecting nodes.
      java.util.Map<java.lang.String,​Edge> getEdgesMap()
      Dictionary of edges connecting nodes.
      Edge getEdgesOrDefault​(java.lang.String key, Edge defaultValue)
      Dictionary of edges connecting nodes.
      Edge getEdgesOrThrow​(java.lang.String key)
      Dictionary of edges connecting nodes.
      java.lang.String getLibraryVersion()
      Library used for serializing the graph.
      com.google.protobuf.ByteString getLibraryVersionBytes()
      Library used for serializing the graph.
      java.lang.String getMajorClaim()
      ID of the atom node being the major claim of the graph.
      com.google.protobuf.ByteString getMajorClaimBytes()
      ID of the atom node being the major claim of the graph.
      Metadata getMetadata()
      Store programmatic data like creation times.
      MetadataOrBuilder getMetadataOrBuilder()
      Store programmatic data like creation times.
      java.util.Map<java.lang.String,​Node> getNodes()
      Deprecated.
      int getNodesCount()
      Dictionary of atom/scheme nodes.
      java.util.Map<java.lang.String,​Node> getNodesMap()
      Dictionary of atom/scheme nodes.
      Node getNodesOrDefault​(java.lang.String key, Node defaultValue)
      Dictionary of atom/scheme nodes.
      Node getNodesOrThrow​(java.lang.String key)
      Dictionary of atom/scheme nodes.
      com.google.protobuf.Parser<Graph> getParserForType()  
      java.util.Map<java.lang.String,​Participant> getParticipants()
      Deprecated.
      int getParticipantsCount()
      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.
      Participant getParticipantsOrDefault​(java.lang.String key, Participant defaultValue)
      Dictionary of participants (i.e., persons, users) that created the original argument.
      Participant getParticipantsOrThrow​(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.
      int getResourcesCount()
      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.
      Resource getResourcesOrDefault​(java.lang.String key, Resource defaultValue)
      Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.
      Resource getResourcesOrThrow​(java.lang.String key)
      Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.
      int getSchemaVersion()
      Version of the protobuf schema.
      int getSerializedSize()  
      com.google.protobuf.Struct getUserdata()
      Store arbitrary data as needed by a user.
      com.google.protobuf.StructOrBuilder getUserdataOrBuilder()
      Store arbitrary data as needed by a user.
      int hashCode()  
      boolean hasMajorClaim()
      ID of the atom node being the major claim of the graph.
      boolean hasMetadata()
      Store programmatic data like creation times.
      boolean hasUserdata()
      Store arbitrary data as needed by a user.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      protected com.google.protobuf.MapField internalGetMapField​(int number)  
      boolean isInitialized()  
      static Graph.Builder newBuilder()  
      static Graph.Builder newBuilder​(Graph prototype)  
      Graph.Builder newBuilderForType()  
      protected Graph.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static Graph parseDelimitedFrom​(java.io.InputStream input)  
      static Graph parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Graph parseFrom​(byte[] data)  
      static Graph parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Graph parseFrom​(com.google.protobuf.ByteString data)  
      static Graph parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Graph parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Graph parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Graph parseFrom​(java.io.InputStream input)  
      static Graph parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Graph parseFrom​(java.nio.ByteBuffer data)  
      static Graph parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Graph> parser()  
      Graph.Builder toBuilder()  
      void writeTo​(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
      • Methods inherited from interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getNodesCount

        public int getNodesCount()
        Description copied from interface: GraphOrBuilder
         Dictionary of atom/scheme nodes.
         
        map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];
        Specified by:
        getNodesCount in interface GraphOrBuilder
      • 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:
        containsNodes in interface GraphOrBuilder
      • 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:
        getNodesMap in interface GraphOrBuilder
      • 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:
        getNodesOrDefault in interface GraphOrBuilder
      • 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:
        getNodesOrThrow in interface GraphOrBuilder
      • getEdgesCount

        public int getEdgesCount()
        Description copied from interface: GraphOrBuilder
         Dictionary of edges connecting nodes.
         
        map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];
        Specified by:
        getEdgesCount in interface GraphOrBuilder
      • 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:
        containsEdges in interface GraphOrBuilder
      • 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:
        getEdgesMap in interface GraphOrBuilder
      • 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:
        getEdgesOrDefault in interface GraphOrBuilder
      • 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:
        getEdgesOrThrow in interface GraphOrBuilder
      • getResourcesCount

        public int getResourcesCount()
        Description copied from interface: GraphOrBuilder
         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:
        getResourcesCount in interface GraphOrBuilder
      • 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:
        containsResources in interface GraphOrBuilder
      • 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:
        getResourcesMap in interface GraphOrBuilder
      • 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:
        getResourcesOrDefault in interface GraphOrBuilder
      • 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:
        getResourcesOrThrow in interface GraphOrBuilder
      • getParticipantsCount

        public int getParticipantsCount()
        Description copied from interface: GraphOrBuilder
         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:
        getParticipantsCount in interface GraphOrBuilder
      • 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:
        containsParticipants in interface GraphOrBuilder
      • 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:
        getParticipantsMap in interface GraphOrBuilder
      • 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:
        getParticipantsOrDefault in interface GraphOrBuilder
      • 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:
        getParticipantsOrThrow in interface GraphOrBuilder
      • getAnalystsCount

        public int getAnalystsCount()
        Description copied from interface: GraphOrBuilder
         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:
        getAnalystsCount in interface GraphOrBuilder
      • 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:
        containsAnalysts in interface GraphOrBuilder
      • 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:
        getAnalystsMap in interface GraphOrBuilder
      • 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:
        getAnalystsOrDefault in interface GraphOrBuilder
      • 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:
        getAnalystsOrThrow in interface GraphOrBuilder
      • 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:
        hasMajorClaim in interface GraphOrBuilder
        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:
        getMajorClaim in interface GraphOrBuilder
        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:
        getMajorClaimBytes in interface GraphOrBuilder
        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:
        getSchemaVersion in interface GraphOrBuilder
        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:
        getLibraryVersion in interface GraphOrBuilder
        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:
        getLibraryVersionBytes in interface GraphOrBuilder
        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:
        hasMetadata in interface GraphOrBuilder
        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:
        getMetadata in interface GraphOrBuilder
        Returns:
        The metadata.
      • 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:
        hasUserdata in interface GraphOrBuilder
        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:
        getUserdata in interface GraphOrBuilder
        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:
        getUserdataOrBuilder in interface GraphOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Graph.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Graph.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.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:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Graph getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder