public static final class JobDependency.Builder extends GeneratedMessage.Builder<JobDependency.Builder> implements JobDependencyOrBuilder
JobDependency describes the state of other Jobs that the start of this Job
depends on.
All dependent Jobs must have been submitted in the same region.
Protobuf type google.cloud.batch.v1alpha.JobDependency
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public JobDependency build()
buildPartial()
public JobDependency buildPartial()
clear()
public JobDependency.Builder clear()
Overrides
clearItems()
public JobDependency.Builder clearItems()
containsItems(String key)
public 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
|
getDefaultInstanceForType()
public JobDependency getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getItems() (deprecated)
public Map<String,JobDependency.Type> getItems()
getItemsCount()
public 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 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;
getItemsOrDefault(String key, JobDependency.Type defaultValue)
public 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;
getItemsOrThrow(String key)
public 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
|
getItemsValue() (deprecated)
public Map<String,Integer> getItemsValue()
getItemsValueMap()
public 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;
getItemsValueOrDefault(String key, int defaultValue)
public 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 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 |
|
getMutableItems() (deprecated)
public Map<String,JobDependency.Type> getMutableItems()
Use alternate mutation accessors instead.
getMutableItemsValue() (deprecated)
public Map<String,Integer> getMutableItemsValue()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(JobDependency other)
public JobDependency.Builder mergeFrom(JobDependency other)
public JobDependency.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public JobDependency.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
putAllItems(Map<String,JobDependency.Type> values)
public JobDependency.Builder putAllItems(Map<String,JobDependency.Type> values)
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;
putAllItemsValue(Map<String,Integer> values)
public JobDependency.Builder putAllItemsValue(Map<String,Integer> values)
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;
putItems(String key, JobDependency.Type value)
public JobDependency.Builder putItems(String key, JobDependency.Type value)
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;
putItemsValue(String key, int value)
public JobDependency.Builder putItemsValue(String key, int value)
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
|
value |
int
|
removeItems(String key)
public JobDependency.Builder removeItems(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
|