Interface GraphOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Graph, Graph.Builder

    public interface GraphOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract 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.
      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.
      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.
      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.
      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.
      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.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

      • getNodesCount

        int getNodesCount()
         Dictionary of atom/scheme nodes.
         
        map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];
      • containsNodes

        boolean containsNodes​(java.lang.String key)
         Dictionary of atom/scheme nodes.
         
        map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];
      • getNodes

        @Deprecated
        java.util.Map<java.lang.String,​Node> getNodes()
        Deprecated.
        Use getNodesMap() instead.
      • getNodesMap

        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"];
      • getNodesOrDefault

        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"];
      • getNodesOrThrow

        Node getNodesOrThrow​(java.lang.String key)
         Dictionary of atom/scheme nodes.
         
        map<string, .arg_services.graph.v1.Node> nodes = 1 [json_name = "nodes"];
      • getEdgesCount

        int getEdgesCount()
         Dictionary of edges connecting nodes.
         
        map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];
      • containsEdges

        boolean containsEdges​(java.lang.String key)
         Dictionary of edges connecting nodes.
         
        map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];
      • getEdges

        @Deprecated
        java.util.Map<java.lang.String,​Edge> getEdges()
        Deprecated.
        Use getEdgesMap() instead.
      • getEdgesMap

        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"];
      • getEdgesOrDefault

        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"];
      • getEdgesOrThrow

        Edge getEdgesOrThrow​(java.lang.String key)
         Dictionary of edges connecting nodes.
         
        map<string, .arg_services.graph.v1.Edge> edges = 2 [json_name = "edges"];
      • getResourcesCount

        int getResourcesCount()
         Dictionary of resources (i.e., source texts) of the argument such as newspaper articles.
         
        map<string, .arg_services.graph.v1.Resource> resources = 3 [json_name = "resources"];
      • containsResources

        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"];
      • getResources

        @Deprecated
        java.util.Map<java.lang.String,​Resource> getResources()
        Deprecated.
        Use getResourcesMap() instead.
      • getResourcesMap

        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"];
      • getResourcesOrDefault

        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"];
      • getResourcesOrThrow

        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"];
      • getParticipantsCount

        int getParticipantsCount()
         Dictionary of participants (i.e., persons, users) that created the original argument.
         
        map<string, .arg_services.graph.v1.Participant> participants = 4 [json_name = "participants"];
      • containsParticipants

        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"];
      • getParticipantsMap

        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"];
      • getParticipantsOrDefault

        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"];
      • getParticipantsOrThrow

        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"];
      • getAnalystsCount

        int getAnalystsCount()
         Dictionary of analysts/annotators that created the graph-based representation of the original argument.
         
        map<string, .arg_services.graph.v1.Analyst> analysts = 5 [json_name = "analysts"];
      • containsAnalysts

        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"];
      • getAnalysts

        @Deprecated
        java.util.Map<java.lang.String,​Analyst> getAnalysts()
        Deprecated.
        Use getAnalystsMap() instead.
      • getAnalystsMap

        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"];
      • getAnalystsOrDefault

        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"];
      • getAnalystsOrThrow

        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"];
      • hasMajorClaim

        boolean hasMajorClaim()
         ID of the atom node being the major claim of the graph.
         
        optional string major_claim = 6 [json_name = "majorClaim"];
        Returns:
        Whether the majorClaim field is set.
      • getMajorClaim

        java.lang.String getMajorClaim()
         ID of the atom node being the major claim of the graph.
         
        optional string major_claim = 6 [json_name = "majorClaim"];
        Returns:
        The majorClaim.
      • getMajorClaimBytes

        com.google.protobuf.ByteString getMajorClaimBytes()
         ID of the atom node being the major claim of the graph.
         
        optional string major_claim = 6 [json_name = "majorClaim"];
        Returns:
        The bytes for majorClaim.
      • getSchemaVersion

        int getSchemaVersion()
         Version of the protobuf schema. Should be always `1`.
         
        uint32 schema_version = 7 [json_name = "schemaVersion"];
        Returns:
        The schemaVersion.
      • getLibraryVersion

        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"];
        Returns:
        The libraryVersion.
      • getLibraryVersionBytes

        com.google.protobuf.ByteString getLibraryVersionBytes()
         Library used for serializing the graph.
         Should be unique accross programming languages (e.g., `arguebuf-python:1.2.0`).
         
        string library_version = 8 [json_name = "libraryVersion"];
        Returns:
        The bytes for libraryVersion.
      • hasMetadata

        boolean hasMetadata()
         Store programmatic data like creation times.
         
        .arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];
        Returns:
        Whether the metadata field is set.
      • getMetadata

        Metadata getMetadata()
         Store programmatic data like creation times.
         
        .arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];
        Returns:
        The metadata.
      • getMetadataOrBuilder

        MetadataOrBuilder getMetadataOrBuilder()
         Store programmatic data like creation times.
         
        .arg_services.graph.v1.Metadata metadata = 14 [json_name = "metadata"];
      • hasUserdata

        boolean hasUserdata()
         Store arbitrary data as needed by a user.
         May contain all valid JSON values.
         
        .google.protobuf.Struct userdata = 15 [json_name = "userdata"];
        Returns:
        Whether the userdata field is set.
      • getUserdata

        com.google.protobuf.Struct getUserdata()
         Store arbitrary data as needed by a user.
         May contain all valid JSON values.
         
        .google.protobuf.Struct userdata = 15 [json_name = "userdata"];
        Returns:
        The userdata.
      • getUserdataOrBuilder

        com.google.protobuf.StructOrBuilder getUserdataOrBuilder()
         Store arbitrary data as needed by a user.
         May contain all valid JSON values.
         
        .google.protobuf.Struct userdata = 15 [json_name = "userdata"];