Class 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 type arg_services.graph.v1.Graph
    • Method Detail

      • 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.Builder<Graph.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
      • clear

        public Graph.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
      • getDefaultInstanceForType

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

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

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

        public Graph.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Graph.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Graph.Builder>
        Throws:
        java.io.IOException
      • 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
      • 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: 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
      • 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: 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
      • 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: 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
      • 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: 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
      • 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:
        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.
      • 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:
        getSchemaVersion in interface GraphOrBuilder
        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:
        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.
      • 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:
        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.
      • 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"];
      • 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.
      • 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:
        getUserdataOrBuilder in interface GraphOrBuilder
      • setUnknownFields

        public final Graph.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
      • mergeUnknownFields

        public final Graph.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>