public static interface JobStatus.TaskGroupStatusOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsCounts(String key)
public abstract 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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCounts()
public abstract Map<String,Long> getCounts()
Use #getCountsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,Long> |
getCountsCount()
public abstract int getCountsCount()
Count of task in each state in the TaskGroup. The map key is task state name.
map<string, int64> counts = 1;
Returns | |
---|---|
Type | Description |
int |
getCountsMap()
public abstract 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;
Returns | |
---|---|
Type | Description |
Map<String,Long> |
getCountsOrDefault(String key, long defaultValue)
public abstract 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;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
long |
Returns | |
---|---|
Type | Description |
long |
getCountsOrThrow(String key)
public abstract 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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
long |
getInstances(int index)
public abstract JobStatus.InstanceStatus getInstances(int index)
Status of instances allocated for the TaskGroup.
repeated .google.events.cloud.batch.v1.JobStatus.InstanceStatus instances = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatus |
getInstancesCount()
public abstract int getInstancesCount()
Status of instances allocated for the TaskGroup.
repeated .google.events.cloud.batch.v1.JobStatus.InstanceStatus instances = 2;
Returns | |
---|---|
Type | Description |
int |
getInstancesList()
public abstract List<JobStatus.InstanceStatus> getInstancesList()
Status of instances allocated for the TaskGroup.
repeated .google.events.cloud.batch.v1.JobStatus.InstanceStatus instances = 2;
Returns | |
---|---|
Type | Description |
List<InstanceStatus> |
getInstancesOrBuilder(int index)
public abstract JobStatus.InstanceStatusOrBuilder getInstancesOrBuilder(int index)
Status of instances allocated for the TaskGroup.
repeated .google.events.cloud.batch.v1.JobStatus.InstanceStatus instances = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
JobStatus.InstanceStatusOrBuilder |
getInstancesOrBuilderList()
public abstract List<? extends JobStatus.InstanceStatusOrBuilder> getInstancesOrBuilderList()
Status of instances allocated for the TaskGroup.
repeated .google.events.cloud.batch.v1.JobStatus.InstanceStatus instances = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.events.cloud.batch.v1.JobStatus.InstanceStatusOrBuilder> |