public final class JobDependency extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ITEMS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static JobDependency getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static JobDependency.Builder newBuilder()
newBuilder(JobDependency prototype)
public static JobDependency.Builder newBuilder(JobDependency prototype)
public static JobDependency parseDelimitedFrom(InputStream input)
public static JobDependency parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static JobDependency parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JobDependency parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static JobDependency parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobDependency parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobDependency parseFrom(CodedInputStream input)
public static JobDependency parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static JobDependency parseFrom(InputStream input)
public static JobDependency parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static JobDependency parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JobDependency parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<JobDependency> parser()
Methods
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
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public JobDependency getDefaultInstanceForType()
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 |
|
getParserForType()
public Parser<JobDependency> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public JobDependency.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JobDependency.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public JobDependency.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides