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
Static Fields
ITEMS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static JobDependency getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static JobDependency.Builder newBuilder()
Returns
newBuilder(JobDependency prototype)
public static JobDependency.Builder newBuilder(JobDependency prototype)
Parameter
Returns
public static JobDependency parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobDependency parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static JobDependency parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static JobDependency parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static JobDependency parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static JobDependency parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobDependency parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static JobDependency parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static JobDependency parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static JobDependency parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static JobDependency parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static JobDependency parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<JobDependency> parser()
Returns
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public JobDependency getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<JobDependency> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Name |
Description |
number |
int
|
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public JobDependency.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected JobDependency.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public JobDependency.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions