- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.2
- 0.2.2
- 0.1.1
public interface JobStatusOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsTaskGroups(String key)
public abstract boolean containsTaskGroups(String key)
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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getResourceUsage()
public abstract ResourceUsage getResourceUsage()
The resource usage of the job.
.google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;
Returns | |
---|---|
Type | Description |
ResourceUsage |
The resourceUsage. |
getResourceUsageOrBuilder()
public abstract ResourceUsageOrBuilder getResourceUsageOrBuilder()
The resource usage of the job.
.google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;
Returns | |
---|---|
Type | Description |
ResourceUsageOrBuilder |
getRunDuration()
public abstract Duration getRunDuration()
The duration of time that the Job spent in status RUNNING.
.google.protobuf.Duration run_duration = 5;
Returns | |
---|---|
Type | Description |
Duration |
The runDuration. |
getRunDurationOrBuilder()
public abstract DurationOrBuilder getRunDurationOrBuilder()
The duration of time that the Job spent in status RUNNING.
.google.protobuf.Duration run_duration = 5;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getState()
public abstract JobStatus.State getState()
Job state
.google.cloud.batch.v1alpha.JobStatus.State state = 1;
Returns | |
---|---|
Type | Description |
JobStatus.State |
The state. |
getStateValue()
public abstract int getStateValue()
Job state
.google.cloud.batch.v1alpha.JobStatus.State state = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getStatusEvents(int index)
public abstract StatusEvent getStatusEvents(int index)
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
StatusEvent |
getStatusEventsCount()
public abstract int getStatusEventsCount()
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Returns | |
---|---|
Type | Description |
int |
getStatusEventsList()
public abstract List<StatusEvent> getStatusEventsList()
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Returns | |
---|---|
Type | Description |
List<StatusEvent> |
getStatusEventsOrBuilder(int index)
public abstract StatusEventOrBuilder getStatusEventsOrBuilder(int index)
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
StatusEventOrBuilder |
getStatusEventsOrBuilderList()
public abstract List<? extends StatusEventOrBuilder> getStatusEventsOrBuilderList()
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.batch.v1alpha.StatusEventOrBuilder> |
getTaskGroups()
public abstract Map<String,JobStatus.TaskGroupStatus> getTaskGroups()
Use #getTaskGroupsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,TaskGroupStatus> |
getTaskGroupsCount()
public abstract 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;
Returns | |
---|---|
Type | Description |
int |
getTaskGroupsMap()
public abstract 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;
Returns | |
---|---|
Type | Description |
Map<String,TaskGroupStatus> |
getTaskGroupsOrDefault(String key, JobStatus.TaskGroupStatus defaultValue)
public abstract 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;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
JobStatus.TaskGroupStatus |
Returns | |
---|---|
Type | Description |
JobStatus.TaskGroupStatus |
getTaskGroupsOrThrow(String key)
public abstract 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.v1alpha.JobStatus.TaskGroupStatus> task_groups = 4;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
JobStatus.TaskGroupStatus |
hasResourceUsage()
public abstract boolean hasResourceUsage()
The resource usage of the job.
.google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the resourceUsage field is set. |
hasRunDuration()
public abstract boolean hasRunDuration()
The duration of time that the Job spent in status RUNNING.
.google.protobuf.Duration run_duration = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the runDuration field is set. |