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 Summary
Modifier and TypeMethodDescriptionbooleancontainsProperties(String key) Property mapcom.google.protobuf.ByteStringgetId()Opaque element identifiergetLabels(int index) Label setcom.google.protobuf.ByteStringgetLabelsBytes(int index) Label setintLabel setLabel setDeprecated.intProperty mapProperty mapgetPropertiesOrDefault(String key, GqlTypes.Value defaultValue) Property mapProperty mapcom.google.protobuf.ByteStringSource node (directed) or endpoint Acom.google.protobuf.ByteStringTarget node (directed) or endpoint Bbooleantrue = undirected edgeMethods 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
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
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
Property map
map<string, .gql.Value> properties = 6; -
getProperties
Deprecated.UsegetPropertiesMap()instead. -
getPropertiesMap
Map<String,GqlTypes.Value> getPropertiesMap()Property map
map<string, .gql.Value> properties = 6; -
getPropertiesOrDefault
Property map
map<string, .gql.Value> properties = 6; -
getPropertiesOrThrow
Property map
map<string, .gql.Value> properties = 6;
-