public final class JobWorkerHealth extends com.google.protobuf.GeneratedMessageV3 implements JobWorkerHealthOrBuilder
alluxio.grpc.job.JobWorkerHealth
Modifier and Type | Class and Description |
---|---|
static class |
JobWorkerHealth.Builder
Protobuf type
alluxio.grpc.job.JobWorkerHealth |
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 |
HOSTNAME_FIELD_NUMBER |
static int |
LASTUPDATED_FIELD_NUMBER |
static int |
LOADAVERAGE_FIELD_NUMBER |
static int |
NUMACTIVETASKS_FIELD_NUMBER |
static com.google.protobuf.Parser<JobWorkerHealth> |
PARSER
Deprecated.
|
static int |
TASKPOOLSIZE_FIELD_NUMBER |
static int |
UNFINISHEDTASKS_FIELD_NUMBER |
static int |
WORKERID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static JobWorkerHealth |
getDefaultInstance() |
JobWorkerHealth |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHostname()
optional string hostname = 4; |
com.google.protobuf.ByteString |
getHostnameBytes()
optional string hostname = 4; |
long |
getLastUpdated()
optional int64 lastUpdated = 3; |
double |
getLoadAverage(int index)
repeated double loadAverage = 2; |
int |
getLoadAverageCount()
repeated double loadAverage = 2; |
List<Double> |
getLoadAverageList()
repeated double loadAverage = 2; |
int |
getNumActiveTasks()
optional int32 numActiveTasks = 6; |
com.google.protobuf.Parser<JobWorkerHealth> |
getParserForType() |
int |
getSerializedSize() |
int |
getTaskPoolSize()
optional int32 taskPoolSize = 5; |
int |
getUnfinishedTasks()
optional int32 unfinishedTasks = 7; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
long |
getWorkerId()
optional int64 workerId = 1; |
int |
hashCode() |
boolean |
hasHostname()
optional string hostname = 4; |
boolean |
hasLastUpdated()
optional int64 lastUpdated = 3; |
boolean |
hasNumActiveTasks()
optional int32 numActiveTasks = 6; |
boolean |
hasTaskPoolSize()
optional int32 taskPoolSize = 5; |
boolean |
hasUnfinishedTasks()
optional int32 unfinishedTasks = 7; |
boolean |
hasWorkerId()
optional int64 workerId = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static JobWorkerHealth.Builder |
newBuilder() |
static JobWorkerHealth.Builder |
newBuilder(JobWorkerHealth prototype) |
JobWorkerHealth.Builder |
newBuilderForType() |
protected JobWorkerHealth.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static JobWorkerHealth |
parseDelimitedFrom(InputStream input) |
static JobWorkerHealth |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobWorkerHealth |
parseFrom(byte[] data) |
static JobWorkerHealth |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobWorkerHealth |
parseFrom(ByteBuffer data) |
static JobWorkerHealth |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobWorkerHealth |
parseFrom(com.google.protobuf.ByteString data) |
static JobWorkerHealth |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobWorkerHealth |
parseFrom(com.google.protobuf.CodedInputStream input) |
static JobWorkerHealth |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobWorkerHealth |
parseFrom(InputStream input) |
static JobWorkerHealth |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<JobWorkerHealth> |
parser() |
JobWorkerHealth.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, internalGetMapField, isStringEmpty, 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 WORKERID_FIELD_NUMBER
public static final int LOADAVERAGE_FIELD_NUMBER
public static final int LASTUPDATED_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER
public static final int TASKPOOLSIZE_FIELD_NUMBER
public static final int NUMACTIVETASKS_FIELD_NUMBER
public static final int UNFINISHEDTASKS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<JobWorkerHealth> 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasWorkerId()
optional int64 workerId = 1;
hasWorkerId
in interface JobWorkerHealthOrBuilder
public long getWorkerId()
optional int64 workerId = 1;
getWorkerId
in interface JobWorkerHealthOrBuilder
public List<Double> getLoadAverageList()
repeated double loadAverage = 2;
getLoadAverageList
in interface JobWorkerHealthOrBuilder
public int getLoadAverageCount()
repeated double loadAverage = 2;
getLoadAverageCount
in interface JobWorkerHealthOrBuilder
public double getLoadAverage(int index)
repeated double loadAverage = 2;
getLoadAverage
in interface JobWorkerHealthOrBuilder
index
- The index of the element to return.public boolean hasLastUpdated()
optional int64 lastUpdated = 3;
hasLastUpdated
in interface JobWorkerHealthOrBuilder
public long getLastUpdated()
optional int64 lastUpdated = 3;
getLastUpdated
in interface JobWorkerHealthOrBuilder
public boolean hasHostname()
optional string hostname = 4;
hasHostname
in interface JobWorkerHealthOrBuilder
public String getHostname()
optional string hostname = 4;
getHostname
in interface JobWorkerHealthOrBuilder
public com.google.protobuf.ByteString getHostnameBytes()
optional string hostname = 4;
getHostnameBytes
in interface JobWorkerHealthOrBuilder
public boolean hasTaskPoolSize()
optional int32 taskPoolSize = 5;
hasTaskPoolSize
in interface JobWorkerHealthOrBuilder
public int getTaskPoolSize()
optional int32 taskPoolSize = 5;
getTaskPoolSize
in interface JobWorkerHealthOrBuilder
public boolean hasNumActiveTasks()
optional int32 numActiveTasks = 6;
hasNumActiveTasks
in interface JobWorkerHealthOrBuilder
public int getNumActiveTasks()
optional int32 numActiveTasks = 6;
getNumActiveTasks
in interface JobWorkerHealthOrBuilder
public boolean hasUnfinishedTasks()
optional int32 unfinishedTasks = 7;
hasUnfinishedTasks
in interface JobWorkerHealthOrBuilder
public int getUnfinishedTasks()
optional int32 unfinishedTasks = 7;
getUnfinishedTasks
in interface JobWorkerHealthOrBuilder
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 JobWorkerHealth parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static JobWorkerHealth parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static JobWorkerHealth parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static JobWorkerHealth parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static JobWorkerHealth parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static JobWorkerHealth parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static JobWorkerHealth parseFrom(InputStream input) throws IOException
IOException
public static JobWorkerHealth parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static JobWorkerHealth parseDelimitedFrom(InputStream input) throws IOException
IOException
public static JobWorkerHealth parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static JobWorkerHealth parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static JobWorkerHealth parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public JobWorkerHealth.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static JobWorkerHealth.Builder newBuilder()
public static JobWorkerHealth.Builder newBuilder(JobWorkerHealth prototype)
public JobWorkerHealth.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected JobWorkerHealth.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static JobWorkerHealth getDefaultInstance()
public static com.google.protobuf.Parser<JobWorkerHealth> parser()
public com.google.protobuf.Parser<JobWorkerHealth> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public JobWorkerHealth getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023. All Rights Reserved.