Package com.google.cloud.run.v2
Class Job.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
- com.google.cloud.run.v2.Job.Builder
-
- All Implemented Interfaces:
JobOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Job
public static final class Job.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder> implements JobOrBuilder
Job represents the configuration of a single job, which references a container image that is run to completion.
Protobuf typegoogle.cloud.run.v2.Job
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Job.Builder
addAllConditions(Iterable<? extends Condition> values)
Output only.Job.Builder
addConditions(int index, Condition value)
Output only.Job.Builder
addConditions(int index, Condition.Builder builderForValue)
Output only.Job.Builder
addConditions(Condition value)
Output only.Job.Builder
addConditions(Condition.Builder builderForValue)
Output only.Condition.Builder
addConditionsBuilder()
Output only.Condition.Builder
addConditionsBuilder(int index)
Output only.Job.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Job
build()
Job
buildPartial()
Job.Builder
clear()
Job.Builder
clearAnnotations()
Job.Builder
clearBinaryAuthorization()
Settings for the Binary Authorization feature.Job.Builder
clearClient()
Arbitrary identifier for the API client.Job.Builder
clearClientVersion()
Arbitrary version identifier for the API client.Job.Builder
clearConditions()
Output only.Job.Builder
clearCreateTime()
Output only.Job.Builder
clearCreator()
Output only.Job.Builder
clearDeleteTime()
Output only.Job.Builder
clearEtag()
Output only.Job.Builder
clearExecutionCount()
Output only.Job.Builder
clearExpireTime()
Output only.Job.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Job.Builder
clearGeneration()
Output only.Job.Builder
clearLabels()
Job.Builder
clearLastModifier()
Output only.Job.Builder
clearLatestCreatedExecution()
Output only.Job.Builder
clearLaunchStage()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).Job.Builder
clearName()
The fully qualified name of this Job.Job.Builder
clearObservedGeneration()
Output only.Job.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Job.Builder
clearReconciling()
Output only.Job.Builder
clearSatisfiesPzs()
Output only.Job.Builder
clearTemplate()
Required.Job.Builder
clearTerminalCondition()
Output only.Job.Builder
clearUid()
Output only.Job.Builder
clearUpdateTime()
Output only.Job.Builder
clone()
boolean
containsAnnotations(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.boolean
containsLabels(String key)
Unstructured key value map that can be used to organize and categorize objects.Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
Unstructured key value map that may be set by external tools to store and arbitrary metadata.Map<String,String>
getAnnotationsMap()
Unstructured key value map that may be set by external tools to store and arbitrary metadata.String
getAnnotationsOrDefault(String key, String defaultValue)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.String
getAnnotationsOrThrow(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.BinaryAuthorization
getBinaryAuthorization()
Settings for the Binary Authorization feature.BinaryAuthorization.Builder
getBinaryAuthorizationBuilder()
Settings for the Binary Authorization feature.BinaryAuthorizationOrBuilder
getBinaryAuthorizationOrBuilder()
Settings for the Binary Authorization feature.String
getClient()
Arbitrary identifier for the API client.com.google.protobuf.ByteString
getClientBytes()
Arbitrary identifier for the API client.String
getClientVersion()
Arbitrary version identifier for the API client.com.google.protobuf.ByteString
getClientVersionBytes()
Arbitrary version identifier for the API client.Condition
getConditions(int index)
Output only.Condition.Builder
getConditionsBuilder(int index)
Output only.List<Condition.Builder>
getConditionsBuilderList()
Output only.int
getConditionsCount()
Output only.List<Condition>
getConditionsList()
Output only.ConditionOrBuilder
getConditionsOrBuilder(int index)
Output only.List<? extends ConditionOrBuilder>
getConditionsOrBuilderList()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getCreator()
Output only.com.google.protobuf.ByteString
getCreatorBytes()
Output only.Job
getDefaultInstanceForType()
com.google.protobuf.Timestamp
getDeleteTime()
Output only.com.google.protobuf.Timestamp.Builder
getDeleteTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getDeleteTimeOrBuilder()
Output only.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEtag()
Output only.com.google.protobuf.ByteString
getEtagBytes()
Output only.int
getExecutionCount()
Output only.com.google.protobuf.Timestamp
getExpireTime()
Output only.com.google.protobuf.Timestamp.Builder
getExpireTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
Output only.long
getGeneration()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Unstructured key value map that can be used to organize and categorize objects.Map<String,String>
getLabelsMap()
Unstructured key value map that can be used to organize and categorize objects.String
getLabelsOrDefault(String key, String defaultValue)
Unstructured key value map that can be used to organize and categorize objects.String
getLabelsOrThrow(String key)
Unstructured key value map that can be used to organize and categorize objects.String
getLastModifier()
Output only.com.google.protobuf.ByteString
getLastModifierBytes()
Output only.ExecutionReference
getLatestCreatedExecution()
Output only.ExecutionReference.Builder
getLatestCreatedExecutionBuilder()
Output only.ExecutionReferenceOrBuilder
getLatestCreatedExecutionOrBuilder()
Output only.com.google.api.LaunchStage
getLaunchStage()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).int
getLaunchStageValue()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).Map<String,String>
getMutableAnnotations()
Deprecated.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
The fully qualified name of this Job.com.google.protobuf.ByteString
getNameBytes()
The fully qualified name of this Job.long
getObservedGeneration()
Output only.boolean
getReconciling()
Output only.boolean
getSatisfiesPzs()
Output only.ExecutionTemplate
getTemplate()
Required.ExecutionTemplate.Builder
getTemplateBuilder()
Required.ExecutionTemplateOrBuilder
getTemplateOrBuilder()
Required.Condition
getTerminalCondition()
Output only.Condition.Builder
getTerminalConditionBuilder()
Output only.ConditionOrBuilder
getTerminalConditionOrBuilder()
Output only.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasBinaryAuthorization()
Settings for the Binary Authorization feature.boolean
hasCreateTime()
Output only.boolean
hasDeleteTime()
Output only.boolean
hasExpireTime()
Output only.boolean
hasLatestCreatedExecution()
Output only.boolean
hasTemplate()
Required.boolean
hasTerminalCondition()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Job.Builder
mergeBinaryAuthorization(BinaryAuthorization value)
Settings for the Binary Authorization feature.Job.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
mergeExpireTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
mergeFrom(Job other)
Job.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Job.Builder
mergeFrom(com.google.protobuf.Message other)
Job.Builder
mergeLatestCreatedExecution(ExecutionReference value)
Output only.Job.Builder
mergeTemplate(ExecutionTemplate value)
Required.Job.Builder
mergeTerminalCondition(Condition value)
Output only.Job.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Job.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
putAllAnnotations(Map<String,String> values)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.Job.Builder
putAllLabels(Map<String,String> values)
Unstructured key value map that can be used to organize and categorize objects.Job.Builder
putAnnotations(String key, String value)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.Job.Builder
putLabels(String key, String value)
Unstructured key value map that can be used to organize and categorize objects.Job.Builder
removeAnnotations(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.Job.Builder
removeConditions(int index)
Output only.Job.Builder
removeLabels(String key)
Unstructured key value map that can be used to organize and categorize objects.Job.Builder
setBinaryAuthorization(BinaryAuthorization value)
Settings for the Binary Authorization feature.Job.Builder
setBinaryAuthorization(BinaryAuthorization.Builder builderForValue)
Settings for the Binary Authorization feature.Job.Builder
setClient(String value)
Arbitrary identifier for the API client.Job.Builder
setClientBytes(com.google.protobuf.ByteString value)
Arbitrary identifier for the API client.Job.Builder
setClientVersion(String value)
Arbitrary version identifier for the API client.Job.Builder
setClientVersionBytes(com.google.protobuf.ByteString value)
Arbitrary version identifier for the API client.Job.Builder
setConditions(int index, Condition value)
Output only.Job.Builder
setConditions(int index, Condition.Builder builderForValue)
Output only.Job.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Job.Builder
setCreator(String value)
Output only.Job.Builder
setCreatorBytes(com.google.protobuf.ByteString value)
Output only.Job.Builder
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Job.Builder
setEtag(String value)
Output only.Job.Builder
setEtagBytes(com.google.protobuf.ByteString value)
Output only.Job.Builder
setExecutionCount(int value)
Output only.Job.Builder
setExpireTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Job.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Job.Builder
setGeneration(long value)
Output only.Job.Builder
setLastModifier(String value)
Output only.Job.Builder
setLastModifierBytes(com.google.protobuf.ByteString value)
Output only.Job.Builder
setLatestCreatedExecution(ExecutionReference value)
Output only.Job.Builder
setLatestCreatedExecution(ExecutionReference.Builder builderForValue)
Output only.Job.Builder
setLaunchStage(com.google.api.LaunchStage value)
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).Job.Builder
setLaunchStageValue(int value)
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).Job.Builder
setName(String value)
The fully qualified name of this Job.Job.Builder
setNameBytes(com.google.protobuf.ByteString value)
The fully qualified name of this Job.Job.Builder
setObservedGeneration(long value)
Output only.Job.Builder
setReconciling(boolean value)
Output only.Job.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Job.Builder
setSatisfiesPzs(boolean value)
Output only.Job.Builder
setTemplate(ExecutionTemplate value)
Required.Job.Builder
setTemplate(ExecutionTemplate.Builder builderForValue)
Required.Job.Builder
setTerminalCondition(Condition value)
Output only.Job.Builder
setTerminalCondition(Condition.Builder builderForValue)
Output only.Job.Builder
setUid(String value)
Output only.Job.Builder
setUidBytes(com.google.protobuf.ByteString value)
Output only.Job.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Job.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clear
public Job.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
getDefaultInstanceForType
public Job getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Job build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Job buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Job.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
setField
public Job.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clearField
public Job.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clearOneof
public Job.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
setRepeatedField
public Job.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
addRepeatedField
public Job.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(Job other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
- Throws:
IOException
-
getName
public String getName()
The fully qualified name of this Job. Format: projects/{project}/locations/{location}/jobs/{job}
string name = 1;
- Specified by:
getName
in interfaceJobOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The fully qualified name of this Job. Format: projects/{project}/locations/{location}/jobs/{job}
string name = 1;
- Specified by:
getNameBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for name.
-
setName
public Job.Builder setName(String value)
The fully qualified name of this Job. Format: projects/{project}/locations/{location}/jobs/{job}
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Job.Builder clearName()
The fully qualified name of this Job. Format: projects/{project}/locations/{location}/jobs/{job}
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public Job.Builder setNameBytes(com.google.protobuf.ByteString value)
The fully qualified name of this Job. Format: projects/{project}/locations/{location}/jobs/{job}
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUid
public String getUid()
Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in interfaceJobOrBuilder
- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUidBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for uid.
-
setUid
public Job.Builder setUid(String value)
Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
public Job.Builder clearUid()
Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUidBytes
public Job.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getGeneration
public long getGeneration()
Output only. A number that monotonically increases every time the user modifies the desired state.
int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getGeneration
in interfaceJobOrBuilder
- Returns:
- The generation.
-
setGeneration
public Job.Builder setGeneration(long value)
Output only. A number that monotonically increases every time the user modifies the desired state.
int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The generation to set.- Returns:
- This builder for chaining.
-
clearGeneration
public Job.Builder clearGeneration()
Output only. A number that monotonically increases every time the user modifies the desired state.
int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:JobOrBuilder
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Job.
map<string, string> labels = 4;
- Specified by:
getLabelsCount
in interfaceJobOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Job.
map<string, string> labels = 4;
- Specified by:
containsLabels
in interfaceJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceJobOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Job.
map<string, string> labels = 4;
- Specified by:
getLabelsMap
in interfaceJobOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Job.
map<string, string> labels = 4;
- Specified by:
getLabelsOrDefault
in interfaceJobOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Job.
map<string, string> labels = 4;
- Specified by:
getLabelsOrThrow
in interfaceJobOrBuilder
-
clearLabels
public Job.Builder clearLabels()
-
removeLabels
public Job.Builder removeLabels(String key)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Job.
map<string, string> labels = 4;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Job.Builder putLabels(String key, String value)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Job.
map<string, string> labels = 4;
-
putAllLabels
public Job.Builder putAllLabels(Map<String,String> values)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Job.
map<string, string> labels = 4;
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:JobOrBuilder
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 5;
- Specified by:
getAnnotationsCount
in interfaceJobOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 5;
- Specified by:
containsAnnotations
in interfaceJobOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in interfaceJobOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 5;
- Specified by:
getAnnotationsMap
in interfaceJobOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 5;
- Specified by:
getAnnotationsOrDefault
in interfaceJobOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 5;
- Specified by:
getAnnotationsOrThrow
in interfaceJobOrBuilder
-
clearAnnotations
public Job.Builder clearAnnotations()
-
removeAnnotations
public Job.Builder removeAnnotations(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 5;
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
public Job.Builder putAnnotations(String key, String value)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 5;
-
putAllAnnotations
public Job.Builder putAllAnnotations(Map<String,String> values)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 5;
-
hasCreateTime
public boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceJobOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceJobOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Job.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Job.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Job.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Job.Builder clearCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceJobOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceJobOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceJobOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Job.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Job.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Job.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Job.Builder clearUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceJobOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDeleteTime
in interfaceJobOrBuilder
- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTime
in interfaceJobOrBuilder
- Returns:
- The deleteTime.
-
setDeleteTime
public Job.Builder setDeleteTime(com.google.protobuf.Timestamp value)
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setDeleteTime
public Job.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeDeleteTime
public Job.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDeleteTime
public Job.Builder clearDeleteTime()
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTimeOrBuilder
in interfaceJobOrBuilder
-
hasExpireTime
public boolean hasExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasExpireTime
in interfaceJobOrBuilder
- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.Timestamp getExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpireTime
in interfaceJobOrBuilder
- Returns:
- The expireTime.
-
setExpireTime
public Job.Builder setExpireTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setExpireTime
public Job.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeExpireTime
public Job.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearExpireTime
public Job.Builder clearExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getExpireTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpireTimeOrBuilder
in interfaceJobOrBuilder
-
getCreator
public String getCreator()
Output only. Email address of the authenticated creator.
string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreator
in interfaceJobOrBuilder
- Returns:
- The creator.
-
getCreatorBytes
public com.google.protobuf.ByteString getCreatorBytes()
Output only. Email address of the authenticated creator.
string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreatorBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for creator.
-
setCreator
public Job.Builder setCreator(String value)
Output only. Email address of the authenticated creator.
string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The creator to set.- Returns:
- This builder for chaining.
-
clearCreator
public Job.Builder clearCreator()
Output only. Email address of the authenticated creator.
string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setCreatorBytes
public Job.Builder setCreatorBytes(com.google.protobuf.ByteString value)
Output only. Email address of the authenticated creator.
string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for creator to set.- Returns:
- This builder for chaining.
-
getLastModifier
public String getLastModifier()
Output only. Email address of the last authenticated modifier.
string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLastModifier
in interfaceJobOrBuilder
- Returns:
- The lastModifier.
-
getLastModifierBytes
public com.google.protobuf.ByteString getLastModifierBytes()
Output only. Email address of the last authenticated modifier.
string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLastModifierBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for lastModifier.
-
setLastModifier
public Job.Builder setLastModifier(String value)
Output only. Email address of the last authenticated modifier.
string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The lastModifier to set.- Returns:
- This builder for chaining.
-
clearLastModifier
public Job.Builder clearLastModifier()
Output only. Email address of the last authenticated modifier.
string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setLastModifierBytes
public Job.Builder setLastModifierBytes(com.google.protobuf.ByteString value)
Output only. Email address of the last authenticated modifier.
string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for lastModifier to set.- Returns:
- This builder for chaining.
-
getClient
public String getClient()
Arbitrary identifier for the API client.
string client = 12;
- Specified by:
getClient
in interfaceJobOrBuilder
- Returns:
- The client.
-
getClientBytes
public com.google.protobuf.ByteString getClientBytes()
Arbitrary identifier for the API client.
string client = 12;
- Specified by:
getClientBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for client.
-
setClient
public Job.Builder setClient(String value)
Arbitrary identifier for the API client.
string client = 12;
- Parameters:
value
- The client to set.- Returns:
- This builder for chaining.
-
clearClient
public Job.Builder clearClient()
Arbitrary identifier for the API client.
string client = 12;
- Returns:
- This builder for chaining.
-
setClientBytes
public Job.Builder setClientBytes(com.google.protobuf.ByteString value)
Arbitrary identifier for the API client.
string client = 12;
- Parameters:
value
- The bytes for client to set.- Returns:
- This builder for chaining.
-
getClientVersion
public String getClientVersion()
Arbitrary version identifier for the API client.
string client_version = 13;
- Specified by:
getClientVersion
in interfaceJobOrBuilder
- Returns:
- The clientVersion.
-
getClientVersionBytes
public com.google.protobuf.ByteString getClientVersionBytes()
Arbitrary version identifier for the API client.
string client_version = 13;
- Specified by:
getClientVersionBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for clientVersion.
-
setClientVersion
public Job.Builder setClientVersion(String value)
Arbitrary version identifier for the API client.
string client_version = 13;
- Parameters:
value
- The clientVersion to set.- Returns:
- This builder for chaining.
-
clearClientVersion
public Job.Builder clearClientVersion()
Arbitrary version identifier for the API client.
string client_version = 13;
- Returns:
- This builder for chaining.
-
setClientVersionBytes
public Job.Builder setClientVersionBytes(com.google.protobuf.ByteString value)
Arbitrary version identifier for the API client.
string client_version = 13;
- Parameters:
value
- The bytes for clientVersion to set.- Returns:
- This builder for chaining.
-
getLaunchStageValue
public int getLaunchStageValue()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. <p> For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 14;
- Specified by:
getLaunchStageValue
in interfaceJobOrBuilder
- Returns:
- The enum numeric value on the wire for launchStage.
-
setLaunchStageValue
public Job.Builder setLaunchStageValue(int value)
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. <p> For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 14;
- Parameters:
value
- The enum numeric value on the wire for launchStage to set.- Returns:
- This builder for chaining.
-
getLaunchStage
public com.google.api.LaunchStage getLaunchStage()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. <p> For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 14;
- Specified by:
getLaunchStage
in interfaceJobOrBuilder
- Returns:
- The launchStage.
-
setLaunchStage
public Job.Builder setLaunchStage(com.google.api.LaunchStage value)
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. <p> For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 14;
- Parameters:
value
- The launchStage to set.- Returns:
- This builder for chaining.
-
clearLaunchStage
public Job.Builder clearLaunchStage()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. <p> For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 14;
- Returns:
- This builder for chaining.
-
hasBinaryAuthorization
public boolean hasBinaryAuthorization()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 15;
- Specified by:
hasBinaryAuthorization
in interfaceJobOrBuilder
- Returns:
- Whether the binaryAuthorization field is set.
-
getBinaryAuthorization
public BinaryAuthorization getBinaryAuthorization()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 15;
- Specified by:
getBinaryAuthorization
in interfaceJobOrBuilder
- Returns:
- The binaryAuthorization.
-
setBinaryAuthorization
public Job.Builder setBinaryAuthorization(BinaryAuthorization value)
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 15;
-
setBinaryAuthorization
public Job.Builder setBinaryAuthorization(BinaryAuthorization.Builder builderForValue)
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 15;
-
mergeBinaryAuthorization
public Job.Builder mergeBinaryAuthorization(BinaryAuthorization value)
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 15;
-
clearBinaryAuthorization
public Job.Builder clearBinaryAuthorization()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 15;
-
getBinaryAuthorizationBuilder
public BinaryAuthorization.Builder getBinaryAuthorizationBuilder()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 15;
-
getBinaryAuthorizationOrBuilder
public BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 15;
- Specified by:
getBinaryAuthorizationOrBuilder
in interfaceJobOrBuilder
-
hasTemplate
public boolean hasTemplate()
Required. The template used to create executions for this Job.
.google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasTemplate
in interfaceJobOrBuilder
- Returns:
- Whether the template field is set.
-
getTemplate
public ExecutionTemplate getTemplate()
Required. The template used to create executions for this Job.
.google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTemplate
in interfaceJobOrBuilder
- Returns:
- The template.
-
setTemplate
public Job.Builder setTemplate(ExecutionTemplate value)
Required. The template used to create executions for this Job.
.google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED];
-
setTemplate
public Job.Builder setTemplate(ExecutionTemplate.Builder builderForValue)
Required. The template used to create executions for this Job.
.google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED];
-
mergeTemplate
public Job.Builder mergeTemplate(ExecutionTemplate value)
Required. The template used to create executions for this Job.
.google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED];
-
clearTemplate
public Job.Builder clearTemplate()
Required. The template used to create executions for this Job.
.google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED];
-
getTemplateBuilder
public ExecutionTemplate.Builder getTemplateBuilder()
Required. The template used to create executions for this Job.
.google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED];
-
getTemplateOrBuilder
public ExecutionTemplateOrBuilder getTemplateOrBuilder()
Required. The template used to create executions for this Job.
.google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTemplateOrBuilder
in interfaceJobOrBuilder
-
getObservedGeneration
public long getObservedGeneration()
Output only. The generation of this Job. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
int64 observed_generation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getObservedGeneration
in interfaceJobOrBuilder
- Returns:
- The observedGeneration.
-
setObservedGeneration
public Job.Builder setObservedGeneration(long value)
Output only. The generation of this Job. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
int64 observed_generation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The observedGeneration to set.- Returns:
- This builder for chaining.
-
clearObservedGeneration
public Job.Builder clearObservedGeneration()
Output only. The generation of this Job. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
int64 observed_generation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasTerminalCondition
public boolean hasTerminalCondition()
Output only. The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state.
.google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasTerminalCondition
in interfaceJobOrBuilder
- Returns:
- Whether the terminalCondition field is set.
-
getTerminalCondition
public Condition getTerminalCondition()
Output only. The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state.
.google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTerminalCondition
in interfaceJobOrBuilder
- Returns:
- The terminalCondition.
-
setTerminalCondition
public Job.Builder setTerminalCondition(Condition value)
Output only. The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state.
.google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setTerminalCondition
public Job.Builder setTerminalCondition(Condition.Builder builderForValue)
Output only. The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state.
.google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeTerminalCondition
public Job.Builder mergeTerminalCondition(Condition value)
Output only. The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state.
.google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearTerminalCondition
public Job.Builder clearTerminalCondition()
Output only. The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state.
.google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTerminalConditionBuilder
public Condition.Builder getTerminalConditionBuilder()
Output only. The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state.
.google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTerminalConditionOrBuilder
public ConditionOrBuilder getTerminalConditionOrBuilder()
Output only. The Condition of this Job, containing its readiness status, and detailed error information in case it did not reach the desired state.
.google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTerminalConditionOrBuilder
in interfaceJobOrBuilder
-
getConditionsList
public List<Condition> getConditionsList()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsList
in interfaceJobOrBuilder
-
getConditionsCount
public int getConditionsCount()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsCount
in interfaceJobOrBuilder
-
getConditions
public Condition getConditions(int index)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditions
in interfaceJobOrBuilder
-
setConditions
public Job.Builder setConditions(int index, Condition value)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setConditions
public Job.Builder setConditions(int index, Condition.Builder builderForValue)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Job.Builder addConditions(Condition value)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Job.Builder addConditions(int index, Condition value)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Job.Builder addConditions(Condition.Builder builderForValue)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Job.Builder addConditions(int index, Condition.Builder builderForValue)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllConditions
public Job.Builder addAllConditions(Iterable<? extends Condition> values)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearConditions
public Job.Builder clearConditions()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeConditions
public Job.Builder removeConditions(int index)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getConditionsBuilder
public Condition.Builder getConditionsBuilder(int index)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getConditionsOrBuilder
public ConditionOrBuilder getConditionsOrBuilder(int index)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsOrBuilder
in interfaceJobOrBuilder
-
getConditionsOrBuilderList
public List<? extends ConditionOrBuilder> getConditionsOrBuilderList()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsOrBuilderList
in interfaceJobOrBuilder
-
addConditionsBuilder
public Condition.Builder addConditionsBuilder()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditionsBuilder
public Condition.Builder addConditionsBuilder(int index)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getConditionsBuilderList
public List<Condition.Builder> getConditionsBuilderList()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Job does not reach its desired state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getExecutionCount
public int getExecutionCount()
Output only. Number of executions created for this job.
int32 execution_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExecutionCount
in interfaceJobOrBuilder
- Returns:
- The executionCount.
-
setExecutionCount
public Job.Builder setExecutionCount(int value)
Output only. Number of executions created for this job.
int32 execution_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The executionCount to set.- Returns:
- This builder for chaining.
-
clearExecutionCount
public Job.Builder clearExecutionCount()
Output only. Number of executions created for this job.
int32 execution_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasLatestCreatedExecution
public boolean hasLatestCreatedExecution()
Output only. Name of the last created execution.
.google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasLatestCreatedExecution
in interfaceJobOrBuilder
- Returns:
- Whether the latestCreatedExecution field is set.
-
getLatestCreatedExecution
public ExecutionReference getLatestCreatedExecution()
Output only. Name of the last created execution.
.google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLatestCreatedExecution
in interfaceJobOrBuilder
- Returns:
- The latestCreatedExecution.
-
setLatestCreatedExecution
public Job.Builder setLatestCreatedExecution(ExecutionReference value)
Output only. Name of the last created execution.
.google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setLatestCreatedExecution
public Job.Builder setLatestCreatedExecution(ExecutionReference.Builder builderForValue)
Output only. Name of the last created execution.
.google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeLatestCreatedExecution
public Job.Builder mergeLatestCreatedExecution(ExecutionReference value)
Output only. Name of the last created execution.
.google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearLatestCreatedExecution
public Job.Builder clearLatestCreatedExecution()
Output only. Name of the last created execution.
.google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLatestCreatedExecutionBuilder
public ExecutionReference.Builder getLatestCreatedExecutionBuilder()
Output only. Name of the last created execution.
.google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLatestCreatedExecutionOrBuilder
public ExecutionReferenceOrBuilder getLatestCreatedExecutionOrBuilder()
Output only. Name of the last created execution.
.google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLatestCreatedExecutionOrBuilder
in interfaceJobOrBuilder
-
getReconciling
public boolean getReconciling()
Output only. Returns true if the Job is currently being acted upon by the system to bring it into the desired state. When a new Job is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Job to the desired state. This process is called reconciliation. While reconciliation is in process, `observed_generation` and `latest_succeeded_execution`, will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the state matches the Job, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. If reconciliation succeeded, the following fields will match: `observed_generation` and `generation`, `latest_succeeded_execution` and `latest_created_execution`. If reconciliation failed, `observed_generation` and `latest_succeeded_execution` will have the state of the last succeeded execution or empty for newly created Job. Additional information on the failure can be found in `terminal_condition` and `conditions`.
bool reconciling = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getReconciling
in interfaceJobOrBuilder
- Returns:
- The reconciling.
-
setReconciling
public Job.Builder setReconciling(boolean value)
Output only. Returns true if the Job is currently being acted upon by the system to bring it into the desired state. When a new Job is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Job to the desired state. This process is called reconciliation. While reconciliation is in process, `observed_generation` and `latest_succeeded_execution`, will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the state matches the Job, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. If reconciliation succeeded, the following fields will match: `observed_generation` and `generation`, `latest_succeeded_execution` and `latest_created_execution`. If reconciliation failed, `observed_generation` and `latest_succeeded_execution` will have the state of the last succeeded execution or empty for newly created Job. Additional information on the failure can be found in `terminal_condition` and `conditions`.
bool reconciling = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The reconciling to set.- Returns:
- This builder for chaining.
-
clearReconciling
public Job.Builder clearReconciling()
Output only. Returns true if the Job is currently being acted upon by the system to bring it into the desired state. When a new Job is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Job to the desired state. This process is called reconciliation. While reconciliation is in process, `observed_generation` and `latest_succeeded_execution`, will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the state matches the Job, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. If reconciliation succeeded, the following fields will match: `observed_generation` and `generation`, `latest_succeeded_execution` and `latest_created_execution`. If reconciliation failed, `observed_generation` and `latest_succeeded_execution` will have the state of the last succeeded execution or empty for newly created Job. Additional information on the failure can be found in `terminal_condition` and `conditions`.
bool reconciling = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSatisfiesPzs
in interfaceJobOrBuilder
- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
public Job.Builder setSatisfiesPzs(boolean value)
Output only. Reserved for future use.
bool satisfies_pzs = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
public Job.Builder clearSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getEtag
public String getEtag()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEtag
in interfaceJobOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEtagBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for etag.
-
setEtag
public Job.Builder setEtag(String value)
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public Job.Builder clearEtag()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setEtagBytes
public Job.Builder setEtagBytes(com.google.protobuf.ByteString value)
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for etag to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Job.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeUnknownFields
public final Job.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
-