public final class WorkerInfo extends com.google.protobuf.GeneratedMessageV3 implements WorkerInfoOrBuilder
alluxio.grpc.block.WorkerInfo
Modifier and Type | Class and Description |
---|---|
static class |
WorkerInfo.Builder
Protobuf type
alluxio.grpc.block.WorkerInfo |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
ADDRESS_FIELD_NUMBER |
static int |
CAPACITYBYTES_FIELD_NUMBER |
static int |
CAPACITYBYTESONTIERS_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
LASTCONTACTSEC_FIELD_NUMBER |
static com.google.protobuf.Parser<WorkerInfo> |
PARSER
Deprecated.
|
static int |
STARTTIMEMS_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
USEDBYTES_FIELD_NUMBER |
static int |
USEDBYTESONTIERS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsCapacityBytesOnTiers(String key)
map<string, int64> capacityBytesOnTiers = 8; |
boolean |
containsUsedBytesOnTiers(String key)
map<string, int64> usedBytesOnTiers = 9; |
boolean |
equals(Object obj) |
WorkerNetAddress |
getAddress()
optional .alluxio.grpc.WorkerNetAddress address = 2; |
WorkerNetAddressOrBuilder |
getAddressOrBuilder()
optional .alluxio.grpc.WorkerNetAddress address = 2; |
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; |
static WorkerInfo |
getDefaultInstance() |
WorkerInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getId()
optional int64 id = 1; |
int |
getLastContactSec()
optional int32 lastContactSec = 3; |
com.google.protobuf.Parser<WorkerInfo> |
getParserForType() |
int |
getSerializedSize() |
long |
getStartTimeMs()
optional int64 startTimeMs = 7; |
String |
getState()
optional string state = 4; |
com.google.protobuf.ByteString |
getStateBytes()
optional string state = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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 |
hasCapacityBytes()
optional int64 capacityBytes = 5; |
int |
hashCode() |
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) |
boolean |
isInitialized() |
static WorkerInfo.Builder |
newBuilder() |
static WorkerInfo.Builder |
newBuilder(WorkerInfo prototype) |
WorkerInfo.Builder |
newBuilderForType() |
protected WorkerInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static WorkerInfo |
parseDelimitedFrom(InputStream input) |
static WorkerInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkerInfo |
parseFrom(byte[] data) |
static WorkerInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkerInfo |
parseFrom(ByteBuffer data) |
static WorkerInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkerInfo |
parseFrom(com.google.protobuf.ByteString data) |
static WorkerInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkerInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WorkerInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkerInfo |
parseFrom(InputStream input) |
static WorkerInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WorkerInfo> |
parser() |
WorkerInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int ID_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
public static final int LASTCONTACTSEC_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int CAPACITYBYTES_FIELD_NUMBER
public static final int USEDBYTES_FIELD_NUMBER
public static final int STARTTIMEMS_FIELD_NUMBER
public static final int CAPACITYBYTESONTIERS_FIELD_NUMBER
public static final int USEDBYTESONTIERS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<WorkerInfo> PARSER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasId()
optional int64 id = 1;
hasId
in interface WorkerInfoOrBuilder
public long getId()
optional int64 id = 1;
getId
in interface WorkerInfoOrBuilder
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 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 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 boolean hasCapacityBytes()
optional int64 capacityBytes = 5;
hasCapacityBytes
in interface WorkerInfoOrBuilder
public long getCapacityBytes()
optional int64 capacityBytes = 5;
getCapacityBytes
in interface WorkerInfoOrBuilder
public boolean hasUsedBytes()
optional int64 usedBytes = 6;
hasUsedBytes
in interface WorkerInfoOrBuilder
public long getUsedBytes()
optional int64 usedBytes = 6;
getUsedBytes
in interface WorkerInfoOrBuilder
public boolean hasStartTimeMs()
optional int64 startTimeMs = 7;
hasStartTimeMs
in interface WorkerInfoOrBuilder
public long getStartTimeMs()
optional int64 startTimeMs = 7;
getStartTimeMs
in interface WorkerInfoOrBuilder
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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static WorkerInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WorkerInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WorkerInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WorkerInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WorkerInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WorkerInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WorkerInfo parseFrom(InputStream input) throws IOException
IOException
public static WorkerInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WorkerInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static WorkerInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WorkerInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static WorkerInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public WorkerInfo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static WorkerInfo.Builder newBuilder()
public static WorkerInfo.Builder newBuilder(WorkerInfo prototype)
public WorkerInfo.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected WorkerInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static WorkerInfo getDefaultInstance()
public static com.google.protobuf.Parser<WorkerInfo> parser()
public com.google.protobuf.Parser<WorkerInfo> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public WorkerInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023. All Rights Reserved.