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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobDependency.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public JobDependency build()
buildPartial()
public JobDependency buildPartial()
clear()
public JobDependency.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public JobDependency.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearItems()
public JobDependency.Builder clearItems()
clearOneof(Descriptors.OneofDescriptor oneof)
public JobDependency.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public JobDependency.Builder clone()
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 |
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobDependency.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public JobDependency.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobDependency.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final JobDependency.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides