Class Graph.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
de.uni_trier.recap.arg_services.graph.v1.Graph.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GraphOrBuilder, 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 Details

    • 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
    • clone

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

      public Graph.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
    • clearField

      public Graph.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
    • clearOneof

      public Graph.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
    • setRepeatedField

      public Graph.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Graph.Builder>
    • addRepeatedField

      public Graph.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Graph.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>
    • mergeFrom

      public Graph.Builder mergeFrom(Graph other)
    • 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 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:
      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(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
    • getNodes

      @Deprecated public Map<String,Node> getNodes()
      Deprecated.
      Use getNodesMap() instead.
      Specified by:
      getNodes in interface GraphOrBuilder
    • getNodesMap

      public Map<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(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(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
    • clearNodes

      public Graph.Builder clearNodes()
    • removeNodes

      public Graph.Builder removeNodes(String key)
       Dictionary of atom/scheme nodes.
       
      map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];
    • getMutableNodes

      @Deprecated public Map<String,Node> getMutableNodes()
      Deprecated.
      Use alternate mutation accessors instead.
    • putNodes

      public Graph.Builder putNodes(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(Map<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(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
    • getEdges

      @Deprecated public Map<String,Edge> getEdges()
      Deprecated.
      Use getEdgesMap() instead.
      Specified by:
      getEdges in interface GraphOrBuilder
    • getEdgesMap

      public Map<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(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(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
    • clearEdges

      public Graph.Builder clearEdges()
    • removeEdges

      public Graph.Builder removeEdges(String key)
       Dictionary of edges connecting nodes.
       
      map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];
    • getMutableEdges

      @Deprecated public Map<String,Edge> getMutableEdges()
      Deprecated.
      Use alternate mutation accessors instead.
    • putEdges

      public Graph.Builder putEdges(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(Map<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(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
    • getResources

      @Deprecated public Map<String,Resource> getResources()
      Deprecated.
      Use getResourcesMap() instead.
      Specified by:
      getResources in interface GraphOrBuilder
    • getResourcesMap

      public Map<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(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(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
    • clearResources

      public Graph.Builder clearResources()
    • removeResources

      public Graph.Builder removeResources(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 Map<String,Resource> getMutableResources()
      Deprecated.
      Use alternate mutation accessors instead.
    • putResources

      public Graph.Builder putResources(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(Map<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(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
    • getParticipants

      @Deprecated public Map<String,Participant> getParticipants()
      Deprecated.
      Specified by:
      getParticipants in interface GraphOrBuilder
    • getParticipantsMap

      public 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"];
      Specified by:
      getParticipantsMap in interface GraphOrBuilder
    • getParticipantsOrDefault

      public Participant getParticipantsOrDefault(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(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
    • clearParticipants

      public Graph.Builder clearParticipants()
    • removeParticipants

      public Graph.Builder removeParticipants(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 Map<String,Participant> getMutableParticipants()
      Deprecated.
      Use alternate mutation accessors instead.
    • putParticipants

      public Graph.Builder putParticipants(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(Map<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(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
    • getAnalysts

      @Deprecated public Map<String,Analyst> getAnalysts()
      Deprecated.
      Use getAnalystsMap() instead.
      Specified by:
      getAnalysts in interface GraphOrBuilder
    • getAnalystsMap

      public Map<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(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(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
    • clearAnalysts

      public Graph.Builder clearAnalysts()
    • removeAnalysts

      public Graph.Builder removeAnalysts(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 Map<String,Analyst> getMutableAnalysts()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAnalysts

      public Graph.Builder putAnalysts(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(Map<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 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(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 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(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"];
    • getMetadataOrBuilder

      public MetadataOrBuilder getMetadataOrBuilder()
       Store programmatic data like creation times.
       
      .arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];
      Specified by:
      getMetadataOrBuilder in interface GraphOrBuilder
    • 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>