Interface JobDependencyOrBuilder (0.55.0)

public interface JobDependencyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsItems(String key)

public abstract boolean containsItems(String key)

Each item maps a Job name to a Type. All items must be satisfied for the JobDependency to be satisfied (the AND operation). Once a condition for one item becomes true, it won't go back to false even the dependent Job state changes again.

map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getItems() (deprecated)

public abstract Map<String,JobDependency.Type> getItems()

Use #getItemsMap() instead.

Returns
Type Description
Map<String,Type>

getItemsCount()

public abstract int getItemsCount()

Each item maps a Job name to a Type. All items must be satisfied for the JobDependency to be satisfied (the AND operation). Once a condition for one item becomes true, it won't go back to false even the dependent Job state changes again.

map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;

Returns
Type Description
int

getItemsMap()

public abstract Map<String,JobDependency.Type> getItemsMap()

Each item maps a Job name to a Type. All items must be satisfied for the JobDependency to be satisfied (the AND operation). Once a condition for one item becomes true, it won't go back to false even the dependent Job state changes again.

map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;

Returns
Type Description
Map<String,Type>

getItemsOrDefault(String key, JobDependency.Type defaultValue)

public abstract JobDependency.Type getItemsOrDefault(String key, JobDependency.Type defaultValue)

Each item maps a Job name to a Type. All items must be satisfied for the JobDependency to be satisfied (the AND operation). Once a condition for one item becomes true, it won't go back to false even the dependent Job state changes again.

map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;

Parameters
Name Description
key String
defaultValue JobDependency.Type
Returns
Type Description
JobDependency.Type

getItemsOrThrow(String key)

public abstract JobDependency.Type getItemsOrThrow(String key)

Each item maps a Job name to a Type. All items must be satisfied for the JobDependency to be satisfied (the AND operation). Once a condition for one item becomes true, it won't go back to false even the dependent Job state changes again.

map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;

Parameter
Name Description
key String
Returns
Type Description
JobDependency.Type

getItemsValue() (deprecated)

public abstract Map<String,Integer> getItemsValue()

Use #getItemsValueMap() instead.

Returns
Type Description
Map<String,Integer>

getItemsValueMap()

public abstract Map<String,Integer> getItemsValueMap()

Each item maps a Job name to a Type. All items must be satisfied for the JobDependency to be satisfied (the AND operation). Once a condition for one item becomes true, it won't go back to false even the dependent Job state changes again.

map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;

Returns
Type Description
Map<String,Integer>

getItemsValueOrDefault(String key, int defaultValue)

public abstract int getItemsValueOrDefault(String key, int defaultValue)

Each item maps a Job name to a Type. All items must be satisfied for the JobDependency to be satisfied (the AND operation). Once a condition for one item becomes true, it won't go back to false even the dependent Job state changes again.

map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;

Parameters
Name Description
key String
defaultValue int
Returns
Type Description
int

getItemsValueOrThrow(String key)

public abstract int getItemsValueOrThrow(String key)

Each item maps a Job name to a Type. All items must be satisfied for the JobDependency to be satisfied (the AND operation). Once a condition for one item becomes true, it won't go back to false even the dependent Job state changes again.

map<string, .google.cloud.batch.v1alpha.JobDependency.Type> items = 1;

Parameter
Name Description
key String
Returns
Type Description
int