Package gql

Interface GqlTypes.EdgeOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GqlTypes.Edge, GqlTypes.Edge.Builder
Enclosing class:
GqlTypes

public static interface GqlTypes.EdgeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getId

      com.google.protobuf.ByteString getId()
       Opaque element identifier
       
      bytes id = 1;
      Returns:
      The id.
    • getLabelsList

      List<String> getLabelsList()
       Label set
       
      repeated string labels = 2;
      Returns:
      A list containing the labels.
    • getLabelsCount

      int getLabelsCount()
       Label set
       
      repeated string labels = 2;
      Returns:
      The count of labels.
    • getLabels

      String getLabels(int index)
       Label set
       
      repeated string labels = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The labels at the given index.
    • getLabelsBytes

      com.google.protobuf.ByteString getLabelsBytes(int index)
       Label set
       
      repeated string labels = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the labels at the given index.
    • getSourceNodeId

      com.google.protobuf.ByteString getSourceNodeId()
       Source node (directed) or endpoint A
       
      bytes source_node_id = 3;
      Returns:
      The sourceNodeId.
    • getTargetNodeId

      com.google.protobuf.ByteString getTargetNodeId()
       Target node (directed) or endpoint B
       
      bytes target_node_id = 4;
      Returns:
      The targetNodeId.
    • getUndirected

      boolean getUndirected()
       true = undirected edge
       
      bool undirected = 5;
      Returns:
      The undirected.
    • getPropertiesCount

      int getPropertiesCount()
       Property map
       
      map<string, .gql.Value> properties = 6;
    • containsProperties

      boolean containsProperties(String key)
       Property map
       
      map<string, .gql.Value> properties = 6;
    • getProperties

      Deprecated.
      Use getPropertiesMap() instead.
    • getPropertiesMap

      Map<String,GqlTypes.Value> getPropertiesMap()
       Property map
       
      map<string, .gql.Value> properties = 6;
    • getPropertiesOrDefault

      GqlTypes.Value getPropertiesOrDefault(String key, GqlTypes.Value defaultValue)
       Property map
       
      map<string, .gql.Value> properties = 6;
    • getPropertiesOrThrow

      GqlTypes.Value getPropertiesOrThrow(String key)
       Property map
       
      map<string, .gql.Value> properties = 6;