Package gql
Class GqlTypes.Edge
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
gql.GqlTypes.Edge
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GqlTypes.EdgeOrBuilder,Serializable
- Enclosing class:
- GqlTypes
public static final class GqlTypes.Edge
extends com.google.protobuf.GeneratedMessage
implements GqlTypes.EdgeOrBuilder
Property graph edge (directed or undirected).Protobuf type
gql.Edge- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProperty graph edge (directed or undirected).Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsProperties(String key) Property mapbooleanstatic GqlTypes.Edgestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ByteStringgetId()Opaque element identifiergetLabels(int index) Label setcom.google.protobuf.ByteStringgetLabelsBytes(int index) Label setintLabel setcom.google.protobuf.ProtocolStringListLabel setcom.google.protobuf.Parser<GqlTypes.Edge>Deprecated.intProperty mapProperty mapgetPropertiesOrDefault(String key, GqlTypes.Value defaultValue) Property mapProperty mapintcom.google.protobuf.ByteStringSource node (directed) or endpoint Acom.google.protobuf.ByteStringTarget node (directed) or endpoint Bbooleantrue = undirected edgeinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic GqlTypes.Edge.Builderstatic GqlTypes.Edge.BuildernewBuilder(GqlTypes.Edge prototype) protected GqlTypes.Edge.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static GqlTypes.EdgeparseDelimitedFrom(InputStream input) static GqlTypes.EdgeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GqlTypes.EdgeparseFrom(byte[] data) static GqlTypes.EdgeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GqlTypes.EdgeparseFrom(com.google.protobuf.ByteString data) static GqlTypes.EdgeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GqlTypes.EdgeparseFrom(com.google.protobuf.CodedInputStream input) static GqlTypes.EdgeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GqlTypes.EdgeparseFrom(InputStream input) static GqlTypes.EdgeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GqlTypes.EdgeparseFrom(ByteBuffer data) static GqlTypes.EdgeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GqlTypes.Edge>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
SOURCE_NODE_ID_FIELD_NUMBER
public static final int SOURCE_NODE_ID_FIELD_NUMBER- See Also:
-
TARGET_NODE_ID_FIELD_NUMBER
public static final int TARGET_NODE_ID_FIELD_NUMBER- See Also:
-
UNDIRECTED_FIELD_NUMBER
public static final int UNDIRECTED_FIELD_NUMBER- See Also:
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getId
public com.google.protobuf.ByteString getId()Opaque element identifier
bytes id = 1;- Specified by:
getIdin interfaceGqlTypes.EdgeOrBuilder- Returns:
- The id.
-
getLabelsList
public com.google.protobuf.ProtocolStringList getLabelsList()Label set
repeated string labels = 2;- Specified by:
getLabelsListin interfaceGqlTypes.EdgeOrBuilder- Returns:
- A list containing the labels.
-
getLabelsCount
public int getLabelsCount()Label set
repeated string labels = 2;- Specified by:
getLabelsCountin interfaceGqlTypes.EdgeOrBuilder- Returns:
- The count of labels.
-
getLabels
Label set
repeated string labels = 2;- Specified by:
getLabelsin interfaceGqlTypes.EdgeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
public com.google.protobuf.ByteString getLabelsBytes(int index) Label set
repeated string labels = 2;- Specified by:
getLabelsBytesin interfaceGqlTypes.EdgeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
getSourceNodeId
public com.google.protobuf.ByteString getSourceNodeId()Source node (directed) or endpoint A
bytes source_node_id = 3;- Specified by:
getSourceNodeIdin interfaceGqlTypes.EdgeOrBuilder- Returns:
- The sourceNodeId.
-
getTargetNodeId
public com.google.protobuf.ByteString getTargetNodeId()Target node (directed) or endpoint B
bytes target_node_id = 4;- Specified by:
getTargetNodeIdin interfaceGqlTypes.EdgeOrBuilder- Returns:
- The targetNodeId.
-
getUndirected
public boolean getUndirected()true = undirected edge
bool undirected = 5;- Specified by:
getUndirectedin interfaceGqlTypes.EdgeOrBuilder- Returns:
- The undirected.
-
getPropertiesCount
public int getPropertiesCount()Description copied from interface:GqlTypes.EdgeOrBuilderProperty map
map<string, .gql.Value> properties = 6;- Specified by:
getPropertiesCountin interfaceGqlTypes.EdgeOrBuilder
-
containsProperties
Property map
map<string, .gql.Value> properties = 6;- Specified by:
containsPropertiesin interfaceGqlTypes.EdgeOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceGqlTypes.EdgeOrBuilder
-
getPropertiesMap
Property map
map<string, .gql.Value> properties = 6;- Specified by:
getPropertiesMapin interfaceGqlTypes.EdgeOrBuilder
-
getPropertiesOrDefault
Property map
map<string, .gql.Value> properties = 6;- Specified by:
getPropertiesOrDefaultin interfaceGqlTypes.EdgeOrBuilder
-
getPropertiesOrThrow
Property map
map<string, .gql.Value> properties = 6;- Specified by:
getPropertiesOrThrowin interfaceGqlTypes.EdgeOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GqlTypes.Edge parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GqlTypes.Edge parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GqlTypes.Edge parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GqlTypes.Edge parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GqlTypes.Edge parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GqlTypes.Edge parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GqlTypes.Edge parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GqlTypes.Edge parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GqlTypes.Edge parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GqlTypes.Edge parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GqlTypes.Edge.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-