public final class JobStatus extends com.google.protobuf.GeneratedMessageV3 implements JobStatusOrBuilder
Job status.Protobuf type
google.cloud.batch.v1.JobStatus| Modifier and Type | Class and Description |
|---|---|
static class |
JobStatus.Builder
Job status.
|
static class |
JobStatus.InstanceStatus
VM instance status.
|
static interface |
JobStatus.InstanceStatusOrBuilder |
static class |
JobStatus.State
Valid Job states.
|
static class |
JobStatus.TaskGroupStatus
Aggregated task status for a TaskGroup.
|
static interface |
JobStatus.TaskGroupStatusOrBuilder |
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 |
RUN_DURATION_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
STATUS_EVENTS_FIELD_NUMBER |
static int |
TASK_GROUPS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsTaskGroups(String key)
Aggregated task status for each TaskGroup in the Job.
|
boolean |
equals(Object obj) |
static JobStatus |
getDefaultInstance() |
JobStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<JobStatus> |
getParserForType() |
com.google.protobuf.Duration |
getRunDuration()
The duration of time that the Job spent in status RUNNING.
|
com.google.protobuf.DurationOrBuilder |
getRunDurationOrBuilder()
The duration of time that the Job spent in status RUNNING.
|
int |
getSerializedSize() |
JobStatus.State |
getState()
Job state
.google.cloud.batch.v1.JobStatus.State state = 1; |
int |
getStateValue()
Job state
.google.cloud.batch.v1.JobStatus.State state = 1; |
StatusEvent |
getStatusEvents(int index)
Job status events
repeated .google.cloud.batch.v1.StatusEvent status_events = 2; |
int |
getStatusEventsCount()
Job status events
repeated .google.cloud.batch.v1.StatusEvent status_events = 2; |
List<StatusEvent> |
getStatusEventsList()
Job status events
repeated .google.cloud.batch.v1.StatusEvent status_events = 2; |
StatusEventOrBuilder |
getStatusEventsOrBuilder(int index)
Job status events
repeated .google.cloud.batch.v1.StatusEvent status_events = 2; |
List<? extends StatusEventOrBuilder> |
getStatusEventsOrBuilderList()
Job status events
repeated .google.cloud.batch.v1.StatusEvent status_events = 2; |
Map<String,JobStatus.TaskGroupStatus> |
getTaskGroups()
Deprecated.
|
int |
getTaskGroupsCount()
Aggregated task status for each TaskGroup in the Job.
|
Map<String,JobStatus.TaskGroupStatus> |
getTaskGroupsMap()
Aggregated task status for each TaskGroup in the Job.
|
JobStatus.TaskGroupStatus |
getTaskGroupsOrDefault(String key,
JobStatus.TaskGroupStatus defaultValue)
Aggregated task status for each TaskGroup in the Job.
|
JobStatus.TaskGroupStatus |
getTaskGroupsOrThrow(String key)
Aggregated task status for each TaskGroup in the Job.
|
int |
hashCode() |
boolean |
hasRunDuration()
The duration of time that the Job spent in status RUNNING.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static JobStatus.Builder |
newBuilder() |
static JobStatus.Builder |
newBuilder(JobStatus prototype) |
JobStatus.Builder |
newBuilderForType() |
protected JobStatus.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static JobStatus |
parseDelimitedFrom(InputStream input) |
static JobStatus |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobStatus |
parseFrom(byte[] data) |
static JobStatus |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobStatus |
parseFrom(ByteBuffer data) |
static JobStatus |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobStatus |
parseFrom(com.google.protobuf.ByteString data) |
static JobStatus |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobStatus |
parseFrom(com.google.protobuf.CodedInputStream input) |
static JobStatus |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static JobStatus |
parseFrom(InputStream input) |
static JobStatus |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<JobStatus> |
parser() |
JobStatus.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 STATE_FIELD_NUMBER
public static final int STATUS_EVENTS_FIELD_NUMBER
public static final int TASK_GROUPS_FIELD_NUMBER
public static final int RUN_DURATION_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 getStateValue()
Job state
.google.cloud.batch.v1.JobStatus.State state = 1;getStateValue in interface JobStatusOrBuilderpublic JobStatus.State getState()
Job state
.google.cloud.batch.v1.JobStatus.State state = 1;getState in interface JobStatusOrBuilderpublic List<StatusEvent> getStatusEventsList()
Job status events
repeated .google.cloud.batch.v1.StatusEvent status_events = 2;getStatusEventsList in interface JobStatusOrBuilderpublic List<? extends StatusEventOrBuilder> getStatusEventsOrBuilderList()
Job status events
repeated .google.cloud.batch.v1.StatusEvent status_events = 2;getStatusEventsOrBuilderList in interface JobStatusOrBuilderpublic int getStatusEventsCount()
Job status events
repeated .google.cloud.batch.v1.StatusEvent status_events = 2;getStatusEventsCount in interface JobStatusOrBuilderpublic StatusEvent getStatusEvents(int index)
Job status events
repeated .google.cloud.batch.v1.StatusEvent status_events = 2;getStatusEvents in interface JobStatusOrBuilderpublic StatusEventOrBuilder getStatusEventsOrBuilder(int index)
Job status events
repeated .google.cloud.batch.v1.StatusEvent status_events = 2;getStatusEventsOrBuilder in interface JobStatusOrBuilderpublic int getTaskGroupsCount()
JobStatusOrBuilderAggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
map<string, .google.cloud.batch.v1.JobStatus.TaskGroupStatus> task_groups = 4;
getTaskGroupsCount in interface JobStatusOrBuilderpublic boolean containsTaskGroups(String key)
Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
map<string, .google.cloud.batch.v1.JobStatus.TaskGroupStatus> task_groups = 4;
containsTaskGroups in interface JobStatusOrBuilder@Deprecated public Map<String,JobStatus.TaskGroupStatus> getTaskGroups()
getTaskGroupsMap() instead.getTaskGroups in interface JobStatusOrBuilderpublic Map<String,JobStatus.TaskGroupStatus> getTaskGroupsMap()
Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
map<string, .google.cloud.batch.v1.JobStatus.TaskGroupStatus> task_groups = 4;
getTaskGroupsMap in interface JobStatusOrBuilderpublic JobStatus.TaskGroupStatus getTaskGroupsOrDefault(String key, JobStatus.TaskGroupStatus defaultValue)
Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
map<string, .google.cloud.batch.v1.JobStatus.TaskGroupStatus> task_groups = 4;
getTaskGroupsOrDefault in interface JobStatusOrBuilderpublic JobStatus.TaskGroupStatus getTaskGroupsOrThrow(String key)
Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
map<string, .google.cloud.batch.v1.JobStatus.TaskGroupStatus> task_groups = 4;
getTaskGroupsOrThrow in interface JobStatusOrBuilderpublic boolean hasRunDuration()
The duration of time that the Job spent in status RUNNING.
.google.protobuf.Duration run_duration = 5;hasRunDuration in interface JobStatusOrBuilderpublic com.google.protobuf.Duration getRunDuration()
The duration of time that the Job spent in status RUNNING.
.google.protobuf.Duration run_duration = 5;getRunDuration in interface JobStatusOrBuilderpublic com.google.protobuf.DurationOrBuilder getRunDurationOrBuilder()
The duration of time that the Job spent in status RUNNING.
.google.protobuf.Duration run_duration = 5;getRunDurationOrBuilder in interface JobStatusOrBuilderpublic 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static JobStatus parseFrom(InputStream input) throws IOException
IOExceptionpublic static JobStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static JobStatus parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static JobStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static JobStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static JobStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic JobStatus.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static JobStatus.Builder newBuilder()
public static JobStatus.Builder newBuilder(JobStatus prototype)
public JobStatus.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected JobStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static JobStatus getDefaultInstance()
public static com.google.protobuf.Parser<JobStatus> parser()
public com.google.protobuf.Parser<JobStatus> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public JobStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.