public final class FileBlockInfo extends com.google.protobuf.GeneratedMessageV3 implements FileBlockInfoOrBuilder
Contains the information of a block in a file. In addition to the BlockInfo, it includes the offset in the file, and the under file system locations of the block replicas.Protobuf type
alluxio.grpc.file.FileBlockInfo
Modifier and Type | Class and Description |
---|---|
static class |
FileBlockInfo.Builder
Contains the information of a block in a file.
|
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 |
BLOCKINFO_FIELD_NUMBER |
static int |
OFFSET_FIELD_NUMBER |
static com.google.protobuf.Parser<FileBlockInfo> |
PARSER
Deprecated.
|
static int |
UFSLOCATIONS_FIELD_NUMBER |
static int |
UFSSTRINGLOCATIONS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
BlockInfo |
getBlockInfo()
optional .alluxio.grpc.BlockInfo blockInfo = 1; |
BlockInfoOrBuilder |
getBlockInfoOrBuilder()
optional .alluxio.grpc.BlockInfo blockInfo = 1; |
static FileBlockInfo |
getDefaultInstance() |
FileBlockInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getOffset()
optional int64 offset = 2; |
com.google.protobuf.Parser<FileBlockInfo> |
getParserForType() |
int |
getSerializedSize() |
WorkerNetAddress |
getUfsLocations(int index)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
int |
getUfsLocationsCount()
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
List<WorkerNetAddress> |
getUfsLocationsList()
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
WorkerNetAddressOrBuilder |
getUfsLocationsOrBuilder(int index)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
List<? extends WorkerNetAddressOrBuilder> |
getUfsLocationsOrBuilderList()
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
String |
getUfsStringLocations(int index)
repeated string ufsStringLocations = 4; |
com.google.protobuf.ByteString |
getUfsStringLocationsBytes(int index)
repeated string ufsStringLocations = 4; |
int |
getUfsStringLocationsCount()
repeated string ufsStringLocations = 4; |
com.google.protobuf.ProtocolStringList |
getUfsStringLocationsList()
repeated string ufsStringLocations = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBlockInfo()
optional .alluxio.grpc.BlockInfo blockInfo = 1; |
int |
hashCode() |
boolean |
hasOffset()
optional int64 offset = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FileBlockInfo.Builder |
newBuilder() |
static FileBlockInfo.Builder |
newBuilder(FileBlockInfo prototype) |
FileBlockInfo.Builder |
newBuilderForType() |
protected FileBlockInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static FileBlockInfo |
parseDelimitedFrom(InputStream input) |
static FileBlockInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FileBlockInfo |
parseFrom(byte[] data) |
static FileBlockInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FileBlockInfo |
parseFrom(ByteBuffer data) |
static FileBlockInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FileBlockInfo |
parseFrom(com.google.protobuf.ByteString data) |
static FileBlockInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FileBlockInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FileBlockInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FileBlockInfo |
parseFrom(InputStream input) |
static FileBlockInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FileBlockInfo> |
parser() |
FileBlockInfo.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 BLOCKINFO_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
public static final int UFSLOCATIONS_FIELD_NUMBER
public static final int UFSSTRINGLOCATIONS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<FileBlockInfo> 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 hasBlockInfo()
optional .alluxio.grpc.BlockInfo blockInfo = 1;
hasBlockInfo
in interface FileBlockInfoOrBuilder
public BlockInfo getBlockInfo()
optional .alluxio.grpc.BlockInfo blockInfo = 1;
getBlockInfo
in interface FileBlockInfoOrBuilder
public BlockInfoOrBuilder getBlockInfoOrBuilder()
optional .alluxio.grpc.BlockInfo blockInfo = 1;
getBlockInfoOrBuilder
in interface FileBlockInfoOrBuilder
public boolean hasOffset()
optional int64 offset = 2;
hasOffset
in interface FileBlockInfoOrBuilder
public long getOffset()
optional int64 offset = 2;
getOffset
in interface FileBlockInfoOrBuilder
public List<WorkerNetAddress> getUfsLocationsList()
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
getUfsLocationsList
in interface FileBlockInfoOrBuilder
public List<? extends WorkerNetAddressOrBuilder> getUfsLocationsOrBuilderList()
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
getUfsLocationsOrBuilderList
in interface FileBlockInfoOrBuilder
public int getUfsLocationsCount()
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
getUfsLocationsCount
in interface FileBlockInfoOrBuilder
public WorkerNetAddress getUfsLocations(int index)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
getUfsLocations
in interface FileBlockInfoOrBuilder
public WorkerNetAddressOrBuilder getUfsLocationsOrBuilder(int index)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
getUfsLocationsOrBuilder
in interface FileBlockInfoOrBuilder
public com.google.protobuf.ProtocolStringList getUfsStringLocationsList()
repeated string ufsStringLocations = 4;
getUfsStringLocationsList
in interface FileBlockInfoOrBuilder
public int getUfsStringLocationsCount()
repeated string ufsStringLocations = 4;
getUfsStringLocationsCount
in interface FileBlockInfoOrBuilder
public String getUfsStringLocations(int index)
repeated string ufsStringLocations = 4;
getUfsStringLocations
in interface FileBlockInfoOrBuilder
public com.google.protobuf.ByteString getUfsStringLocationsBytes(int index)
repeated string ufsStringLocations = 4;
getUfsStringLocationsBytes
in interface FileBlockInfoOrBuilder
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 FileBlockInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FileBlockInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FileBlockInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FileBlockInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FileBlockInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FileBlockInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static FileBlockInfo parseFrom(InputStream input) throws IOException
IOException
public static FileBlockInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FileBlockInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static FileBlockInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static FileBlockInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static FileBlockInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public FileBlockInfo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static FileBlockInfo.Builder newBuilder()
public static FileBlockInfo.Builder newBuilder(FileBlockInfo prototype)
public FileBlockInfo.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected FileBlockInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static FileBlockInfo getDefaultInstance()
public static com.google.protobuf.Parser<FileBlockInfo> parser()
public com.google.protobuf.Parser<FileBlockInfo> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public FileBlockInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023. All Rights Reserved.