- 0.57.0 (latest)
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 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 static final class JobStatus.Builder extends GeneratedMessageV3.Builder<JobStatus.Builder> implements JobStatusOrBuilder
Job status.
Protobuf type google.cloud.batch.v1alpha.JobStatus
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > JobStatus.BuilderImplements
JobStatusOrBuilderInherited Members
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllStatusEvents(Iterable<? extends StatusEvent> values)
public JobStatus.Builder addAllStatusEvents(Iterable<? extends StatusEvent> values)
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.batch.v1alpha.StatusEvent> |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
addStatusEvents(StatusEvent value)
public JobStatus.Builder addStatusEvents(StatusEvent value)
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Parameter | |
---|---|
Name | Description |
value |
StatusEvent |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
addStatusEvents(StatusEvent.Builder builderForValue)
public JobStatus.Builder addStatusEvents(StatusEvent.Builder builderForValue)
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
StatusEvent.Builder |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
addStatusEvents(int index, StatusEvent value)
public JobStatus.Builder addStatusEvents(int index, StatusEvent value)
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
StatusEvent |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
addStatusEvents(int index, StatusEvent.Builder builderForValue)
public JobStatus.Builder addStatusEvents(int index, StatusEvent.Builder builderForValue)
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
StatusEvent.Builder |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
addStatusEventsBuilder()
public StatusEvent.Builder addStatusEventsBuilder()
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Returns | |
---|---|
Type | Description |
StatusEvent.Builder |
addStatusEventsBuilder(int index)
public StatusEvent.Builder addStatusEventsBuilder(int index)
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
StatusEvent.Builder |
build()
public JobStatus build()
Returns | |
---|---|
Type | Description |
JobStatus |
buildPartial()
public JobStatus buildPartial()
Returns | |
---|---|
Type | Description |
JobStatus |
clear()
public JobStatus.Builder clear()
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
clearField(Descriptors.FieldDescriptor field)
public JobStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public JobStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
clearResourceUsage()
public JobStatus.Builder clearResourceUsage()
The resource usage of the job.
.google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
clearRunDuration()
public JobStatus.Builder clearRunDuration()
The duration of time that the Job spent in status RUNNING.
.google.protobuf.Duration run_duration = 5;
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
clearState()
public JobStatus.Builder clearState()
Job state
.google.cloud.batch.v1alpha.JobStatus.State state = 1;
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
This builder for chaining. |
clearStatusEvents()
public JobStatus.Builder clearStatusEvents()
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
clearTaskGroups()
public JobStatus.Builder clearTaskGroups()
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
clone()
public JobStatus.Builder clone()
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
containsTaskGroups(String key)
public 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 |
getDefaultInstanceForType()
public JobStatus getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
JobStatus |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMutableTaskGroups()
public Map<String,JobStatus.TaskGroupStatus> getMutableTaskGroups()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,TaskGroupStatus> |
getResourceUsage()
public ResourceUsage getResourceUsage()
The resource usage of the job.
.google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;
Returns | |
---|---|
Type | Description |
ResourceUsage |
The resourceUsage. |
getResourceUsageBuilder()
public ResourceUsage.Builder getResourceUsageBuilder()
The resource usage of the job.
.google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;
Returns | |
---|---|
Type | Description |
ResourceUsage.Builder |
getResourceUsageOrBuilder()
public ResourceUsageOrBuilder getResourceUsageOrBuilder()
The resource usage of the job.
.google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;
Returns | |
---|---|
Type | Description |
ResourceUsageOrBuilder |
getRunDuration()
public 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. |
getRunDurationBuilder()
public Duration.Builder getRunDurationBuilder()
The duration of time that the Job spent in status RUNNING.
.google.protobuf.Duration run_duration = 5;
Returns | |
---|---|
Type | Description |
Builder |
getRunDurationOrBuilder()
public 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 JobStatus.State getState()
Job state
.google.cloud.batch.v1alpha.JobStatus.State state = 1;
Returns | |
---|---|
Type | Description |
JobStatus.State |
The state. |
getStateValue()
public 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 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 |
getStatusEventsBuilder(int index)
public StatusEvent.Builder getStatusEventsBuilder(int index)
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
StatusEvent.Builder |
getStatusEventsBuilderList()
public List<StatusEvent.Builder> getStatusEventsBuilderList()
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
getStatusEventsCount()
public int getStatusEventsCount()
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Returns | |
---|---|
Type | Description |
int |
getStatusEventsList()
public List<StatusEvent> getStatusEventsList()
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Returns | |
---|---|
Type | Description |
List<StatusEvent> |
getStatusEventsOrBuilder(int index)
public 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 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 Map<String,JobStatus.TaskGroupStatus> getTaskGroups()
Use #getTaskGroupsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,TaskGroupStatus> |
getTaskGroupsCount()
public 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(JobStatus other)
public JobStatus.Builder mergeFrom(JobStatus other)
Parameter | |
---|---|
Name | Description |
other |
JobStatus |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public JobStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public JobStatus.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
mergeResourceUsage(ResourceUsage value)
public JobStatus.Builder mergeResourceUsage(ResourceUsage value)
The resource usage of the job.
.google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;
Parameter | |
---|---|
Name | Description |
value |
ResourceUsage |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
mergeRunDuration(Duration value)
public JobStatus.Builder mergeRunDuration(Duration value)
The duration of time that the Job spent in status RUNNING.
.google.protobuf.Duration run_duration = 5;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
putAllTaskGroups(Map<String,JobStatus.TaskGroupStatus> values)
public JobStatus.Builder putAllTaskGroups(Map<String,JobStatus.TaskGroupStatus> values)
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 |
values |
Map<String,TaskGroupStatus> |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
putTaskGroups(String key, JobStatus.TaskGroupStatus value)
public JobStatus.Builder putTaskGroups(String key, JobStatus.TaskGroupStatus value)
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 |
value |
JobStatus.TaskGroupStatus |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
removeStatusEvents(int index)
public JobStatus.Builder removeStatusEvents(int index)
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
removeTaskGroups(String key)
public JobStatus.Builder removeTaskGroups(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.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public JobStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
setResourceUsage(ResourceUsage value)
public JobStatus.Builder setResourceUsage(ResourceUsage value)
The resource usage of the job.
.google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;
Parameter | |
---|---|
Name | Description |
value |
ResourceUsage |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
setResourceUsage(ResourceUsage.Builder builderForValue)
public JobStatus.Builder setResourceUsage(ResourceUsage.Builder builderForValue)
The resource usage of the job.
.google.cloud.batch.v1alpha.ResourceUsage resource_usage = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
ResourceUsage.Builder |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
setRunDuration(Duration value)
public JobStatus.Builder setRunDuration(Duration value)
The duration of time that the Job spent in status RUNNING.
.google.protobuf.Duration run_duration = 5;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
setRunDuration(Duration.Builder builderForValue)
public JobStatus.Builder setRunDuration(Duration.Builder builderForValue)
The duration of time that the Job spent in status RUNNING.
.google.protobuf.Duration run_duration = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
setState(JobStatus.State value)
public JobStatus.Builder setState(JobStatus.State value)
Job state
.google.cloud.batch.v1alpha.JobStatus.State state = 1;
Parameter | |
---|---|
Name | Description |
value |
JobStatus.State The state to set. |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
This builder for chaining. |
setStateValue(int value)
public JobStatus.Builder setStateValue(int value)
Job state
.google.cloud.batch.v1alpha.JobStatus.State state = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
This builder for chaining. |
setStatusEvents(int index, StatusEvent value)
public JobStatus.Builder setStatusEvents(int index, StatusEvent value)
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
StatusEvent |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
setStatusEvents(int index, StatusEvent.Builder builderForValue)
public JobStatus.Builder setStatusEvents(int index, StatusEvent.Builder builderForValue)
Job status events
repeated .google.cloud.batch.v1alpha.StatusEvent status_events = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
StatusEvent.Builder |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final JobStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
JobStatus.Builder |