类 DataType.GraphDataType.GraphElementLabel
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.alibaba.graphscope.gaia.proto.DataType.GraphDataType.GraphElementLabel
-
- 所有已实现的接口:
DataType.GraphDataType.GraphElementLabelOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public static final class DataType.GraphDataType.GraphElementLabel extends com.google.protobuf.GeneratedMessageV3 implements DataType.GraphDataType.GraphElementLabelOrBuilder
The label of the graph element. i.e., the label of vertex or edge. Specifically, for an edge, the labels of its src and dst vertices can be further specified.
Protobuf typecommon.GraphDataType.GraphElementLabel- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classDataType.GraphDataType.GraphElementLabel.BuilderThe label of the graph element. i.e., the label of vertex or edge.-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
字段概要
字段 修饰符和类型 字段 说明 static intDST_LABEL_FIELD_NUMBERstatic intLABEL_FIELD_NUMBERstatic intSRC_LABEL_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object obj)static DataType.GraphDataType.GraphElementLabelgetDefaultInstance()DataType.GraphDataType.GraphElementLabelgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Int32ValuegetDstLabel()optional field, denoting the label of the dst vertex of the edgecom.google.protobuf.Int32ValueOrBuildergetDstLabelOrBuilder()optional field, denoting the label of the dst vertex of the edgeintgetLabel()the label of vertex or edgecom.google.protobuf.Parser<DataType.GraphDataType.GraphElementLabel>getParserForType()intgetSerializedSize()com.google.protobuf.Int32ValuegetSrcLabel()optional field, denoting the label of the src vertex of the edgecom.google.protobuf.Int32ValueOrBuildergetSrcLabelOrBuilder()optional field, denoting the label of the src vertex of the edgebooleanhasDstLabel()optional field, denoting the label of the dst vertex of the edgeinthashCode()booleanhasSrcLabel()optional field, denoting the label of the src vertex of the edgeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DataType.GraphDataType.GraphElementLabel.BuildernewBuilder()static DataType.GraphDataType.GraphElementLabel.BuildernewBuilder(DataType.GraphDataType.GraphElementLabel prototype)DataType.GraphDataType.GraphElementLabel.BuildernewBuilderForType()protected DataType.GraphDataType.GraphElementLabel.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DataType.GraphDataType.GraphElementLabelparseDelimitedFrom(InputStream input)static DataType.GraphDataType.GraphElementLabelparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataType.GraphDataType.GraphElementLabelparseFrom(byte[] data)static DataType.GraphDataType.GraphElementLabelparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataType.GraphDataType.GraphElementLabelparseFrom(com.google.protobuf.ByteString data)static DataType.GraphDataType.GraphElementLabelparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataType.GraphDataType.GraphElementLabelparseFrom(com.google.protobuf.CodedInputStream input)static DataType.GraphDataType.GraphElementLabelparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataType.GraphDataType.GraphElementLabelparseFrom(InputStream input)static DataType.GraphDataType.GraphElementLabelparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataType.GraphDataType.GraphElementLabelparseFrom(ByteBuffer data)static DataType.GraphDataType.GraphElementLabelparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DataType.GraphDataType.GraphElementLabel>parser()DataType.GraphDataType.GraphElementLabel.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
方法详细资料
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getLabel
public int getLabel()
the label of vertex or edge
int32 label = 1;- 指定者:
getLabel在接口中DataType.GraphDataType.GraphElementLabelOrBuilder- 返回:
- The label.
-
hasSrcLabel
public boolean hasSrcLabel()
optional field, denoting the label of the src vertex of the edge
.google.protobuf.Int32Value src_label = 2;- 指定者:
hasSrcLabel在接口中DataType.GraphDataType.GraphElementLabelOrBuilder- 返回:
- Whether the srcLabel field is set.
-
getSrcLabel
public com.google.protobuf.Int32Value getSrcLabel()
optional field, denoting the label of the src vertex of the edge
.google.protobuf.Int32Value src_label = 2;- 指定者:
getSrcLabel在接口中DataType.GraphDataType.GraphElementLabelOrBuilder- 返回:
- The srcLabel.
-
getSrcLabelOrBuilder
public com.google.protobuf.Int32ValueOrBuilder getSrcLabelOrBuilder()
optional field, denoting the label of the src vertex of the edge
.google.protobuf.Int32Value src_label = 2;
-
hasDstLabel
public boolean hasDstLabel()
optional field, denoting the label of the dst vertex of the edge
.google.protobuf.Int32Value dst_label = 3;- 指定者:
hasDstLabel在接口中DataType.GraphDataType.GraphElementLabelOrBuilder- 返回:
- Whether the dstLabel field is set.
-
getDstLabel
public com.google.protobuf.Int32Value getDstLabel()
optional field, denoting the label of the dst vertex of the edge
.google.protobuf.Int32Value dst_label = 3;- 指定者:
getDstLabel在接口中DataType.GraphDataType.GraphElementLabelOrBuilder- 返回:
- The dstLabel.
-
getDstLabelOrBuilder
public com.google.protobuf.Int32ValueOrBuilder getDstLabelOrBuilder()
optional field, denoting the label of the dst vertex of the edge
.google.protobuf.Int32Value dst_label = 3;
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static DataType.GraphDataType.GraphElementLabel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataType.GraphDataType.GraphElementLabel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataType.GraphDataType.GraphElementLabel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataType.GraphDataType.GraphElementLabel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataType.GraphDataType.GraphElementLabel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataType.GraphDataType.GraphElementLabel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataType.GraphDataType.GraphElementLabel parseFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static DataType.GraphDataType.GraphElementLabel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static DataType.GraphDataType.GraphElementLabel parseDelimitedFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static DataType.GraphDataType.GraphElementLabel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseFrom
public static DataType.GraphDataType.GraphElementLabel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static DataType.GraphDataType.GraphElementLabel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
newBuilderForType
public DataType.GraphDataType.GraphElementLabel.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static DataType.GraphDataType.GraphElementLabel.Builder newBuilder()
-
newBuilder
public static DataType.GraphDataType.GraphElementLabel.Builder newBuilder(DataType.GraphDataType.GraphElementLabel prototype)
-
toBuilder
public DataType.GraphDataType.GraphElementLabel.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected DataType.GraphDataType.GraphElementLabel.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DataType.GraphDataType.GraphElementLabel getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DataType.GraphDataType.GraphElementLabel> parser()
-
getParserForType
public com.google.protobuf.Parser<DataType.GraphDataType.GraphElementLabel> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DataType.GraphDataType.GraphElementLabel getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-