Package gql

Interface GqlTypes.NodeOrBuilder

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

public static interface GqlTypes.NodeOrBuilder 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 (unordered)
       
      repeated string labels = 2;
      Returns:
      A list containing the labels.
    • getLabelsCount

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

      String getLabels(int index)
       Label set (unordered)
       
      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 (unordered)
       
      repeated string labels = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the labels at the given index.
    • getPropertiesCount

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

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

      Deprecated.
      Use getPropertiesMap() instead.
    • getPropertiesMap

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

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

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