public static final class JobWorkerHealth.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<JobWorkerHealth.Builder> implements JobWorkerHealthOrBuilder
alluxio.grpc.job.JobWorkerHealth
Modifier and Type | Method and Description |
---|---|
JobWorkerHealth.Builder |
addAllLoadAverage(Iterable<? extends Double> values)
repeated double loadAverage = 2; |
JobWorkerHealth.Builder |
addLoadAverage(double value)
repeated double loadAverage = 2; |
JobWorkerHealth.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
JobWorkerHealth |
build() |
JobWorkerHealth |
buildPartial() |
JobWorkerHealth.Builder |
clear() |
JobWorkerHealth.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
JobWorkerHealth.Builder |
clearHostname()
optional string hostname = 4; |
JobWorkerHealth.Builder |
clearLastUpdated()
optional int64 lastUpdated = 3; |
JobWorkerHealth.Builder |
clearLoadAverage()
repeated double loadAverage = 2; |
JobWorkerHealth.Builder |
clearNumActiveTasks()
optional int32 numActiveTasks = 6; |
JobWorkerHealth.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
JobWorkerHealth.Builder |
clearTaskPoolSize()
optional int32 taskPoolSize = 5; |
JobWorkerHealth.Builder |
clearUnfinishedTasks()
optional int32 unfinishedTasks = 7; |
JobWorkerHealth.Builder |
clearWorkerId()
optional int64 workerId = 1; |
JobWorkerHealth.Builder |
clone() |
JobWorkerHealth |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
int |
getTaskPoolSize()
optional int32 taskPoolSize = 5; |
int |
getUnfinishedTasks()
optional int32 unfinishedTasks = 7; |
long |
getWorkerId()
optional int64 workerId = 1; |
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() |
JobWorkerHealth.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
JobWorkerHealth.Builder |
mergeFrom(JobWorkerHealth other) |
JobWorkerHealth.Builder |
mergeFrom(com.google.protobuf.Message other) |
JobWorkerHealth.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
JobWorkerHealth.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
JobWorkerHealth.Builder |
setHostname(String value)
optional string hostname = 4; |
JobWorkerHealth.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
optional string hostname = 4; |
JobWorkerHealth.Builder |
setLastUpdated(long value)
optional int64 lastUpdated = 3; |
JobWorkerHealth.Builder |
setLoadAverage(int index,
double value)
repeated double loadAverage = 2; |
JobWorkerHealth.Builder |
setNumActiveTasks(int value)
optional int32 numActiveTasks = 6; |
JobWorkerHealth.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
JobWorkerHealth.Builder |
setTaskPoolSize(int value)
optional int32 taskPoolSize = 5; |
JobWorkerHealth.Builder |
setUnfinishedTasks(int value)
optional int32 unfinishedTasks = 7; |
JobWorkerHealth.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
JobWorkerHealth.Builder |
setWorkerId(long value)
optional int64 workerId = 1; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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<JobWorkerHealth.Builder>
public JobWorkerHealth.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<JobWorkerHealth.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<JobWorkerHealth.Builder>
public JobWorkerHealth getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public JobWorkerHealth build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public JobWorkerHealth buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public JobWorkerHealth.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<JobWorkerHealth.Builder>
public JobWorkerHealth.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<JobWorkerHealth.Builder>
public JobWorkerHealth.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<JobWorkerHealth.Builder>
public JobWorkerHealth.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<JobWorkerHealth.Builder>
public JobWorkerHealth.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<JobWorkerHealth.Builder>
public JobWorkerHealth.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<JobWorkerHealth.Builder>
public JobWorkerHealth.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<JobWorkerHealth.Builder>
public JobWorkerHealth.Builder mergeFrom(JobWorkerHealth other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<JobWorkerHealth.Builder>
public JobWorkerHealth.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<JobWorkerHealth.Builder>
IOException
public boolean hasWorkerId()
optional int64 workerId = 1;
hasWorkerId
in interface JobWorkerHealthOrBuilder
public long getWorkerId()
optional int64 workerId = 1;
getWorkerId
in interface JobWorkerHealthOrBuilder
public JobWorkerHealth.Builder setWorkerId(long value)
optional int64 workerId = 1;
value
- The workerId to set.public JobWorkerHealth.Builder clearWorkerId()
optional int64 workerId = 1;
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 JobWorkerHealth.Builder setLoadAverage(int index, double value)
repeated double loadAverage = 2;
index
- The index to set the value at.value
- The loadAverage to set.public JobWorkerHealth.Builder addLoadAverage(double value)
repeated double loadAverage = 2;
value
- The loadAverage to add.public JobWorkerHealth.Builder addAllLoadAverage(Iterable<? extends Double> values)
repeated double loadAverage = 2;
values
- The loadAverage to add.public JobWorkerHealth.Builder clearLoadAverage()
repeated double loadAverage = 2;
public boolean hasLastUpdated()
optional int64 lastUpdated = 3;
hasLastUpdated
in interface JobWorkerHealthOrBuilder
public long getLastUpdated()
optional int64 lastUpdated = 3;
getLastUpdated
in interface JobWorkerHealthOrBuilder
public JobWorkerHealth.Builder setLastUpdated(long value)
optional int64 lastUpdated = 3;
value
- The lastUpdated to set.public JobWorkerHealth.Builder clearLastUpdated()
optional int64 lastUpdated = 3;
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 JobWorkerHealth.Builder setHostname(String value)
optional string hostname = 4;
value
- The hostname to set.public JobWorkerHealth.Builder clearHostname()
optional string hostname = 4;
public JobWorkerHealth.Builder setHostnameBytes(com.google.protobuf.ByteString value)
optional string hostname = 4;
value
- The bytes for hostname to set.public boolean hasTaskPoolSize()
optional int32 taskPoolSize = 5;
hasTaskPoolSize
in interface JobWorkerHealthOrBuilder
public int getTaskPoolSize()
optional int32 taskPoolSize = 5;
getTaskPoolSize
in interface JobWorkerHealthOrBuilder
public JobWorkerHealth.Builder setTaskPoolSize(int value)
optional int32 taskPoolSize = 5;
value
- The taskPoolSize to set.public JobWorkerHealth.Builder clearTaskPoolSize()
optional int32 taskPoolSize = 5;
public boolean hasNumActiveTasks()
optional int32 numActiveTasks = 6;
hasNumActiveTasks
in interface JobWorkerHealthOrBuilder
public int getNumActiveTasks()
optional int32 numActiveTasks = 6;
getNumActiveTasks
in interface JobWorkerHealthOrBuilder
public JobWorkerHealth.Builder setNumActiveTasks(int value)
optional int32 numActiveTasks = 6;
value
- The numActiveTasks to set.public JobWorkerHealth.Builder clearNumActiveTasks()
optional int32 numActiveTasks = 6;
public boolean hasUnfinishedTasks()
optional int32 unfinishedTasks = 7;
hasUnfinishedTasks
in interface JobWorkerHealthOrBuilder
public int getUnfinishedTasks()
optional int32 unfinishedTasks = 7;
getUnfinishedTasks
in interface JobWorkerHealthOrBuilder
public JobWorkerHealth.Builder setUnfinishedTasks(int value)
optional int32 unfinishedTasks = 7;
value
- The unfinishedTasks to set.public JobWorkerHealth.Builder clearUnfinishedTasks()
optional int32 unfinishedTasks = 7;
public final JobWorkerHealth.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<JobWorkerHealth.Builder>
public final JobWorkerHealth.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<JobWorkerHealth.Builder>
Copyright © 2023. All Rights Reserved.