Interface JobDependencyOrBuilder (0.41.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
NameDescription
keyString
Returns
TypeDescription
boolean

getItems() (deprecated)

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

Use #getItemsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueJobDependency.Type
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
JobDependency.Type

getItemsValue() (deprecated)

public abstract Map<String,Integer> getItemsValue()

Use #getItemsValueMap() instead.

Returns
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueint
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
int