public static final class JobStatus.TaskGroupStatus extends com.google.protobuf.GeneratedMessageV3 implements JobStatus.TaskGroupStatusOrBuilder
Aggregated task status for a TaskGroup.Protobuf type
google.cloud.batch.v1.JobStatus.TaskGroupStatus| Modifier and Type | Class and Description |
|---|---|
static class |
JobStatus.TaskGroupStatus.Builder
Aggregated task status for a TaskGroup.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COUNTS_FIELD_NUMBER |
static int |
INSTANCES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCounts(String key)
Count of task in each state in the TaskGroup.
|
boolean |
equals(Object obj) |
Map<String,Long> |
getCounts()
Deprecated.
|
int |
getCountsCount()
Count of task in each state in the TaskGroup.
|
Map<String,Long> |
getCountsMap()
Count of task in each state in the TaskGroup.
|
long |
getCountsOrDefault(String key,
long defaultValue)
Count of task in each state in the TaskGroup.
|
long |
getCountsOrThrow(String key)
Count of task in each state in the TaskGroup.
|
static JobStatus.TaskGroupStatus |
getDefaultInstance() |
JobStatus.TaskGroupStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
JobStatus.InstanceStatus |
getInstances(int index)
Status of instances allocated for the TaskGroup.
|
int |
getInstancesCount()
Status of instances allocated for the TaskGroup.
|
List<JobStatus.InstanceStatus> |
getInstancesList()
Status of instances allocated for the TaskGroup.
|
JobStatus.InstanceStatusOrBuilder |
getInstancesOrBuilder(int index)
Status of instances allocated for the TaskGroup.
|
List<? extends JobStatus.InstanceStatusOrBuilder> |
getInstancesOrBuilderList()
Status of instances allocated for the TaskGroup.
|
com.google.protobuf.Parser<JobStatus.TaskGroupStatus> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static JobStatus.TaskGroupStatus.Builder |
newBuilder() |
static JobStatus.TaskGroupStatus.Builder |
newBuilder(JobStatus.TaskGroupStatus prototype) |
JobStatus.TaskGroupStatus.Builder |
newBuilderForType() |
protected JobStatus.TaskGroupStatus.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static JobStatus.TaskGroupStatus |
parseDelimitedFrom(InputStream input) |
static JobStatus.TaskGroupStatus |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobStatus.TaskGroupStatus |
parseFrom(byte[] data) |
static JobStatus.TaskGroupStatus |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobStatus.TaskGroupStatus |
parseFrom(ByteBuffer data) |
static JobStatus.TaskGroupStatus |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobStatus.TaskGroupStatus |
parseFrom(com.google.protobuf.ByteString data) |
static JobStatus.TaskGroupStatus |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobStatus.TaskGroupStatus |
parseFrom(com.google.protobuf.CodedInputStream input) |
static JobStatus.TaskGroupStatus |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobStatus.TaskGroupStatus |
parseFrom(InputStream input) |
static JobStatus.TaskGroupStatus |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<JobStatus.TaskGroupStatus> |
parser() |
JobStatus.TaskGroupStatus.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int COUNTS_FIELD_NUMBER
public static final int INSTANCES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getCountsCount()
JobStatus.TaskGroupStatusOrBuilderCount of task in each state in the TaskGroup. The map key is task state name.
map<string, int64> counts = 1;getCountsCount in interface JobStatus.TaskGroupStatusOrBuilderpublic boolean containsCounts(String key)
Count of task in each state in the TaskGroup. The map key is task state name.
map<string, int64> counts = 1;containsCounts in interface JobStatus.TaskGroupStatusOrBuilder@Deprecated public Map<String,Long> getCounts()
getCountsMap() instead.getCounts in interface JobStatus.TaskGroupStatusOrBuilderpublic Map<String,Long> getCountsMap()
Count of task in each state in the TaskGroup. The map key is task state name.
map<string, int64> counts = 1;getCountsMap in interface JobStatus.TaskGroupStatusOrBuilderpublic long getCountsOrDefault(String key, long defaultValue)
Count of task in each state in the TaskGroup. The map key is task state name.
map<string, int64> counts = 1;getCountsOrDefault in interface JobStatus.TaskGroupStatusOrBuilderpublic long getCountsOrThrow(String key)
Count of task in each state in the TaskGroup. The map key is task state name.
map<string, int64> counts = 1;getCountsOrThrow in interface JobStatus.TaskGroupStatusOrBuilderpublic List<JobStatus.InstanceStatus> getInstancesList()
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1.JobStatus.InstanceStatus instances = 2;getInstancesList in interface JobStatus.TaskGroupStatusOrBuilderpublic List<? extends JobStatus.InstanceStatusOrBuilder> getInstancesOrBuilderList()
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1.JobStatus.InstanceStatus instances = 2;getInstancesOrBuilderList in interface JobStatus.TaskGroupStatusOrBuilderpublic int getInstancesCount()
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1.JobStatus.InstanceStatus instances = 2;getInstancesCount in interface JobStatus.TaskGroupStatusOrBuilderpublic JobStatus.InstanceStatus getInstances(int index)
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1.JobStatus.InstanceStatus instances = 2;getInstances in interface JobStatus.TaskGroupStatusOrBuilderpublic JobStatus.InstanceStatusOrBuilder getInstancesOrBuilder(int index)
Status of instances allocated for the TaskGroup.
repeated .google.cloud.batch.v1.JobStatus.InstanceStatus instances = 2;getInstancesOrBuilder in interface JobStatus.TaskGroupStatusOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static JobStatus.TaskGroupStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobStatus.TaskGroupStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobStatus.TaskGroupStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobStatus.TaskGroupStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobStatus.TaskGroupStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobStatus.TaskGroupStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobStatus.TaskGroupStatus parseFrom(InputStream input) throws IOException
IOExceptionpublic static JobStatus.TaskGroupStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static JobStatus.TaskGroupStatus parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static JobStatus.TaskGroupStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static JobStatus.TaskGroupStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static JobStatus.TaskGroupStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic JobStatus.TaskGroupStatus.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static JobStatus.TaskGroupStatus.Builder newBuilder()
public static JobStatus.TaskGroupStatus.Builder newBuilder(JobStatus.TaskGroupStatus prototype)
public JobStatus.TaskGroupStatus.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected JobStatus.TaskGroupStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static JobStatus.TaskGroupStatus getDefaultInstance()
public static com.google.protobuf.Parser<JobStatus.TaskGroupStatus> parser()
public com.google.protobuf.Parser<JobStatus.TaskGroupStatus> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public JobStatus.TaskGroupStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.