public static final class JobDependency.Builder extends GeneratedMessageV3.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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobDependency.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public JobDependency build()
Returns
buildPartial()
public JobDependency buildPartial()
Returns
clear()
public JobDependency.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public JobDependency.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearItems()
public JobDependency.Builder clearItems()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public JobDependency.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public JobDependency.Builder clone()
Returns
Overrides
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
Returns
getDefaultInstanceForType()
public JobDependency getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getItems()
public Map<String,JobDependency.Type> getItems()
Returns
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
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;
Returns
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;
Parameters
Returns
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
Returns
getItemsValue()
public Map<String,Integer> getItemsValue()
Returns
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;
Returns
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
Returns
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
Returns
getMutableItems()
public Map<String,JobDependency.Type> getMutableItems()
Use alternate mutation accessors instead.
Returns
getMutableItemsValue()
public Map<String,Integer> getMutableItemsValue()
Use alternate mutation accessors instead.
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Name |
Description |
number |
int
|
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Name |
Description |
number |
int
|
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(JobDependency other)
public JobDependency.Builder mergeFrom(JobDependency other)
Parameter
Returns
public JobDependency.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public JobDependency.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobDependency.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public JobDependency.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobDependency.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final JobDependency.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides