Class JobDependency (0.11.0)

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()
Returns
Type Description
JobDependency

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static JobDependency.Builder newBuilder()
Returns
Type Description
JobDependency.Builder

newBuilder(JobDependency prototype)

public static JobDependency.Builder newBuilder(JobDependency prototype)
Parameter
Name Description
prototype JobDependency
Returns
Type Description
JobDependency.Builder

parseDelimitedFrom(InputStream input)

public static JobDependency parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JobDependency
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobDependency parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobDependency
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static JobDependency parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
JobDependency
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static JobDependency parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobDependency
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static JobDependency parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
JobDependency
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static JobDependency parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobDependency
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static JobDependency parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
JobDependency
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static JobDependency parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobDependency
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static JobDependency parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
JobDependency
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobDependency parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobDependency
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static JobDependency parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
JobDependency
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static JobDependency parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobDependency
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<JobDependency> parser()
Returns
Type Description
Parser<JobDependency>

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
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public JobDependency getDefaultInstanceForType()
Returns
Type Description
JobDependency

getItems()

public Map<String,JobDependency.Type> getItems()

Use #getItemsMap() instead.

Returns
Type Description
Map<String,Type>

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;

Returns
Type Description
Map<String,Type>

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
Name Description
key String
defaultValue JobDependency.Type
Returns
Type Description
JobDependency.Type

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
Returns
Type Description
JobDependency.Type

getItemsValue()

public Map<String,Integer> getItemsValue()

Use #getItemsValueMap() instead.

Returns
Type Description
Map<String,Integer>

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
Type Description
Map<String,Integer>

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()
Returns
Type Description
Parser<JobDependency>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public JobDependency.Builder newBuilderForType()
Returns
Type Description
JobDependency.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected JobDependency.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
JobDependency.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public JobDependency.Builder toBuilder()
Returns
Type Description
JobDependency.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException