public static final class BlockLocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BlockLocation.Builder> implements BlockLocationOrBuilder
Information about blocks.Protobuf type
alluxio.grpc.BlockLocation
Modifier and Type | Method and Description |
---|---|
BlockLocation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BlockLocation |
build() |
BlockLocation |
buildPartial() |
BlockLocation.Builder |
clear() |
BlockLocation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BlockLocation.Builder |
clearMediumType()
optional string mediumType = 4; |
BlockLocation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BlockLocation.Builder |
clearTierAlias()
optional string tierAlias = 3; |
BlockLocation.Builder |
clearWorkerAddress()
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2; |
BlockLocation.Builder |
clearWorkerId()
optional int64 workerId = 1; |
BlockLocation.Builder |
clone() |
BlockLocation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMediumType()
optional string mediumType = 4; |
com.google.protobuf.ByteString |
getMediumTypeBytes()
optional string mediumType = 4; |
String |
getTierAlias()
optional string tierAlias = 3; |
com.google.protobuf.ByteString |
getTierAliasBytes()
optional string tierAlias = 3; |
WorkerNetAddress |
getWorkerAddress()
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2; |
WorkerNetAddress.Builder |
getWorkerAddressBuilder()
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2; |
WorkerNetAddressOrBuilder |
getWorkerAddressOrBuilder()
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2; |
long |
getWorkerId()
optional int64 workerId = 1; |
boolean |
hasMediumType()
optional string mediumType = 4; |
boolean |
hasTierAlias()
optional string tierAlias = 3; |
boolean |
hasWorkerAddress()
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2; |
boolean |
hasWorkerId()
optional int64 workerId = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BlockLocation.Builder |
mergeFrom(BlockLocation other) |
BlockLocation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BlockLocation.Builder |
mergeFrom(com.google.protobuf.Message other) |
BlockLocation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BlockLocation.Builder |
mergeWorkerAddress(WorkerNetAddress value)
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2; |
BlockLocation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BlockLocation.Builder |
setMediumType(String value)
optional string mediumType = 4; |
BlockLocation.Builder |
setMediumTypeBytes(com.google.protobuf.ByteString value)
optional string mediumType = 4; |
BlockLocation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BlockLocation.Builder |
setTierAlias(String value)
optional string tierAlias = 3; |
BlockLocation.Builder |
setTierAliasBytes(com.google.protobuf.ByteString value)
optional string tierAlias = 3; |
BlockLocation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BlockLocation.Builder |
setWorkerAddress(WorkerNetAddress.Builder builderForValue)
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2; |
BlockLocation.Builder |
setWorkerAddress(WorkerNetAddress value)
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2; |
BlockLocation.Builder |
setWorkerId(long value)
optional int64 workerId = 1; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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<BlockLocation.Builder>
public 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<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<BlockLocation.Builder>
public BlockLocation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public BlockLocation build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public BlockLocation buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public 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<BlockLocation.Builder>
public 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<BlockLocation.Builder>
public 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<BlockLocation.Builder>
public 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<BlockLocation.Builder>
public 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<BlockLocation.Builder>
public 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<BlockLocation.Builder>
public BlockLocation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BlockLocation.Builder>
public BlockLocation.Builder mergeFrom(BlockLocation other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockLocation.Builder>
public 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<BlockLocation.Builder>
IOException
public boolean hasWorkerId()
optional int64 workerId = 1;
hasWorkerId
in interface BlockLocationOrBuilder
public long getWorkerId()
optional int64 workerId = 1;
getWorkerId
in interface BlockLocationOrBuilder
public BlockLocation.Builder setWorkerId(long value)
optional int64 workerId = 1;
value
- The workerId to set.public BlockLocation.Builder clearWorkerId()
optional int64 workerId = 1;
public boolean hasWorkerAddress()
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2;
hasWorkerAddress
in interface BlockLocationOrBuilder
public WorkerNetAddress getWorkerAddress()
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2;
getWorkerAddress
in interface BlockLocationOrBuilder
public BlockLocation.Builder setWorkerAddress(WorkerNetAddress value)
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2;
public BlockLocation.Builder setWorkerAddress(WorkerNetAddress.Builder builderForValue)
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2;
public BlockLocation.Builder mergeWorkerAddress(WorkerNetAddress value)
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2;
public BlockLocation.Builder clearWorkerAddress()
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2;
public WorkerNetAddress.Builder getWorkerAddressBuilder()
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2;
public WorkerNetAddressOrBuilder getWorkerAddressOrBuilder()
optional .alluxio.grpc.WorkerNetAddress workerAddress = 2;
getWorkerAddressOrBuilder
in interface BlockLocationOrBuilder
public boolean hasTierAlias()
optional string tierAlias = 3;
hasTierAlias
in interface BlockLocationOrBuilder
public String getTierAlias()
optional string tierAlias = 3;
getTierAlias
in interface BlockLocationOrBuilder
public com.google.protobuf.ByteString getTierAliasBytes()
optional string tierAlias = 3;
getTierAliasBytes
in interface BlockLocationOrBuilder
public BlockLocation.Builder setTierAlias(String value)
optional string tierAlias = 3;
value
- The tierAlias to set.public BlockLocation.Builder clearTierAlias()
optional string tierAlias = 3;
public BlockLocation.Builder setTierAliasBytes(com.google.protobuf.ByteString value)
optional string tierAlias = 3;
value
- The bytes for tierAlias to set.public boolean hasMediumType()
optional string mediumType = 4;
hasMediumType
in interface BlockLocationOrBuilder
public String getMediumType()
optional string mediumType = 4;
getMediumType
in interface BlockLocationOrBuilder
public com.google.protobuf.ByteString getMediumTypeBytes()
optional string mediumType = 4;
getMediumTypeBytes
in interface BlockLocationOrBuilder
public BlockLocation.Builder setMediumType(String value)
optional string mediumType = 4;
value
- The mediumType to set.public BlockLocation.Builder clearMediumType()
optional string mediumType = 4;
public BlockLocation.Builder setMediumTypeBytes(com.google.protobuf.ByteString value)
optional string mediumType = 4;
value
- The bytes for mediumType to set.public final BlockLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockLocation.Builder>
public final BlockLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockLocation.Builder>
Copyright © 2023. All Rights Reserved.