public static final class BlockMasterInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BlockMasterInfo.Builder> implements BlockMasterInfoOrBuilder
alluxio.grpc.block.BlockMasterInfo
Modifier and Type | Method and Description |
---|---|
BlockMasterInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BlockMasterInfo |
build() |
BlockMasterInfo |
buildPartial() |
BlockMasterInfo.Builder |
clear() |
BlockMasterInfo.Builder |
clearCapacityBytes()
optional int64 capacityBytes = 1; |
BlockMasterInfo.Builder |
clearCapacityBytesOnTiers() |
BlockMasterInfo.Builder |
clearDecommissionedWorkerNum()
optional int32 decommissionedWorkerNum = 8; |
BlockMasterInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BlockMasterInfo.Builder |
clearFreeBytes()
optional int64 freeBytes = 3; |
BlockMasterInfo.Builder |
clearLiveWorkerNum()
optional int32 liveWorkerNum = 4; |
BlockMasterInfo.Builder |
clearLostWorkerNum()
optional int32 lostWorkerNum = 5; |
BlockMasterInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BlockMasterInfo.Builder |
clearUsedBytes()
optional int64 usedBytes = 6; |
BlockMasterInfo.Builder |
clearUsedBytesOnTiers() |
BlockMasterInfo.Builder |
clone() |
boolean |
containsCapacityBytesOnTiers(String key)
map<string, int64> capacityBytesOnTiers = 2; |
boolean |
containsUsedBytesOnTiers(String key)
map<string, int64> usedBytesOnTiers = 7; |
long |
getCapacityBytes()
optional int64 capacityBytes = 1; |
Map<String,Long> |
getCapacityBytesOnTiers()
Deprecated.
|
int |
getCapacityBytesOnTiersCount()
map<string, int64> capacityBytesOnTiers = 2; |
Map<String,Long> |
getCapacityBytesOnTiersMap()
map<string, int64> capacityBytesOnTiers = 2; |
long |
getCapacityBytesOnTiersOrDefault(String key,
long defaultValue)
map<string, int64> capacityBytesOnTiers = 2; |
long |
getCapacityBytesOnTiersOrThrow(String key)
map<string, int64> capacityBytesOnTiers = 2; |
int |
getDecommissionedWorkerNum()
optional int32 decommissionedWorkerNum = 8; |
BlockMasterInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getFreeBytes()
optional int64 freeBytes = 3; |
int |
getLiveWorkerNum()
optional int32 liveWorkerNum = 4; |
int |
getLostWorkerNum()
optional int32 lostWorkerNum = 5; |
Map<String,Long> |
getMutableCapacityBytesOnTiers()
Deprecated.
|
Map<String,Long> |
getMutableUsedBytesOnTiers()
Deprecated.
|
long |
getUsedBytes()
optional int64 usedBytes = 6; |
Map<String,Long> |
getUsedBytesOnTiers()
Deprecated.
|
int |
getUsedBytesOnTiersCount()
map<string, int64> usedBytesOnTiers = 7; |
Map<String,Long> |
getUsedBytesOnTiersMap()
map<string, int64> usedBytesOnTiers = 7; |
long |
getUsedBytesOnTiersOrDefault(String key,
long defaultValue)
map<string, int64> usedBytesOnTiers = 7; |
long |
getUsedBytesOnTiersOrThrow(String key)
map<string, int64> usedBytesOnTiers = 7; |
boolean |
hasCapacityBytes()
optional int64 capacityBytes = 1; |
boolean |
hasDecommissionedWorkerNum()
optional int32 decommissionedWorkerNum = 8; |
boolean |
hasFreeBytes()
optional int64 freeBytes = 3; |
boolean |
hasLiveWorkerNum()
optional int32 liveWorkerNum = 4; |
boolean |
hasLostWorkerNum()
optional int32 lostWorkerNum = 5; |
boolean |
hasUsedBytes()
optional int64 usedBytes = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
BlockMasterInfo.Builder |
mergeFrom(BlockMasterInfo other) |
BlockMasterInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BlockMasterInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
BlockMasterInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BlockMasterInfo.Builder |
putAllCapacityBytesOnTiers(Map<String,Long> values)
map<string, int64> capacityBytesOnTiers = 2; |
BlockMasterInfo.Builder |
putAllUsedBytesOnTiers(Map<String,Long> values)
map<string, int64> usedBytesOnTiers = 7; |
BlockMasterInfo.Builder |
putCapacityBytesOnTiers(String key,
long value)
map<string, int64> capacityBytesOnTiers = 2; |
BlockMasterInfo.Builder |
putUsedBytesOnTiers(String key,
long value)
map<string, int64> usedBytesOnTiers = 7; |
BlockMasterInfo.Builder |
removeCapacityBytesOnTiers(String key)
map<string, int64> capacityBytesOnTiers = 2; |
BlockMasterInfo.Builder |
removeUsedBytesOnTiers(String key)
map<string, int64> usedBytesOnTiers = 7; |
BlockMasterInfo.Builder |
setCapacityBytes(long value)
optional int64 capacityBytes = 1; |
BlockMasterInfo.Builder |
setDecommissionedWorkerNum(int value)
optional int32 decommissionedWorkerNum = 8; |
BlockMasterInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BlockMasterInfo.Builder |
setFreeBytes(long value)
optional int64 freeBytes = 3; |
BlockMasterInfo.Builder |
setLiveWorkerNum(int value)
optional int32 liveWorkerNum = 4; |
BlockMasterInfo.Builder |
setLostWorkerNum(int value)
optional int32 lostWorkerNum = 5; |
BlockMasterInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BlockMasterInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BlockMasterInfo.Builder |
setUsedBytes(long value)
optional int64 usedBytes = 6; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, 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.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockMasterInfo.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockMasterInfo.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockMasterInfo.Builder>
public BlockMasterInfo.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<BlockMasterInfo.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<BlockMasterInfo.Builder>
public BlockMasterInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public BlockMasterInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public BlockMasterInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public BlockMasterInfo.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<BlockMasterInfo.Builder>
public BlockMasterInfo.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<BlockMasterInfo.Builder>
public BlockMasterInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockMasterInfo.Builder>
public BlockMasterInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockMasterInfo.Builder>
public BlockMasterInfo.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<BlockMasterInfo.Builder>
public BlockMasterInfo.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<BlockMasterInfo.Builder>
public BlockMasterInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BlockMasterInfo.Builder>
public BlockMasterInfo.Builder mergeFrom(BlockMasterInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockMasterInfo.Builder>
public BlockMasterInfo.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<BlockMasterInfo.Builder>
IOException
public boolean hasCapacityBytes()
optional int64 capacityBytes = 1;
hasCapacityBytes
in interface BlockMasterInfoOrBuilder
public long getCapacityBytes()
optional int64 capacityBytes = 1;
getCapacityBytes
in interface BlockMasterInfoOrBuilder
public BlockMasterInfo.Builder setCapacityBytes(long value)
optional int64 capacityBytes = 1;
value
- The capacityBytes to set.public BlockMasterInfo.Builder clearCapacityBytes()
optional int64 capacityBytes = 1;
public int getCapacityBytesOnTiersCount()
BlockMasterInfoOrBuilder
map<string, int64> capacityBytesOnTiers = 2;
getCapacityBytesOnTiersCount
in interface BlockMasterInfoOrBuilder
public boolean containsCapacityBytesOnTiers(String key)
map<string, int64> capacityBytesOnTiers = 2;
containsCapacityBytesOnTiers
in interface BlockMasterInfoOrBuilder
@Deprecated public Map<String,Long> getCapacityBytesOnTiers()
getCapacityBytesOnTiersMap()
instead.getCapacityBytesOnTiers
in interface BlockMasterInfoOrBuilder
public Map<String,Long> getCapacityBytesOnTiersMap()
map<string, int64> capacityBytesOnTiers = 2;
getCapacityBytesOnTiersMap
in interface BlockMasterInfoOrBuilder
public long getCapacityBytesOnTiersOrDefault(String key, long defaultValue)
map<string, int64> capacityBytesOnTiers = 2;
getCapacityBytesOnTiersOrDefault
in interface BlockMasterInfoOrBuilder
public long getCapacityBytesOnTiersOrThrow(String key)
map<string, int64> capacityBytesOnTiers = 2;
getCapacityBytesOnTiersOrThrow
in interface BlockMasterInfoOrBuilder
public BlockMasterInfo.Builder clearCapacityBytesOnTiers()
public BlockMasterInfo.Builder removeCapacityBytesOnTiers(String key)
map<string, int64> capacityBytesOnTiers = 2;
@Deprecated public Map<String,Long> getMutableCapacityBytesOnTiers()
public BlockMasterInfo.Builder putCapacityBytesOnTiers(String key, long value)
map<string, int64> capacityBytesOnTiers = 2;
public BlockMasterInfo.Builder putAllCapacityBytesOnTiers(Map<String,Long> values)
map<string, int64> capacityBytesOnTiers = 2;
public boolean hasFreeBytes()
optional int64 freeBytes = 3;
hasFreeBytes
in interface BlockMasterInfoOrBuilder
public long getFreeBytes()
optional int64 freeBytes = 3;
getFreeBytes
in interface BlockMasterInfoOrBuilder
public BlockMasterInfo.Builder setFreeBytes(long value)
optional int64 freeBytes = 3;
value
- The freeBytes to set.public BlockMasterInfo.Builder clearFreeBytes()
optional int64 freeBytes = 3;
public boolean hasLiveWorkerNum()
optional int32 liveWorkerNum = 4;
hasLiveWorkerNum
in interface BlockMasterInfoOrBuilder
public int getLiveWorkerNum()
optional int32 liveWorkerNum = 4;
getLiveWorkerNum
in interface BlockMasterInfoOrBuilder
public BlockMasterInfo.Builder setLiveWorkerNum(int value)
optional int32 liveWorkerNum = 4;
value
- The liveWorkerNum to set.public BlockMasterInfo.Builder clearLiveWorkerNum()
optional int32 liveWorkerNum = 4;
public boolean hasLostWorkerNum()
optional int32 lostWorkerNum = 5;
hasLostWorkerNum
in interface BlockMasterInfoOrBuilder
public int getLostWorkerNum()
optional int32 lostWorkerNum = 5;
getLostWorkerNum
in interface BlockMasterInfoOrBuilder
public BlockMasterInfo.Builder setLostWorkerNum(int value)
optional int32 lostWorkerNum = 5;
value
- The lostWorkerNum to set.public BlockMasterInfo.Builder clearLostWorkerNum()
optional int32 lostWorkerNum = 5;
public boolean hasUsedBytes()
optional int64 usedBytes = 6;
hasUsedBytes
in interface BlockMasterInfoOrBuilder
public long getUsedBytes()
optional int64 usedBytes = 6;
getUsedBytes
in interface BlockMasterInfoOrBuilder
public BlockMasterInfo.Builder setUsedBytes(long value)
optional int64 usedBytes = 6;
value
- The usedBytes to set.public BlockMasterInfo.Builder clearUsedBytes()
optional int64 usedBytes = 6;
public int getUsedBytesOnTiersCount()
BlockMasterInfoOrBuilder
map<string, int64> usedBytesOnTiers = 7;
getUsedBytesOnTiersCount
in interface BlockMasterInfoOrBuilder
public boolean containsUsedBytesOnTiers(String key)
map<string, int64> usedBytesOnTiers = 7;
containsUsedBytesOnTiers
in interface BlockMasterInfoOrBuilder
@Deprecated public Map<String,Long> getUsedBytesOnTiers()
getUsedBytesOnTiersMap()
instead.getUsedBytesOnTiers
in interface BlockMasterInfoOrBuilder
public Map<String,Long> getUsedBytesOnTiersMap()
map<string, int64> usedBytesOnTiers = 7;
getUsedBytesOnTiersMap
in interface BlockMasterInfoOrBuilder
public long getUsedBytesOnTiersOrDefault(String key, long defaultValue)
map<string, int64> usedBytesOnTiers = 7;
getUsedBytesOnTiersOrDefault
in interface BlockMasterInfoOrBuilder
public long getUsedBytesOnTiersOrThrow(String key)
map<string, int64> usedBytesOnTiers = 7;
getUsedBytesOnTiersOrThrow
in interface BlockMasterInfoOrBuilder
public BlockMasterInfo.Builder clearUsedBytesOnTiers()
public BlockMasterInfo.Builder removeUsedBytesOnTiers(String key)
map<string, int64> usedBytesOnTiers = 7;
@Deprecated public Map<String,Long> getMutableUsedBytesOnTiers()
public BlockMasterInfo.Builder putUsedBytesOnTiers(String key, long value)
map<string, int64> usedBytesOnTiers = 7;
public BlockMasterInfo.Builder putAllUsedBytesOnTiers(Map<String,Long> values)
map<string, int64> usedBytesOnTiers = 7;
public boolean hasDecommissionedWorkerNum()
optional int32 decommissionedWorkerNum = 8;
hasDecommissionedWorkerNum
in interface BlockMasterInfoOrBuilder
public int getDecommissionedWorkerNum()
optional int32 decommissionedWorkerNum = 8;
getDecommissionedWorkerNum
in interface BlockMasterInfoOrBuilder
public BlockMasterInfo.Builder setDecommissionedWorkerNum(int value)
optional int32 decommissionedWorkerNum = 8;
value
- The decommissionedWorkerNum to set.public BlockMasterInfo.Builder clearDecommissionedWorkerNum()
optional int32 decommissionedWorkerNum = 8;
public final BlockMasterInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockMasterInfo.Builder>
public final BlockMasterInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BlockMasterInfo.Builder>
Copyright © 2023. All Rights Reserved.