public static final class WorkerInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkerInfo.Builder> implements WorkerInfoOrBuilder
alluxio.grpc.block.WorkerInfo
Modifier and Type | Method and Description |
---|---|
WorkerInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WorkerInfo |
build() |
WorkerInfo |
buildPartial() |
WorkerInfo.Builder |
clear() |
WorkerInfo.Builder |
clearAddress()
optional .alluxio.grpc.WorkerNetAddress address = 2; |
WorkerInfo.Builder |
clearBuildVersion()
optional .alluxio.grpc.BuildVersion buildVersion = 10; |
WorkerInfo.Builder |
clearCapacityBytes()
optional int64 capacityBytes = 5; |
WorkerInfo.Builder |
clearCapacityBytesOnTiers() |
WorkerInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
WorkerInfo.Builder |
clearId()
optional int64 id = 1; |
WorkerInfo.Builder |
clearLastContactSec()
optional int32 lastContactSec = 3; |
WorkerInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WorkerInfo.Builder |
clearStartTimeMs()
optional int64 startTimeMs = 7; |
WorkerInfo.Builder |
clearState()
optional string state = 4; |
WorkerInfo.Builder |
clearUsedBytes()
optional int64 usedBytes = 6; |
WorkerInfo.Builder |
clearUsedBytesOnTiers() |
WorkerInfo.Builder |
clone() |
boolean |
containsCapacityBytesOnTiers(String key)
map<string, int64> capacityBytesOnTiers = 8; |
boolean |
containsUsedBytesOnTiers(String key)
map<string, int64> usedBytesOnTiers = 9; |
WorkerNetAddress |
getAddress()
optional .alluxio.grpc.WorkerNetAddress address = 2; |
WorkerNetAddress.Builder |
getAddressBuilder()
optional .alluxio.grpc.WorkerNetAddress address = 2; |
WorkerNetAddressOrBuilder |
getAddressOrBuilder()
optional .alluxio.grpc.WorkerNetAddress address = 2; |
BuildVersion |
getBuildVersion()
optional .alluxio.grpc.BuildVersion buildVersion = 10; |
BuildVersion.Builder |
getBuildVersionBuilder()
optional .alluxio.grpc.BuildVersion buildVersion = 10; |
BuildVersionOrBuilder |
getBuildVersionOrBuilder()
optional .alluxio.grpc.BuildVersion buildVersion = 10; |
long |
getCapacityBytes()
optional int64 capacityBytes = 5; |
Map<String,Long> |
getCapacityBytesOnTiers()
Deprecated.
|
int |
getCapacityBytesOnTiersCount()
map<string, int64> capacityBytesOnTiers = 8; |
Map<String,Long> |
getCapacityBytesOnTiersMap()
map<string, int64> capacityBytesOnTiers = 8; |
long |
getCapacityBytesOnTiersOrDefault(String key,
long defaultValue)
map<string, int64> capacityBytesOnTiers = 8; |
long |
getCapacityBytesOnTiersOrThrow(String key)
map<string, int64> capacityBytesOnTiers = 8; |
WorkerInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getId()
optional int64 id = 1; |
int |
getLastContactSec()
optional int32 lastContactSec = 3; |
Map<String,Long> |
getMutableCapacityBytesOnTiers()
Deprecated.
|
Map<String,Long> |
getMutableUsedBytesOnTiers()
Deprecated.
|
long |
getStartTimeMs()
optional int64 startTimeMs = 7; |
String |
getState()
optional string state = 4; |
com.google.protobuf.ByteString |
getStateBytes()
optional string state = 4; |
long |
getUsedBytes()
optional int64 usedBytes = 6; |
Map<String,Long> |
getUsedBytesOnTiers()
Deprecated.
|
int |
getUsedBytesOnTiersCount()
map<string, int64> usedBytesOnTiers = 9; |
Map<String,Long> |
getUsedBytesOnTiersMap()
map<string, int64> usedBytesOnTiers = 9; |
long |
getUsedBytesOnTiersOrDefault(String key,
long defaultValue)
map<string, int64> usedBytesOnTiers = 9; |
long |
getUsedBytesOnTiersOrThrow(String key)
map<string, int64> usedBytesOnTiers = 9; |
boolean |
hasAddress()
optional .alluxio.grpc.WorkerNetAddress address = 2; |
boolean |
hasBuildVersion()
optional .alluxio.grpc.BuildVersion buildVersion = 10; |
boolean |
hasCapacityBytes()
optional int64 capacityBytes = 5; |
boolean |
hasId()
optional int64 id = 1; |
boolean |
hasLastContactSec()
optional int32 lastContactSec = 3; |
boolean |
hasStartTimeMs()
optional int64 startTimeMs = 7; |
boolean |
hasState()
optional string state = 4; |
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() |
WorkerInfo.Builder |
mergeAddress(WorkerNetAddress value)
optional .alluxio.grpc.WorkerNetAddress address = 2; |
WorkerInfo.Builder |
mergeBuildVersion(BuildVersion value)
optional .alluxio.grpc.BuildVersion buildVersion = 10; |
WorkerInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WorkerInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
WorkerInfo.Builder |
mergeFrom(WorkerInfo other) |
WorkerInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WorkerInfo.Builder |
putAllCapacityBytesOnTiers(Map<String,Long> values)
map<string, int64> capacityBytesOnTiers = 8; |
WorkerInfo.Builder |
putAllUsedBytesOnTiers(Map<String,Long> values)
map<string, int64> usedBytesOnTiers = 9; |
WorkerInfo.Builder |
putCapacityBytesOnTiers(String key,
long value)
map<string, int64> capacityBytesOnTiers = 8; |
WorkerInfo.Builder |
putUsedBytesOnTiers(String key,
long value)
map<string, int64> usedBytesOnTiers = 9; |
WorkerInfo.Builder |
removeCapacityBytesOnTiers(String key)
map<string, int64> capacityBytesOnTiers = 8; |
WorkerInfo.Builder |
removeUsedBytesOnTiers(String key)
map<string, int64> usedBytesOnTiers = 9; |
WorkerInfo.Builder |
setAddress(WorkerNetAddress.Builder builderForValue)
optional .alluxio.grpc.WorkerNetAddress address = 2; |
WorkerInfo.Builder |
setAddress(WorkerNetAddress value)
optional .alluxio.grpc.WorkerNetAddress address = 2; |
WorkerInfo.Builder |
setBuildVersion(BuildVersion.Builder builderForValue)
optional .alluxio.grpc.BuildVersion buildVersion = 10; |
WorkerInfo.Builder |
setBuildVersion(BuildVersion value)
optional .alluxio.grpc.BuildVersion buildVersion = 10; |
WorkerInfo.Builder |
setCapacityBytes(long value)
optional int64 capacityBytes = 5; |
WorkerInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WorkerInfo.Builder |
setId(long value)
optional int64 id = 1; |
WorkerInfo.Builder |
setLastContactSec(int value)
optional int32 lastContactSec = 3; |
WorkerInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
WorkerInfo.Builder |
setStartTimeMs(long value)
optional int64 startTimeMs = 7; |
WorkerInfo.Builder |
setState(String value)
optional string state = 4; |
WorkerInfo.Builder |
setStateBytes(com.google.protobuf.ByteString value)
optional string state = 4; |
WorkerInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WorkerInfo.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<WorkerInfo.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerInfo.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerInfo.Builder>
public WorkerInfo.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<WorkerInfo.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<WorkerInfo.Builder>
public WorkerInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public WorkerInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public WorkerInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public WorkerInfo.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<WorkerInfo.Builder>
public WorkerInfo.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<WorkerInfo.Builder>
public WorkerInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerInfo.Builder>
public WorkerInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerInfo.Builder>
public WorkerInfo.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<WorkerInfo.Builder>
public WorkerInfo.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<WorkerInfo.Builder>
public WorkerInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WorkerInfo.Builder>
public WorkerInfo.Builder mergeFrom(WorkerInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerInfo.Builder>
public WorkerInfo.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<WorkerInfo.Builder>
IOException
public boolean hasId()
optional int64 id = 1;
hasId
in interface WorkerInfoOrBuilder
public long getId()
optional int64 id = 1;
getId
in interface WorkerInfoOrBuilder
public WorkerInfo.Builder setId(long value)
optional int64 id = 1;
value
- The id to set.public WorkerInfo.Builder clearId()
optional int64 id = 1;
public boolean hasAddress()
optional .alluxio.grpc.WorkerNetAddress address = 2;
hasAddress
in interface WorkerInfoOrBuilder
public WorkerNetAddress getAddress()
optional .alluxio.grpc.WorkerNetAddress address = 2;
getAddress
in interface WorkerInfoOrBuilder
public WorkerInfo.Builder setAddress(WorkerNetAddress value)
optional .alluxio.grpc.WorkerNetAddress address = 2;
public WorkerInfo.Builder setAddress(WorkerNetAddress.Builder builderForValue)
optional .alluxio.grpc.WorkerNetAddress address = 2;
public WorkerInfo.Builder mergeAddress(WorkerNetAddress value)
optional .alluxio.grpc.WorkerNetAddress address = 2;
public WorkerInfo.Builder clearAddress()
optional .alluxio.grpc.WorkerNetAddress address = 2;
public WorkerNetAddress.Builder getAddressBuilder()
optional .alluxio.grpc.WorkerNetAddress address = 2;
public WorkerNetAddressOrBuilder getAddressOrBuilder()
optional .alluxio.grpc.WorkerNetAddress address = 2;
getAddressOrBuilder
in interface WorkerInfoOrBuilder
public boolean hasLastContactSec()
optional int32 lastContactSec = 3;
hasLastContactSec
in interface WorkerInfoOrBuilder
public int getLastContactSec()
optional int32 lastContactSec = 3;
getLastContactSec
in interface WorkerInfoOrBuilder
public WorkerInfo.Builder setLastContactSec(int value)
optional int32 lastContactSec = 3;
value
- The lastContactSec to set.public WorkerInfo.Builder clearLastContactSec()
optional int32 lastContactSec = 3;
public boolean hasState()
optional string state = 4;
hasState
in interface WorkerInfoOrBuilder
public String getState()
optional string state = 4;
getState
in interface WorkerInfoOrBuilder
public com.google.protobuf.ByteString getStateBytes()
optional string state = 4;
getStateBytes
in interface WorkerInfoOrBuilder
public WorkerInfo.Builder setState(String value)
optional string state = 4;
value
- The state to set.public WorkerInfo.Builder clearState()
optional string state = 4;
public WorkerInfo.Builder setStateBytes(com.google.protobuf.ByteString value)
optional string state = 4;
value
- The bytes for state to set.public boolean hasCapacityBytes()
optional int64 capacityBytes = 5;
hasCapacityBytes
in interface WorkerInfoOrBuilder
public long getCapacityBytes()
optional int64 capacityBytes = 5;
getCapacityBytes
in interface WorkerInfoOrBuilder
public WorkerInfo.Builder setCapacityBytes(long value)
optional int64 capacityBytes = 5;
value
- The capacityBytes to set.public WorkerInfo.Builder clearCapacityBytes()
optional int64 capacityBytes = 5;
public boolean hasUsedBytes()
optional int64 usedBytes = 6;
hasUsedBytes
in interface WorkerInfoOrBuilder
public long getUsedBytes()
optional int64 usedBytes = 6;
getUsedBytes
in interface WorkerInfoOrBuilder
public WorkerInfo.Builder setUsedBytes(long value)
optional int64 usedBytes = 6;
value
- The usedBytes to set.public WorkerInfo.Builder clearUsedBytes()
optional int64 usedBytes = 6;
public boolean hasStartTimeMs()
optional int64 startTimeMs = 7;
hasStartTimeMs
in interface WorkerInfoOrBuilder
public long getStartTimeMs()
optional int64 startTimeMs = 7;
getStartTimeMs
in interface WorkerInfoOrBuilder
public WorkerInfo.Builder setStartTimeMs(long value)
optional int64 startTimeMs = 7;
value
- The startTimeMs to set.public WorkerInfo.Builder clearStartTimeMs()
optional int64 startTimeMs = 7;
public int getCapacityBytesOnTiersCount()
WorkerInfoOrBuilder
map<string, int64> capacityBytesOnTiers = 8;
getCapacityBytesOnTiersCount
in interface WorkerInfoOrBuilder
public boolean containsCapacityBytesOnTiers(String key)
map<string, int64> capacityBytesOnTiers = 8;
containsCapacityBytesOnTiers
in interface WorkerInfoOrBuilder
@Deprecated public Map<String,Long> getCapacityBytesOnTiers()
getCapacityBytesOnTiersMap()
instead.getCapacityBytesOnTiers
in interface WorkerInfoOrBuilder
public Map<String,Long> getCapacityBytesOnTiersMap()
map<string, int64> capacityBytesOnTiers = 8;
getCapacityBytesOnTiersMap
in interface WorkerInfoOrBuilder
public long getCapacityBytesOnTiersOrDefault(String key, long defaultValue)
map<string, int64> capacityBytesOnTiers = 8;
getCapacityBytesOnTiersOrDefault
in interface WorkerInfoOrBuilder
public long getCapacityBytesOnTiersOrThrow(String key)
map<string, int64> capacityBytesOnTiers = 8;
getCapacityBytesOnTiersOrThrow
in interface WorkerInfoOrBuilder
public WorkerInfo.Builder clearCapacityBytesOnTiers()
public WorkerInfo.Builder removeCapacityBytesOnTiers(String key)
map<string, int64> capacityBytesOnTiers = 8;
@Deprecated public Map<String,Long> getMutableCapacityBytesOnTiers()
public WorkerInfo.Builder putCapacityBytesOnTiers(String key, long value)
map<string, int64> capacityBytesOnTiers = 8;
public WorkerInfo.Builder putAllCapacityBytesOnTiers(Map<String,Long> values)
map<string, int64> capacityBytesOnTiers = 8;
public int getUsedBytesOnTiersCount()
WorkerInfoOrBuilder
map<string, int64> usedBytesOnTiers = 9;
getUsedBytesOnTiersCount
in interface WorkerInfoOrBuilder
public boolean containsUsedBytesOnTiers(String key)
map<string, int64> usedBytesOnTiers = 9;
containsUsedBytesOnTiers
in interface WorkerInfoOrBuilder
@Deprecated public Map<String,Long> getUsedBytesOnTiers()
getUsedBytesOnTiersMap()
instead.getUsedBytesOnTiers
in interface WorkerInfoOrBuilder
public Map<String,Long> getUsedBytesOnTiersMap()
map<string, int64> usedBytesOnTiers = 9;
getUsedBytesOnTiersMap
in interface WorkerInfoOrBuilder
public long getUsedBytesOnTiersOrDefault(String key, long defaultValue)
map<string, int64> usedBytesOnTiers = 9;
getUsedBytesOnTiersOrDefault
in interface WorkerInfoOrBuilder
public long getUsedBytesOnTiersOrThrow(String key)
map<string, int64> usedBytesOnTiers = 9;
getUsedBytesOnTiersOrThrow
in interface WorkerInfoOrBuilder
public WorkerInfo.Builder clearUsedBytesOnTiers()
public WorkerInfo.Builder removeUsedBytesOnTiers(String key)
map<string, int64> usedBytesOnTiers = 9;
@Deprecated public Map<String,Long> getMutableUsedBytesOnTiers()
public WorkerInfo.Builder putUsedBytesOnTiers(String key, long value)
map<string, int64> usedBytesOnTiers = 9;
public WorkerInfo.Builder putAllUsedBytesOnTiers(Map<String,Long> values)
map<string, int64> usedBytesOnTiers = 9;
public boolean hasBuildVersion()
optional .alluxio.grpc.BuildVersion buildVersion = 10;
hasBuildVersion
in interface WorkerInfoOrBuilder
public BuildVersion getBuildVersion()
optional .alluxio.grpc.BuildVersion buildVersion = 10;
getBuildVersion
in interface WorkerInfoOrBuilder
public WorkerInfo.Builder setBuildVersion(BuildVersion value)
optional .alluxio.grpc.BuildVersion buildVersion = 10;
public WorkerInfo.Builder setBuildVersion(BuildVersion.Builder builderForValue)
optional .alluxio.grpc.BuildVersion buildVersion = 10;
public WorkerInfo.Builder mergeBuildVersion(BuildVersion value)
optional .alluxio.grpc.BuildVersion buildVersion = 10;
public WorkerInfo.Builder clearBuildVersion()
optional .alluxio.grpc.BuildVersion buildVersion = 10;
public BuildVersion.Builder getBuildVersionBuilder()
optional .alluxio.grpc.BuildVersion buildVersion = 10;
public BuildVersionOrBuilder getBuildVersionOrBuilder()
optional .alluxio.grpc.BuildVersion buildVersion = 10;
getBuildVersionOrBuilder
in interface WorkerInfoOrBuilder
public final WorkerInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerInfo.Builder>
public final WorkerInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WorkerInfo.Builder>
Copyright © 2023. All Rights Reserved.