public static final class BlockInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BlockInfo.Builder> 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 | Method and Description |
---|---|
BlockInfo.Builder |
addAllLocations(Iterable<? extends BlockLocation> values)
repeated .alluxio.grpc.BlockLocation locations = 3; |
BlockInfo.Builder |
addLocations(BlockLocation.Builder builderForValue)
repeated .alluxio.grpc.BlockLocation locations = 3; |
BlockInfo.Builder |
addLocations(BlockLocation value)
repeated .alluxio.grpc.BlockLocation locations = 3; |
BlockInfo.Builder |
addLocations(int index,
BlockLocation.Builder builderForValue)
repeated .alluxio.grpc.BlockLocation locations = 3; |
BlockInfo.Builder |
addLocations(int index,
BlockLocation value)
repeated .alluxio.grpc.BlockLocation locations = 3; |
BlockLocation.Builder |
addLocationsBuilder()
repeated .alluxio.grpc.BlockLocation locations = 3; |
BlockLocation.Builder |
addLocationsBuilder(int index)
repeated .alluxio.grpc.BlockLocation locations = 3; |
BlockInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BlockInfo |
build() |
BlockInfo |
buildPartial() |
BlockInfo.Builder |
clear() |
BlockInfo.Builder |
clearBlockId()
optional int64 blockId = 1; |
BlockInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BlockInfo.Builder |
clearLength()
optional int64 length = 2; |
BlockInfo.Builder |
clearLocations()
repeated .alluxio.grpc.BlockLocation locations = 3; |
BlockInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BlockInfo.Builder |
clone() |
long |
getBlockId()
optional int64 blockId = 1; |
BlockInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getLength()
optional int64 length = 2; |
BlockLocation |
getLocations(int index)
repeated .alluxio.grpc.BlockLocation locations = 3; |
BlockLocation.Builder |
getLocationsBuilder(int index)
repeated .alluxio.grpc.BlockLocation locations = 3; |
List<BlockLocation.Builder> |
getLocationsBuilderList()
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; |
boolean |
hasBlockId()
optional int64 blockId = 1; |
boolean |
hasLength()
optional int64 length = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BlockInfo.Builder |
mergeFrom(BlockInfo other) |
BlockInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BlockInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
BlockInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BlockInfo.Builder |
removeLocations(int index)
repeated .alluxio.grpc.BlockLocation locations = 3; |
BlockInfo.Builder |
setBlockId(long value)
optional int64 blockId = 1; |
BlockInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BlockInfo.Builder |
setLength(long value)
optional int64 length = 2; |
BlockInfo.Builder |
setLocations(int index,
BlockLocation.Builder builderForValue)
repeated .alluxio.grpc.BlockLocation locations = 3; |
BlockInfo.Builder |
setLocations(int index,
BlockLocation value)
repeated .alluxio.grpc.BlockLocation locations = 3; |
BlockInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BlockInfo.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<BlockInfo.Builder>
public BlockInfo.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<BlockInfo.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<BlockInfo.Builder>
public BlockInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public BlockInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public BlockInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public BlockInfo.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<BlockInfo.Builder>
public BlockInfo.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<BlockInfo.Builder>
public BlockInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockInfo.Builder>
public BlockInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockInfo.Builder>
public BlockInfo.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<BlockInfo.Builder>
public BlockInfo.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<BlockInfo.Builder>
public BlockInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BlockInfo.Builder>
public BlockInfo.Builder mergeFrom(BlockInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockInfo.Builder>
public BlockInfo.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<BlockInfo.Builder>
IOException
public boolean hasBlockId()
optional int64 blockId = 1;
hasBlockId
in interface BlockInfoOrBuilder
public long getBlockId()
optional int64 blockId = 1;
getBlockId
in interface BlockInfoOrBuilder
public BlockInfo.Builder setBlockId(long value)
optional int64 blockId = 1;
public BlockInfo.Builder clearBlockId()
optional int64 blockId = 1;
public boolean hasLength()
optional int64 length = 2;
hasLength
in interface BlockInfoOrBuilder
public long getLength()
optional int64 length = 2;
getLength
in interface BlockInfoOrBuilder
public BlockInfo.Builder setLength(long value)
optional int64 length = 2;
public BlockInfo.Builder clearLength()
optional int64 length = 2;
public List<BlockLocation> getLocationsList()
repeated .alluxio.grpc.BlockLocation locations = 3;
getLocationsList
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 BlockInfo.Builder setLocations(int index, BlockLocation value)
repeated .alluxio.grpc.BlockLocation locations = 3;
public BlockInfo.Builder setLocations(int index, BlockLocation.Builder builderForValue)
repeated .alluxio.grpc.BlockLocation locations = 3;
public BlockInfo.Builder addLocations(BlockLocation value)
repeated .alluxio.grpc.BlockLocation locations = 3;
public BlockInfo.Builder addLocations(int index, BlockLocation value)
repeated .alluxio.grpc.BlockLocation locations = 3;
public BlockInfo.Builder addLocations(BlockLocation.Builder builderForValue)
repeated .alluxio.grpc.BlockLocation locations = 3;
public BlockInfo.Builder addLocations(int index, BlockLocation.Builder builderForValue)
repeated .alluxio.grpc.BlockLocation locations = 3;
public BlockInfo.Builder addAllLocations(Iterable<? extends BlockLocation> values)
repeated .alluxio.grpc.BlockLocation locations = 3;
public BlockInfo.Builder clearLocations()
repeated .alluxio.grpc.BlockLocation locations = 3;
public BlockInfo.Builder removeLocations(int index)
repeated .alluxio.grpc.BlockLocation locations = 3;
public BlockLocation.Builder getLocationsBuilder(int index)
repeated .alluxio.grpc.BlockLocation locations = 3;
public BlockLocationOrBuilder getLocationsOrBuilder(int index)
repeated .alluxio.grpc.BlockLocation locations = 3;
getLocationsOrBuilder
in interface BlockInfoOrBuilder
public List<? extends BlockLocationOrBuilder> getLocationsOrBuilderList()
repeated .alluxio.grpc.BlockLocation locations = 3;
getLocationsOrBuilderList
in interface BlockInfoOrBuilder
public BlockLocation.Builder addLocationsBuilder()
repeated .alluxio.grpc.BlockLocation locations = 3;
public BlockLocation.Builder addLocationsBuilder(int index)
repeated .alluxio.grpc.BlockLocation locations = 3;
public List<BlockLocation.Builder> getLocationsBuilderList()
repeated .alluxio.grpc.BlockLocation locations = 3;
public final BlockInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockInfo.Builder>
public final BlockInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockInfo.Builder>
Copyright © 2023. All Rights Reserved.