public static final class FileBlockInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FileBlockInfo.Builder> 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 | Method and Description |
---|---|
FileBlockInfo.Builder |
addAllUfsLocations(Iterable<? extends WorkerNetAddress> values)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
FileBlockInfo.Builder |
addAllUfsStringLocations(Iterable<String> values)
repeated string ufsStringLocations = 4; |
FileBlockInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FileBlockInfo.Builder |
addUfsLocations(int index,
WorkerNetAddress.Builder builderForValue)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
FileBlockInfo.Builder |
addUfsLocations(int index,
WorkerNetAddress value)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
FileBlockInfo.Builder |
addUfsLocations(WorkerNetAddress.Builder builderForValue)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
FileBlockInfo.Builder |
addUfsLocations(WorkerNetAddress value)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
WorkerNetAddress.Builder |
addUfsLocationsBuilder()
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
WorkerNetAddress.Builder |
addUfsLocationsBuilder(int index)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
FileBlockInfo.Builder |
addUfsStringLocations(String value)
repeated string ufsStringLocations = 4; |
FileBlockInfo.Builder |
addUfsStringLocationsBytes(com.google.protobuf.ByteString value)
repeated string ufsStringLocations = 4; |
FileBlockInfo |
build() |
FileBlockInfo |
buildPartial() |
FileBlockInfo.Builder |
clear() |
FileBlockInfo.Builder |
clearBlockInfo()
optional .alluxio.grpc.BlockInfo blockInfo = 1; |
FileBlockInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FileBlockInfo.Builder |
clearOffset()
optional int64 offset = 2; |
FileBlockInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FileBlockInfo.Builder |
clearUfsLocations()
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
FileBlockInfo.Builder |
clearUfsStringLocations()
repeated string ufsStringLocations = 4; |
FileBlockInfo.Builder |
clone() |
BlockInfo |
getBlockInfo()
optional .alluxio.grpc.BlockInfo blockInfo = 1; |
BlockInfo.Builder |
getBlockInfoBuilder()
optional .alluxio.grpc.BlockInfo blockInfo = 1; |
BlockInfoOrBuilder |
getBlockInfoOrBuilder()
optional .alluxio.grpc.BlockInfo blockInfo = 1; |
FileBlockInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getOffset()
optional int64 offset = 2; |
WorkerNetAddress |
getUfsLocations(int index)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
WorkerNetAddress.Builder |
getUfsLocationsBuilder(int index)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
List<WorkerNetAddress.Builder> |
getUfsLocationsBuilderList()
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; |
boolean |
hasBlockInfo()
optional .alluxio.grpc.BlockInfo blockInfo = 1; |
boolean |
hasOffset()
optional int64 offset = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FileBlockInfo.Builder |
mergeBlockInfo(BlockInfo value)
optional .alluxio.grpc.BlockInfo blockInfo = 1; |
FileBlockInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FileBlockInfo.Builder |
mergeFrom(FileBlockInfo other) |
FileBlockInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
FileBlockInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FileBlockInfo.Builder |
removeUfsLocations(int index)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
FileBlockInfo.Builder |
setBlockInfo(BlockInfo.Builder builderForValue)
optional .alluxio.grpc.BlockInfo blockInfo = 1; |
FileBlockInfo.Builder |
setBlockInfo(BlockInfo value)
optional .alluxio.grpc.BlockInfo blockInfo = 1; |
FileBlockInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FileBlockInfo.Builder |
setOffset(long value)
optional int64 offset = 2; |
FileBlockInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FileBlockInfo.Builder |
setUfsLocations(int index,
WorkerNetAddress.Builder builderForValue)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
FileBlockInfo.Builder |
setUfsLocations(int index,
WorkerNetAddress value)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
|
FileBlockInfo.Builder |
setUfsStringLocations(int index,
String value)
repeated string ufsStringLocations = 4; |
FileBlockInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<FileBlockInfo.Builder>
public FileBlockInfo.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<FileBlockInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<FileBlockInfo.Builder>
public FileBlockInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FileBlockInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FileBlockInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FileBlockInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<FileBlockInfo.Builder>
public FileBlockInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<FileBlockInfo.Builder>
public FileBlockInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<FileBlockInfo.Builder>
public FileBlockInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<FileBlockInfo.Builder>
public FileBlockInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<FileBlockInfo.Builder>
public FileBlockInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<FileBlockInfo.Builder>
public FileBlockInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FileBlockInfo.Builder>
public FileBlockInfo.Builder mergeFrom(FileBlockInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<FileBlockInfo.Builder>
public FileBlockInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FileBlockInfo.Builder>
IOException
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 FileBlockInfo.Builder setBlockInfo(BlockInfo value)
optional .alluxio.grpc.BlockInfo blockInfo = 1;
public FileBlockInfo.Builder setBlockInfo(BlockInfo.Builder builderForValue)
optional .alluxio.grpc.BlockInfo blockInfo = 1;
public FileBlockInfo.Builder mergeBlockInfo(BlockInfo value)
optional .alluxio.grpc.BlockInfo blockInfo = 1;
public FileBlockInfo.Builder clearBlockInfo()
optional .alluxio.grpc.BlockInfo blockInfo = 1;
public BlockInfo.Builder getBlockInfoBuilder()
optional .alluxio.grpc.BlockInfo blockInfo = 1;
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 FileBlockInfo.Builder setOffset(long value)
optional int64 offset = 2;
public FileBlockInfo.Builder clearOffset()
optional int64 offset = 2;
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 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 FileBlockInfo.Builder setUfsLocations(int index, WorkerNetAddress value)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
public FileBlockInfo.Builder setUfsLocations(int index, WorkerNetAddress.Builder builderForValue)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
public FileBlockInfo.Builder addUfsLocations(WorkerNetAddress value)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
public FileBlockInfo.Builder addUfsLocations(int index, WorkerNetAddress value)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
public FileBlockInfo.Builder addUfsLocations(WorkerNetAddress.Builder builderForValue)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
public FileBlockInfo.Builder addUfsLocations(int index, WorkerNetAddress.Builder builderForValue)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
public FileBlockInfo.Builder addAllUfsLocations(Iterable<? extends WorkerNetAddress> values)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
public FileBlockInfo.Builder clearUfsLocations()
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
public FileBlockInfo.Builder removeUfsLocations(int index)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
public WorkerNetAddress.Builder getUfsLocationsBuilder(int index)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
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 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 WorkerNetAddress.Builder addUfsLocationsBuilder()
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
public WorkerNetAddress.Builder addUfsLocationsBuilder(int index)
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
public List<WorkerNetAddress.Builder> getUfsLocationsBuilderList()
deprecated since 1.1 will be removed in 2.0 (replaced by ufsStringLocations)
repeated .alluxio.grpc.WorkerNetAddress ufsLocations = 3;
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 FileBlockInfo.Builder setUfsStringLocations(int index, String value)
repeated string ufsStringLocations = 4;
public FileBlockInfo.Builder addUfsStringLocations(String value)
repeated string ufsStringLocations = 4;
public FileBlockInfo.Builder addAllUfsStringLocations(Iterable<String> values)
repeated string ufsStringLocations = 4;
public FileBlockInfo.Builder clearUfsStringLocations()
repeated string ufsStringLocations = 4;
public FileBlockInfo.Builder addUfsStringLocationsBytes(com.google.protobuf.ByteString value)
repeated string ufsStringLocations = 4;
public final FileBlockInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FileBlockInfo.Builder>
public final FileBlockInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FileBlockInfo.Builder>
Copyright © 2023. All Rights Reserved.