public final class Job extends com.google.protobuf.GeneratedMessageV3 implements JobOrBuilder
Job represents the configuration of a single job, which references a container image that is run to completion.Protobuf type
google.cloud.run.v2.Job| Modifier and Type | Class and Description |
|---|---|
static class |
Job.Builder
Job represents the configuration of a single job, which references a
container image that is run to completion.
|
static class |
Job.CreateExecutionCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean |
equals(Object obj) |
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.
|
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.
|
int |
getConditionsCount()
Output only.
|
List<Condition> |
getConditionsList()
Output only.
|
ConditionOrBuilder |
getConditionsOrBuilder(int index)
Output only.
|
List<? extends ConditionOrBuilder> |
getConditionsOrBuilderList()
Output only.
|
Job.CreateExecutionCase |
getCreateExecutionCase() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getCreator()
Output only.
|
com.google.protobuf.ByteString |
getCreatorBytes()
Output only.
|
static Job |
getDefaultInstance() |
Job |
getDefaultInstanceForType() |
com.google.protobuf.Timestamp |
getDeleteTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDeleteTimeOrBuilder()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.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.
|
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).
|
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.
|
com.google.protobuf.Parser<Job> |
getParserForType() |
boolean |
getReconciling()
Output only.
|
String |
getRunExecutionToken()
A unique string used as a suffix for creating a new execution.
|
com.google.protobuf.ByteString |
getRunExecutionTokenBytes()
A unique string used as a suffix for creating a new execution.
|
boolean |
getSatisfiesPzs()
Output only.
|
int |
getSerializedSize() |
String |
getStartExecutionToken()
A unique string used as a suffix creating a new execution.
|
com.google.protobuf.ByteString |
getStartExecutionTokenBytes()
A unique string used as a suffix creating a new execution.
|
ExecutionTemplate |
getTemplate()
Required.
|
ExecutionTemplateOrBuilder |
getTemplateOrBuilder()
Required.
|
Condition |
getTerminalCondition()
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.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasBinaryAuthorization()
Settings for the Binary Authorization feature.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDeleteTime()
Output only.
|
boolean |
hasExpireTime()
Output only.
|
int |
hashCode() |
boolean |
hasLatestCreatedExecution()
Output only.
|
boolean |
hasRunExecutionToken()
A unique string used as a suffix for creating a new execution.
|
boolean |
hasStartExecutionToken()
A unique string used as a suffix creating a new execution.
|
boolean |
hasTemplate()
Required.
|
boolean |
hasTerminalCondition()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static Job.Builder |
newBuilder() |
static Job.Builder |
newBuilder(Job prototype) |
Job.Builder |
newBuilderForType() |
protected Job.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Job |
parseDelimitedFrom(InputStream input) |
static Job |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Job |
parseFrom(byte[] data) |
static Job |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Job |
parseFrom(ByteBuffer data) |
static Job |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Job |
parseFrom(com.google.protobuf.ByteString data) |
static Job |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Job |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Job |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Job |
parseFrom(InputStream input) |
static Job |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Job> |
parser() |
Job.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
public static final int GENERATION_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
public static final int CREATOR_FIELD_NUMBER
public static final int LAST_MODIFIER_FIELD_NUMBER
public static final int CLIENT_FIELD_NUMBER
public static final int CLIENT_VERSION_FIELD_NUMBER
public static final int LAUNCH_STAGE_FIELD_NUMBER
public static final int BINARY_AUTHORIZATION_FIELD_NUMBER
public static final int TEMPLATE_FIELD_NUMBER
public static final int OBSERVED_GENERATION_FIELD_NUMBER
public static final int TERMINAL_CONDITION_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER
public static final int EXECUTION_COUNT_FIELD_NUMBER
public static final int LATEST_CREATED_EXECUTION_FIELD_NUMBER
public static final int RECONCILING_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER
public static final int START_EXECUTION_TOKEN_FIELD_NUMBER
public static final int RUN_EXECUTION_TOKEN_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Job.CreateExecutionCase getCreateExecutionCase()
getCreateExecutionCase in interface JobOrBuilderpublic String getName()
The fully qualified name of this Job.
Format:
projects/{project}/locations/{location}/jobs/{job}
string name = 1;getName in interface JobOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The fully qualified name of this Job.
Format:
projects/{project}/locations/{location}/jobs/{job}
string name = 1;getNameBytes in interface JobOrBuilderpublic 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];getUid in interface JobOrBuilderpublic 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];getUidBytes in interface JobOrBuilderpublic 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];getGeneration in interface JobOrBuilderpublic int getLabelsCount()
JobOrBuilderUnstructured 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;getLabelsCount in interface JobOrBuilderpublic 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;containsLabels in interface JobOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface JobOrBuilderpublic 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;getLabelsMap in interface JobOrBuilderpublic 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;getLabelsOrDefault in interface JobOrBuilderpublic 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;getLabelsOrThrow in interface JobOrBuilderpublic int getAnnotationsCount()
JobOrBuilderUnstructured 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;getAnnotationsCount in interface JobOrBuilderpublic 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;containsAnnotations in interface JobOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface JobOrBuilderpublic 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;getAnnotationsMap in interface JobOrBuilderpublic 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;getAnnotationsOrDefault in interface JobOrBuilderpublic 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;getAnnotationsOrThrow in interface JobOrBuilderpublic boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface JobOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface JobOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface JobOrBuilderpublic boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface JobOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface JobOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface JobOrBuilderpublic boolean hasDeleteTime()
Output only. The deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDeleteTime in interface JobOrBuilderpublic com.google.protobuf.Timestamp getDeleteTime()
Output only. The deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTime in interface JobOrBuilderpublic com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. The deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTimeOrBuilder in interface JobOrBuilderpublic 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];
hasExpireTime in interface JobOrBuilderpublic 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];
getExpireTime in interface JobOrBuilderpublic 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];
getExpireTimeOrBuilder in interface JobOrBuilderpublic String getCreator()
Output only. Email address of the authenticated creator.
string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];getCreator in interface JobOrBuilderpublic com.google.protobuf.ByteString getCreatorBytes()
Output only. Email address of the authenticated creator.
string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];getCreatorBytes in interface JobOrBuilderpublic String getLastModifier()
Output only. Email address of the last authenticated modifier.
string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];getLastModifier in interface JobOrBuilderpublic com.google.protobuf.ByteString getLastModifierBytes()
Output only. Email address of the last authenticated modifier.
string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];getLastModifierBytes in interface JobOrBuilderpublic String getClient()
Arbitrary identifier for the API client.
string client = 12;getClient in interface JobOrBuilderpublic com.google.protobuf.ByteString getClientBytes()
Arbitrary identifier for the API client.
string client = 12;getClientBytes in interface JobOrBuilderpublic String getClientVersion()
Arbitrary version identifier for the API client.
string client_version = 13;getClientVersion in interface JobOrBuilderpublic com.google.protobuf.ByteString getClientVersionBytes()
Arbitrary version identifier for the API client.
string client_version = 13;getClientVersionBytes in interface JobOrBuilderpublic 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. 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;getLaunchStageValue in interface JobOrBuilderpublic 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. 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;getLaunchStage in interface JobOrBuilderpublic boolean hasBinaryAuthorization()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 15;hasBinaryAuthorization in interface JobOrBuilderpublic BinaryAuthorization getBinaryAuthorization()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 15;getBinaryAuthorization in interface JobOrBuilderpublic BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 15;getBinaryAuthorizationOrBuilder in interface JobOrBuilderpublic boolean hasTemplate()
Required. The template used to create executions for this Job.
.google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED];
hasTemplate in interface JobOrBuilderpublic ExecutionTemplate getTemplate()
Required. The template used to create executions for this Job.
.google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED];
getTemplate in interface JobOrBuilderpublic ExecutionTemplateOrBuilder getTemplateOrBuilder()
Required. The template used to create executions for this Job.
.google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED];
getTemplateOrBuilder in interface JobOrBuilderpublic 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];getObservedGeneration in interface JobOrBuilderpublic 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];
hasTerminalCondition in interface JobOrBuilderpublic 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];
getTerminalCondition in interface JobOrBuilderpublic 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];
getTerminalConditionOrBuilder in interface JobOrBuilderpublic 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];
getConditionsList in interface JobOrBuilderpublic 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];
getConditionsOrBuilderList in interface JobOrBuilderpublic 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];
getConditionsCount in interface JobOrBuilderpublic 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];
getConditions in interface JobOrBuilderpublic 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];
getConditionsOrBuilder in interface JobOrBuilderpublic int getExecutionCount()
Output only. Number of executions created for this job.
int32 execution_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];getExecutionCount in interface JobOrBuilderpublic 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];
hasLatestCreatedExecution in interface JobOrBuilderpublic 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];
getLatestCreatedExecution in interface JobOrBuilderpublic 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];
getLatestCreatedExecutionOrBuilder in interface JobOrBuilderpublic 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];getReconciling in interface JobOrBuilderpublic boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];getSatisfiesPzs in interface JobOrBuilderpublic boolean hasStartExecutionToken()
A unique string used as a suffix creating a new execution. The Job will become ready when the execution is successfully started. The sum of job name and token length must be fewer than 63 characters.
string start_execution_token = 26;hasStartExecutionToken in interface JobOrBuilderpublic String getStartExecutionToken()
A unique string used as a suffix creating a new execution. The Job will become ready when the execution is successfully started. The sum of job name and token length must be fewer than 63 characters.
string start_execution_token = 26;getStartExecutionToken in interface JobOrBuilderpublic com.google.protobuf.ByteString getStartExecutionTokenBytes()
A unique string used as a suffix creating a new execution. The Job will become ready when the execution is successfully started. The sum of job name and token length must be fewer than 63 characters.
string start_execution_token = 26;getStartExecutionTokenBytes in interface JobOrBuilderpublic boolean hasRunExecutionToken()
A unique string used as a suffix for creating a new execution. The Job will become ready when the execution is successfully completed. The sum of job name and token length must be fewer than 63 characters.
string run_execution_token = 27;hasRunExecutionToken in interface JobOrBuilderpublic String getRunExecutionToken()
A unique string used as a suffix for creating a new execution. The Job will become ready when the execution is successfully completed. The sum of job name and token length must be fewer than 63 characters.
string run_execution_token = 27;getRunExecutionToken in interface JobOrBuilderpublic com.google.protobuf.ByteString getRunExecutionTokenBytes()
A unique string used as a suffix for creating a new execution. The Job will become ready when the execution is successfully completed. The sum of job name and token length must be fewer than 63 characters.
string run_execution_token = 27;getRunExecutionTokenBytes in interface JobOrBuilderpublic 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];getEtag in interface JobOrBuilderpublic 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];getEtagBytes in interface JobOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Job parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Job parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Job parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Job parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Job parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Job parseFrom(InputStream input) throws IOException
IOExceptionpublic static Job parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Job parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Job parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Job parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Job parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Job.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Job.Builder newBuilder()
public static Job.Builder newBuilder(Job prototype)
public Job.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Job.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Job getDefaultInstance()
public static com.google.protobuf.Parser<Job> parser()
public com.google.protobuf.Parser<Job> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Job getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.