Send feedback
Class JobDependency (0.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.15.0 keyboard_arrow_down
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
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()
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()
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField ( int number )
Parameter
Name
Description
number
int
Overrides
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-24 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-24 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-24 UTC."]]