Package com.google.cloud.batch.v1alpha
Class JobStatus.TaskGroupStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<JobStatus.TaskGroupStatus.Builder>
com.google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus.Builder
- All Implemented Interfaces:
JobStatus.TaskGroupStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- JobStatus.TaskGroupStatus
public static final class JobStatus.TaskGroupStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<JobStatus.TaskGroupStatus.Builder>
implements JobStatus.TaskGroupStatusOrBuilder
Aggregated task status for a TaskGroup.Protobuf type
google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus-
Method Summary
Modifier and TypeMethodDescriptionaddAllInstances(Iterable<? extends JobStatus.InstanceStatus> values) Status of instances allocated for the TaskGroup.addInstances(int index, JobStatus.InstanceStatus value) Status of instances allocated for the TaskGroup.addInstances(int index, JobStatus.InstanceStatus.Builder builderForValue) Status of instances allocated for the TaskGroup.Status of instances allocated for the TaskGroup.addInstances(JobStatus.InstanceStatus.Builder builderForValue) Status of instances allocated for the TaskGroup.Status of instances allocated for the TaskGroup.addInstancesBuilder(int index) Status of instances allocated for the TaskGroup.build()clear()Status of instances allocated for the TaskGroup.booleancontainsCounts(String key) Count of task in each state in the TaskGroup.Deprecated.intCount of task in each state in the TaskGroup.Count of task in each state in the TaskGroup.longgetCountsOrDefault(String key, long defaultValue) Count of task in each state in the TaskGroup.longgetCountsOrThrow(String key) Count of task in each state in the TaskGroup.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInstances(int index) Status of instances allocated for the TaskGroup.getInstancesBuilder(int index) Status of instances allocated for the TaskGroup.Status of instances allocated for the TaskGroup.intStatus of instances allocated for the TaskGroup.Status of instances allocated for the TaskGroup.getInstancesOrBuilder(int index) Status of instances allocated for the TaskGroup.List<? extends JobStatus.InstanceStatusOrBuilder>Status of instances allocated for the TaskGroup.Deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllCounts(Map<String, Long> values) Count of task in each state in the TaskGroup.Count of task in each state in the TaskGroup.removeCounts(String key) Count of task in each state in the TaskGroup.removeInstances(int index) Status of instances allocated for the TaskGroup.setInstances(int index, JobStatus.InstanceStatus value) Status of instances allocated for the TaskGroup.setInstances(int index, JobStatus.InstanceStatus.Builder builderForValue) Status of instances allocated for the TaskGroup.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<JobStatus.TaskGroupStatus.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<JobStatus.TaskGroupStatus.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<JobStatus.TaskGroupStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<JobStatus.TaskGroupStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<JobStatus.TaskGroupStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<JobStatus.TaskGroupStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<JobStatus.TaskGroupStatus.Builder>
-
mergeFrom
public JobStatus.TaskGroupStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<JobStatus.TaskGroupStatus.Builder>- Throws:
IOException
-
getCountsCount
public int getCountsCount()Description copied from interface:JobStatus.TaskGroupStatusOrBuilderCount of task in each state in the TaskGroup. The map key is task state name.
map<string, int64> counts = 1;- Specified by:
getCountsCountin interfaceJobStatus.TaskGroupStatusOrBuilder
-
containsCounts
Count of task in each state in the TaskGroup. The map key is task state name.
map<string, int64> counts = 1;- Specified by:
containsCountsin interfaceJobStatus.TaskGroupStatusOrBuilder
-
getCounts
Deprecated.UsegetCountsMap()instead.- Specified by:
getCountsin interfaceJobStatus.TaskGroupStatusOrBuilder
-
getCountsMap
Count of task in each state in the TaskGroup. The map key is task state name.
map<string, int64> counts = 1;- Specified by:
getCountsMapin interfaceJobStatus.TaskGroupStatusOrBuilder
-
getCountsOrDefault
Count of task in each state in the TaskGroup. The map key is task state name.
map<string, int64> counts = 1;- Specified by:
getCountsOrDefaultin interfaceJobStatus.TaskGroupStatusOrBuilder
-
getCountsOrThrow
Count of task in each state in the TaskGroup. The map key is task state name.
map<string, int64> counts = 1;- Specified by:
getCountsOrThrowin interfaceJobStatus.TaskGroupStatusOrBuilder
-
clearCounts
-
removeCounts
Count of task in each state in the TaskGroup. The map key is task state name.
map<string, int64> counts = 1; -
getMutableCounts
Deprecated.Use alternate mutation accessors instead. -
putCounts
Count of task in each state in the TaskGroup. The map key is task state name.
map<string, int64> counts = 1; -
putAllCounts
Count of task in each state in the TaskGroup. The map key is task state name.
map<string, int64> counts = 1; -
getInstancesList
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2;- Specified by:
getInstancesListin interfaceJobStatus.TaskGroupStatusOrBuilder
-
getInstancesCount
public int getInstancesCount()Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2;- Specified by:
getInstancesCountin interfaceJobStatus.TaskGroupStatusOrBuilder
-
getInstances
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2;- Specified by:
getInstancesin interfaceJobStatus.TaskGroupStatusOrBuilder
-
setInstances
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2; -
setInstances
public JobStatus.TaskGroupStatus.Builder setInstances(int index, JobStatus.InstanceStatus.Builder builderForValue) Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2; -
addInstances
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2; -
addInstances
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2; -
addInstances
public JobStatus.TaskGroupStatus.Builder addInstances(JobStatus.InstanceStatus.Builder builderForValue) Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2; -
addInstances
public JobStatus.TaskGroupStatus.Builder addInstances(int index, JobStatus.InstanceStatus.Builder builderForValue) Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2; -
addAllInstances
public JobStatus.TaskGroupStatus.Builder addAllInstances(Iterable<? extends JobStatus.InstanceStatus> values) Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2; -
clearInstances
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2; -
removeInstances
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2; -
getInstancesBuilder
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2; -
getInstancesOrBuilder
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2;- Specified by:
getInstancesOrBuilderin interfaceJobStatus.TaskGroupStatusOrBuilder
-
getInstancesOrBuilderList
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2;- Specified by:
getInstancesOrBuilderListin interfaceJobStatus.TaskGroupStatusOrBuilder
-
addInstancesBuilder
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2; -
addInstancesBuilder
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2; -
getInstancesBuilderList
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1alpha.JobStatus.InstanceStatus instances = 2;
-