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 Summary
Modifier and TypeMethodDescriptionbooleancontainsProperties(String key) Property mapcom.google.protobuf.ByteStringgetId()Opaque element identifiergetLabels(int index) Label set (unordered)com.google.protobuf.ByteStringgetLabelsBytes(int index) Label set (unordered)intLabel set (unordered)Label set (unordered)Deprecated.intProperty mapProperty mapgetPropertiesOrDefault(String key, GqlTypes.Value defaultValue) Property mapProperty mapMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
com.google.protobuf.ByteString getId()Opaque element identifier
bytes id = 1;- Returns:
- The id.
-
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
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
Property map
map<string, .gql.Value> properties = 3; -
getProperties
Deprecated.UsegetPropertiesMap()instead. -
getPropertiesMap
Map<String,GqlTypes.Value> getPropertiesMap()Property map
map<string, .gql.Value> properties = 3; -
getPropertiesOrDefault
Property map
map<string, .gql.Value> properties = 3; -
getPropertiesOrThrow
Property map
map<string, .gql.Value> properties = 3;
-