public static final class Block.BlockLocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Block.BlockLocation.Builder> implements Block.BlockLocationOrBuilder
Location metadata describing a block's location in a certain storage tier of a certain worker. next available id: 5Protobuf type
alluxio.proto.meta.BlockLocation
Modifier and Type | Method and Description |
---|---|
Block.BlockLocation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Block.BlockLocation |
build() |
Block.BlockLocation |
buildPartial() |
Block.BlockLocation.Builder |
clear() |
Block.BlockLocation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Block.BlockLocation.Builder |
clearMediumType()
optional string mediumType = 3; |
Block.BlockLocation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Block.BlockLocation.Builder |
clearTier()
optional string tier = 2; |
Block.BlockLocation.Builder |
clearWorkerId()
optional int64 worker_id = 1; |
Block.BlockLocation.Builder |
clone() |
Block.BlockLocation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMediumType()
optional string mediumType = 3; |
com.google.protobuf.ByteString |
getMediumTypeBytes()
optional string mediumType = 3; |
String |
getTier()
optional string tier = 2; |
com.google.protobuf.ByteString |
getTierBytes()
optional string tier = 2; |
long |
getWorkerId()
optional int64 worker_id = 1; |
boolean |
hasMediumType()
optional string mediumType = 3; |
boolean |
hasTier()
optional string tier = 2; |
boolean |
hasWorkerId()
optional int64 worker_id = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Block.BlockLocation.Builder |
mergeFrom(Block.BlockLocation other) |
Block.BlockLocation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Block.BlockLocation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Block.BlockLocation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Block.BlockLocation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Block.BlockLocation.Builder |
setMediumType(String value)
optional string mediumType = 3; |
Block.BlockLocation.Builder |
setMediumTypeBytes(com.google.protobuf.ByteString value)
optional string mediumType = 3; |
Block.BlockLocation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Block.BlockLocation.Builder |
setTier(String value)
optional string tier = 2; |
Block.BlockLocation.Builder |
setTierBytes(com.google.protobuf.ByteString value)
optional string tier = 2; |
Block.BlockLocation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Block.BlockLocation.Builder |
setWorkerId(long value)
optional int64 worker_id = 1; |
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<Block.BlockLocation.Builder>
public Block.BlockLocation.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<Block.BlockLocation.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<Block.BlockLocation.Builder>
public Block.BlockLocation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Block.BlockLocation build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Block.BlockLocation buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Block.BlockLocation.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<Block.BlockLocation.Builder>
public Block.BlockLocation.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<Block.BlockLocation.Builder>
public Block.BlockLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Block.BlockLocation.Builder>
public Block.BlockLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Block.BlockLocation.Builder>
public Block.BlockLocation.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<Block.BlockLocation.Builder>
public Block.BlockLocation.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<Block.BlockLocation.Builder>
public Block.BlockLocation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Block.BlockLocation.Builder>
public Block.BlockLocation.Builder mergeFrom(Block.BlockLocation other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Block.BlockLocation.Builder>
public Block.BlockLocation.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<Block.BlockLocation.Builder>
IOException
public boolean hasWorkerId()
optional int64 worker_id = 1;
hasWorkerId
in interface Block.BlockLocationOrBuilder
public long getWorkerId()
optional int64 worker_id = 1;
getWorkerId
in interface Block.BlockLocationOrBuilder
public Block.BlockLocation.Builder setWorkerId(long value)
optional int64 worker_id = 1;
public Block.BlockLocation.Builder clearWorkerId()
optional int64 worker_id = 1;
public boolean hasTier()
optional string tier = 2;
hasTier
in interface Block.BlockLocationOrBuilder
public String getTier()
optional string tier = 2;
getTier
in interface Block.BlockLocationOrBuilder
public com.google.protobuf.ByteString getTierBytes()
optional string tier = 2;
getTierBytes
in interface Block.BlockLocationOrBuilder
public Block.BlockLocation.Builder setTier(String value)
optional string tier = 2;
public Block.BlockLocation.Builder clearTier()
optional string tier = 2;
public Block.BlockLocation.Builder setTierBytes(com.google.protobuf.ByteString value)
optional string tier = 2;
public boolean hasMediumType()
optional string mediumType = 3;
hasMediumType
in interface Block.BlockLocationOrBuilder
public String getMediumType()
optional string mediumType = 3;
getMediumType
in interface Block.BlockLocationOrBuilder
public com.google.protobuf.ByteString getMediumTypeBytes()
optional string mediumType = 3;
getMediumTypeBytes
in interface Block.BlockLocationOrBuilder
public Block.BlockLocation.Builder setMediumType(String value)
optional string mediumType = 3;
public Block.BlockLocation.Builder clearMediumType()
optional string mediumType = 3;
public Block.BlockLocation.Builder setMediumTypeBytes(com.google.protobuf.ByteString value)
optional string mediumType = 3;
public final Block.BlockLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Block.BlockLocation.Builder>
public final Block.BlockLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Block.BlockLocation.Builder>
Copyright © 2023. All Rights Reserved.