Class JobDependency (0.39.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static JobDependency getDefaultInstance()
Returns
TypeDescription
JobDependency

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static JobDependency.Builder newBuilder()
Returns
TypeDescription
JobDependency.Builder

newBuilder(JobDependency prototype)

public static JobDependency.Builder newBuilder(JobDependency prototype)
Parameter
NameDescription
prototypeJobDependency
Returns
TypeDescription
JobDependency.Builder

parseDelimitedFrom(InputStream input)

public static JobDependency parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobDependency
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobDependency parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobDependency
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static JobDependency parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
JobDependency
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static JobDependency parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobDependency
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static JobDependency parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
JobDependency
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static JobDependency parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobDependency
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static JobDependency parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
JobDependency
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static JobDependency parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobDependency
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static JobDependency parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
JobDependency
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static JobDependency parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobDependency
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static JobDependency parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
JobDependency
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static JobDependency parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
JobDependency
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<JobDependency> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public JobDependency getDefaultInstanceForType()
Returns
TypeDescription
JobDependency

getItems() (deprecated)

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

Use #getItemsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueJobDependency.Type
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
JobDependency.Type

getItemsValue() (deprecated)

public Map<String,Integer> getItemsValue()

Use #getItemsValueMap() instead.

Returns
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueint
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
int

getParserForType()

public Parser<JobDependency> getParserForType()
Returns
TypeDescription
Parser<JobDependency>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public JobDependency.Builder newBuilderForType()
Returns
TypeDescription
JobDependency.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected JobDependency.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
JobDependency.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public JobDependency.Builder toBuilder()
Returns
TypeDescription
JobDependency.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException