public final class BlockInfo extends com.google.protobuf.GeneratedMessageV3 implements BlockInfoOrBuilder
Contains the information of a block in Alluxio. It maintains the worker nodes where the replicas of the blocks are stored.Protobuf type
alluxio.grpc.BlockInfo
Modifier and Type | Class and Description |
---|---|
static class |
BlockInfo.Builder
Contains the information of a block in Alluxio.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
BLOCKID_FIELD_NUMBER |
static int |
LENGTH_FIELD_NUMBER |
static int |
LOCATIONS_FIELD_NUMBER |
static com.google.protobuf.Parser<BlockInfo> |
PARSER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getBlockId()
optional int64 blockId = 1; |
static BlockInfo |
getDefaultInstance() |
BlockInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getLength()
optional int64 length = 2; |
BlockLocation |
getLocations(int index)
repeated .alluxio.grpc.BlockLocation locations = 3; |
int |
getLocationsCount()
repeated .alluxio.grpc.BlockLocation locations = 3; |
List<BlockLocation> |
getLocationsList()
repeated .alluxio.grpc.BlockLocation locations = 3; |
BlockLocationOrBuilder |
getLocationsOrBuilder(int index)
repeated .alluxio.grpc.BlockLocation locations = 3; |
List<? extends BlockLocationOrBuilder> |
getLocationsOrBuilderList()
repeated .alluxio.grpc.BlockLocation locations = 3; |
com.google.protobuf.Parser<BlockInfo> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBlockId()
optional int64 blockId = 1; |
int |
hashCode() |
boolean |
hasLength()
optional int64 length = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BlockInfo.Builder |
newBuilder() |
static BlockInfo.Builder |
newBuilder(BlockInfo prototype) |
BlockInfo.Builder |
newBuilderForType() |
protected BlockInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static BlockInfo |
parseDelimitedFrom(InputStream input) |
static BlockInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockInfo |
parseFrom(byte[] data) |
static BlockInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockInfo |
parseFrom(ByteBuffer data) |
static BlockInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockInfo |
parseFrom(com.google.protobuf.ByteString data) |
static BlockInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BlockInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockInfo |
parseFrom(InputStream input) |
static BlockInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BlockInfo> |
parser() |
BlockInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int BLOCKID_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
public static final int LOCATIONS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<BlockInfo> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasBlockId()
optional int64 blockId = 1;
hasBlockId
in interface BlockInfoOrBuilder
public long getBlockId()
optional int64 blockId = 1;
getBlockId
in interface BlockInfoOrBuilder
public boolean hasLength()
optional int64 length = 2;
hasLength
in interface BlockInfoOrBuilder
public long getLength()
optional int64 length = 2;
getLength
in interface BlockInfoOrBuilder
public List<BlockLocation> getLocationsList()
repeated .alluxio.grpc.BlockLocation locations = 3;
getLocationsList
in interface BlockInfoOrBuilder
public List<? extends BlockLocationOrBuilder> getLocationsOrBuilderList()
repeated .alluxio.grpc.BlockLocation locations = 3;
getLocationsOrBuilderList
in interface BlockInfoOrBuilder
public int getLocationsCount()
repeated .alluxio.grpc.BlockLocation locations = 3;
getLocationsCount
in interface BlockInfoOrBuilder
public BlockLocation getLocations(int index)
repeated .alluxio.grpc.BlockLocation locations = 3;
getLocations
in interface BlockInfoOrBuilder
public BlockLocationOrBuilder getLocationsOrBuilder(int index)
repeated .alluxio.grpc.BlockLocation locations = 3;
getLocationsOrBuilder
in interface BlockInfoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static BlockInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BlockInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BlockInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BlockInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BlockInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BlockInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BlockInfo parseFrom(InputStream input) throws IOException
IOException
public static BlockInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BlockInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static BlockInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BlockInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static BlockInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public BlockInfo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static BlockInfo.Builder newBuilder()
public static BlockInfo.Builder newBuilder(BlockInfo prototype)
public BlockInfo.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected BlockInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static BlockInfo getDefaultInstance()
public static com.google.protobuf.Parser<BlockInfo> parser()
public com.google.protobuf.Parser<BlockInfo> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public BlockInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023. All Rights Reserved.