Package com.google.cloud.batch.v1alpha
Interface JobStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
JobStatus,JobStatus.Builder
@Generated
public interface JobStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsTaskGroups(String key) Aggregated task status for each TaskGroup in the Job.The resource usage of the job.The resource usage of the job.com.google.protobuf.DurationThe duration of time that the Job spent in status RUNNING.com.google.protobuf.DurationOrBuilderThe duration of time that the Job spent in status RUNNING.getState()Job stateintJob stategetStatusEvents(int index) Job status eventsintJob status eventsJob status eventsgetStatusEventsOrBuilder(int index) Job status eventsList<? extends StatusEventOrBuilder>Job status eventsDeprecated.intAggregated task status for each TaskGroup in the Job.Aggregated task status for each TaskGroup in the Job.getTaskGroupsOrDefault(String key, JobStatus.TaskGroupStatus defaultValue) Aggregated task status for each TaskGroup in the Job.Aggregated task status for each TaskGroup in the Job.booleanThe resource usage of the job.booleanThe duration of time that the Job spent in status RUNNING.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStateValue
int getStateValue()Job state
.google.cloud.batch.v1alpha.JobStatus.State state = 1;- Returns:
- The enum numeric value on the wire for state.
-
getState
JobStatus.State getState()Job state
.google.cloud.batch.v1alpha.JobStatus.State state = 1;- Returns:
- The state.
-
getStatusEventsList
List<StatusEvent> getStatusEventsList()Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2; -
getStatusEvents
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2; -
getStatusEventsCount
int getStatusEventsCount()Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2; -
getStatusEventsOrBuilderList
List<? extends StatusEventOrBuilder> getStatusEventsOrBuilderList()Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2; -
getStatusEventsOrBuilder
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2; -
getTaskGroupsCount
int getTaskGroupsCount()Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
map<string, .google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus> task_groups = 4; -
containsTaskGroups
Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
map<string, .google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus> task_groups = 4; -
getTaskGroups
Deprecated.UsegetTaskGroupsMap()instead. -
getTaskGroupsMap
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.v1alpha.JobStatus.TaskGroupStatus> task_groups = 4; -
getTaskGroupsOrDefault
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.v1alpha.JobStatus.TaskGroupStatus> task_groups = 4; -
getTaskGroupsOrThrow
Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
map<string, .google.cloud.batch.v1alpha.JobStatus.TaskGroupStatus> task_groups = 4; -
hasRunDuration
boolean hasRunDuration()The duration of time that the Job spent in status RUNNING.
.google.protobuf.Duration run_duration = 5;- Returns:
- Whether the runDuration field is set.
-
getRunDuration
com.google.protobuf.Duration getRunDuration()The duration of time that the Job spent in status RUNNING.
.google.protobuf.Duration run_duration = 5;- Returns:
- The runDuration.
-
getRunDurationOrBuilder
com.google.protobuf.DurationOrBuilder getRunDurationOrBuilder()The duration of time that the Job spent in status RUNNING.
.google.protobuf.Duration run_duration = 5; -
hasResourceUsage
boolean hasResourceUsage()The resource usage of the job.
.google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;- Returns:
- Whether the resourceUsage field is set.
-
getResourceUsage
ResourceUsage getResourceUsage()The resource usage of the job.
.google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;- Returns:
- The resourceUsage.
-
getResourceUsageOrBuilder
ResourceUsageOrBuilder getResourceUsageOrBuilder()The resource usage of the job.
.google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;
-