Package com.google.cloud.scheduler.v1
Class Job.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Job.Builder>
com.google.cloud.scheduler.v1.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.GeneratedMessage.Builder<Job.Builder>
implements JobOrBuilder
Configuration for a job. The maximum allowed size for a job is 1MB.Protobuf type
google.cloud.scheduler.v1.Job-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()App Engine HTTP target.The deadline for job attempts.Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].HTTP target.Output only.Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only.Pub/Sub target.Settings that determine the retry behavior.Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].Output only.Output only.Output only.Specifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule].Output only.App Engine HTTP target.App Engine HTTP target.App Engine HTTP target.com.google.protobuf.DurationThe deadline for job attempts.com.google.protobuf.Duration.BuilderThe deadline for job attempts.com.google.protobuf.DurationOrBuilderThe deadline for job attempts.Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].com.google.protobuf.ByteStringOptionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorHTTP target.HTTP target.HTTP target.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only.com.google.protobuf.ByteStringOptionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only.Pub/Sub target.Pub/Sub target.Pub/Sub target.Settings that determine the retry behavior.Settings that determine the retry behavior.Settings that determine the retry behavior.Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].com.google.protobuf.ByteStringRequired, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getState()Output only.intOutput only.Output only.Output only.Output only.Specifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule].com.google.protobuf.ByteStringSpecifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule].com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanApp Engine HTTP target.booleanThe deadline for job attempts.booleanHTTP target.booleanOutput only.booleanPub/Sub target.booleanSettings that determine the retry behavior.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanApp Engine HTTP target.mergeAttemptDeadline(com.google.protobuf.Duration value) The deadline for job attempts.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHttpTarget(HttpTarget value) HTTP target.mergeLastAttemptTime(com.google.protobuf.Timestamp value) Output only.mergePubsubTarget(PubsubTarget value) Pub/Sub target.mergeRetryConfig(RetryConfig value) Settings that determine the retry behavior.mergeScheduleTime(com.google.protobuf.Timestamp value) Output only.mergeStatus(Status value) Output only.mergeUserUpdateTime(com.google.protobuf.Timestamp value) Output only.App Engine HTTP target.setAppEngineHttpTarget(AppEngineHttpTarget.Builder builderForValue) App Engine HTTP target.setAttemptDeadline(com.google.protobuf.Duration value) The deadline for job attempts.setAttemptDeadline(com.google.protobuf.Duration.Builder builderForValue) The deadline for job attempts.setDescription(String value) Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].setDescriptionBytes(com.google.protobuf.ByteString value) Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].setHttpTarget(HttpTarget value) HTTP target.setHttpTarget(HttpTarget.Builder builderForValue) HTTP target.setLastAttemptTime(com.google.protobuf.Timestamp value) Output only.setLastAttemptTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only.setNameBytes(com.google.protobuf.ByteString value) Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only.setPubsubTarget(PubsubTarget value) Pub/Sub target.setPubsubTarget(PubsubTarget.Builder builderForValue) Pub/Sub target.setRetryConfig(RetryConfig value) Settings that determine the retry behavior.setRetryConfig(RetryConfig.Builder builderForValue) Settings that determine the retry behavior.setSchedule(String value) Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].setScheduleBytes(com.google.protobuf.ByteString value) Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].setScheduleTime(com.google.protobuf.Timestamp value) Output only.setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setStateValue(int value) Output only.Output only.setStatus(Status.Builder builderForValue) Output only.setTimeZone(String value) Specifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule].setTimeZoneBytes(com.google.protobuf.ByteString value) Specifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule].setUserUpdateTime(com.google.protobuf.Timestamp value) Output only.setUserUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>- Throws:
IOException
-
getTargetCase
- Specified by:
getTargetCasein interfaceJobOrBuilder
-
clearTarget
-
getName
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the job's location. The list of available locations can be obtained by calling [ListLocations][google.cloud.location.Locations.ListLocations]. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
string name = 1;- Specified by:
getNamein interfaceJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the job's location. The list of available locations can be obtained by calling [ListLocations][google.cloud.location.Locations.ListLocations]. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
string name = 1;- Specified by:
getNameBytesin interfaceJobOrBuilder- Returns:
- The bytes for name.
-
setName
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the job's location. The list of available locations can be obtained by calling [ListLocations][google.cloud.location.Locations.ListLocations]. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the job's location. The list of available locations can be obtained by calling [ListLocations][google.cloud.location.Locations.ListLocations]. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the job's location. The list of available locations can be obtained by calling [ListLocations][google.cloud.location.Locations.ListLocations]. For more information, see https://cloud.google.com/about/locations/. * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]. A human-readable description for the job. This string must not contain more than 500 characters.
string description = 2;- Specified by:
getDescriptionin interfaceJobOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]. A human-readable description for the job. This string must not contain more than 500 characters.
string description = 2;- Specified by:
getDescriptionBytesin interfaceJobOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]. A human-readable description for the job. This string must not contain more than 500 characters.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]. A human-readable description for the job. This string must not contain more than 500 characters.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]. A human-readable description for the job. This string must not contain more than 500 characters.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasPubsubTarget
public boolean hasPubsubTarget()Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;- Specified by:
hasPubsubTargetin interfaceJobOrBuilder- Returns:
- Whether the pubsubTarget field is set.
-
getPubsubTarget
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;- Specified by:
getPubsubTargetin interfaceJobOrBuilder- Returns:
- The pubsubTarget.
-
setPubsubTarget
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; -
setPubsubTarget
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; -
mergePubsubTarget
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; -
clearPubsubTarget
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; -
getPubsubTargetBuilder
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; -
getPubsubTargetOrBuilder
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;- Specified by:
getPubsubTargetOrBuilderin interfaceJobOrBuilder
-
hasAppEngineHttpTarget
public boolean hasAppEngineHttpTarget()App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;- Specified by:
hasAppEngineHttpTargetin interfaceJobOrBuilder- Returns:
- Whether the appEngineHttpTarget field is set.
-
getAppEngineHttpTarget
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;- Specified by:
getAppEngineHttpTargetin interfaceJobOrBuilder- Returns:
- The appEngineHttpTarget.
-
setAppEngineHttpTarget
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; -
setAppEngineHttpTarget
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; -
mergeAppEngineHttpTarget
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; -
clearAppEngineHttpTarget
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; -
getAppEngineHttpTargetBuilder
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; -
getAppEngineHttpTargetOrBuilder
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;- Specified by:
getAppEngineHttpTargetOrBuilderin interfaceJobOrBuilder
-
hasHttpTarget
public boolean hasHttpTarget()HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;- Specified by:
hasHttpTargetin interfaceJobOrBuilder- Returns:
- Whether the httpTarget field is set.
-
getHttpTarget
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;- Specified by:
getHttpTargetin interfaceJobOrBuilder- Returns:
- The httpTarget.
-
setHttpTarget
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6; -
setHttpTarget
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6; -
mergeHttpTarget
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6; -
clearHttpTarget
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6; -
getHttpTargetBuilder
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6; -
getHttpTargetOrBuilder
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;- Specified by:
getHttpTargetOrBuilderin interfaceJobOrBuilder
-
getSchedule
Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]. Describes the schedule on which the job will be executed. The schedule can be either of the following types: * [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `n + 1` of a job will not begin until execution `n` has finished. Cloud Scheduler will never allow two simultaneously outstanding executions. For example, this implies that if the `n+1`th execution is scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`th execution will not start until `16:15`. A scheduled start time will be delayed if the previous execution has not ended when its scheduled time occurs. If [retry_count][google.cloud.scheduler.v1.RetryConfig.retry_count] > 0 and a job attempt fails, the job will be tried a total of [retry_count][google.cloud.scheduler.v1.RetryConfig.retry_count] times, with exponential backoff, until the next scheduled start time. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure.
string schedule = 20;- Specified by:
getSchedulein interfaceJobOrBuilder- Returns:
- The schedule.
-
getScheduleBytes
public com.google.protobuf.ByteString getScheduleBytes()Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]. Describes the schedule on which the job will be executed. The schedule can be either of the following types: * [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `n + 1` of a job will not begin until execution `n` has finished. Cloud Scheduler will never allow two simultaneously outstanding executions. For example, this implies that if the `n+1`th execution is scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`th execution will not start until `16:15`. A scheduled start time will be delayed if the previous execution has not ended when its scheduled time occurs. If [retry_count][google.cloud.scheduler.v1.RetryConfig.retry_count] > 0 and a job attempt fails, the job will be tried a total of [retry_count][google.cloud.scheduler.v1.RetryConfig.retry_count] times, with exponential backoff, until the next scheduled start time. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure.
string schedule = 20;- Specified by:
getScheduleBytesin interfaceJobOrBuilder- Returns:
- The bytes for schedule.
-
setSchedule
Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]. Describes the schedule on which the job will be executed. The schedule can be either of the following types: * [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `n + 1` of a job will not begin until execution `n` has finished. Cloud Scheduler will never allow two simultaneously outstanding executions. For example, this implies that if the `n+1`th execution is scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`th execution will not start until `16:15`. A scheduled start time will be delayed if the previous execution has not ended when its scheduled time occurs. If [retry_count][google.cloud.scheduler.v1.RetryConfig.retry_count] > 0 and a job attempt fails, the job will be tried a total of [retry_count][google.cloud.scheduler.v1.RetryConfig.retry_count] times, with exponential backoff, until the next scheduled start time. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure.
string schedule = 20;- Parameters:
value- The schedule to set.- Returns:
- This builder for chaining.
-
clearSchedule
Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]. Describes the schedule on which the job will be executed. The schedule can be either of the following types: * [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `n + 1` of a job will not begin until execution `n` has finished. Cloud Scheduler will never allow two simultaneously outstanding executions. For example, this implies that if the `n+1`th execution is scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`th execution will not start until `16:15`. A scheduled start time will be delayed if the previous execution has not ended when its scheduled time occurs. If [retry_count][google.cloud.scheduler.v1.RetryConfig.retry_count] > 0 and a job attempt fails, the job will be tried a total of [retry_count][google.cloud.scheduler.v1.RetryConfig.retry_count] times, with exponential backoff, until the next scheduled start time. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure.
string schedule = 20;- Returns:
- This builder for chaining.
-
setScheduleBytes
Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]. Describes the schedule on which the job will be executed. The schedule can be either of the following types: * [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `n + 1` of a job will not begin until execution `n` has finished. Cloud Scheduler will never allow two simultaneously outstanding executions. For example, this implies that if the `n+1`th execution is scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`th execution will not start until `16:15`. A scheduled start time will be delayed if the previous execution has not ended when its scheduled time occurs. If [retry_count][google.cloud.scheduler.v1.RetryConfig.retry_count] > 0 and a job attempt fails, the job will be tried a total of [retry_count][google.cloud.scheduler.v1.RetryConfig.retry_count] times, with exponential backoff, until the next scheduled start time. If retry_count is 0, a job attempt will not be retried if it fails. Instead the Cloud Scheduler system will wait for the next scheduled execution time. Setting retry_count to 0 does not prevent failed jobs from running according to schedule after the failure.
string schedule = 20;- Parameters:
value- The bytes for schedule to set.- Returns:
- This builder for chaining.
-
getTimeZone
Specifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database). Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT).
string time_zone = 21;- Specified by:
getTimeZonein interfaceJobOrBuilder- Returns:
- The timeZone.
-
getTimeZoneBytes
public com.google.protobuf.ByteString getTimeZoneBytes()Specifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database). Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT).
string time_zone = 21;- Specified by:
getTimeZoneBytesin interfaceJobOrBuilder- Returns:
- The bytes for timeZone.
-
setTimeZone
Specifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database). Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT).
string time_zone = 21;- Parameters:
value- The timeZone to set.- Returns:
- This builder for chaining.
-
clearTimeZone
Specifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database). Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT).
string time_zone = 21;- Returns:
- This builder for chaining.
-
setTimeZoneBytes
Specifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database). Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string "utc". If a time zone is not specified, the default will be in UTC (also known as GMT).
string time_zone = 21;- Parameters:
value- The bytes for timeZone to set.- Returns:
- This builder for chaining.
-
hasUserUpdateTime
public boolean hasUserUpdateTime()Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUserUpdateTimein interfaceJobOrBuilder- Returns:
- Whether the userUpdateTime field is set.
-
getUserUpdateTime
public com.google.protobuf.Timestamp getUserUpdateTime()Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserUpdateTimein interfaceJobOrBuilder- Returns:
- The userUpdateTime.
-
setUserUpdateTime
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUserUpdateTime
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUserUpdateTime
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUserUpdateTime
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUserUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUserUpdateTimeBuilder()Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUserUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder()Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserUpdateTimeOrBuilderin interfaceJobOrBuilder
-
getStateValue
public int getStateValue()Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceJobOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceJobOrBuilder- Returns:
- The state.
-
setState
Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStatusin interfaceJobOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceJobOrBuilder- Returns:
- The status.
-
setStatus
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStatus
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeStatus
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStatus
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStatusBuilder
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStatusOrBuilder
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusOrBuilderin interfaceJobOrBuilder
-
hasScheduleTime
public boolean hasScheduleTime()Output only. The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule.
.google.protobuf.Timestamp schedule_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasScheduleTimein interfaceJobOrBuilder- Returns:
- Whether the scheduleTime field is set.
-
getScheduleTime
public com.google.protobuf.Timestamp getScheduleTime()Output only. The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule.
.google.protobuf.Timestamp schedule_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getScheduleTimein interfaceJobOrBuilder- Returns:
- The scheduleTime.
-
setScheduleTime
Output only. The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule.
.google.protobuf.Timestamp schedule_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setScheduleTime
Output only. The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule.
.google.protobuf.Timestamp schedule_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeScheduleTime
Output only. The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule.
.google.protobuf.Timestamp schedule_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearScheduleTime
Output only. The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule.
.google.protobuf.Timestamp schedule_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getScheduleTimeBuilder
public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder()Output only. The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule.
.google.protobuf.Timestamp schedule_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getScheduleTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder()Output only. The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule.
.google.protobuf.Timestamp schedule_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getScheduleTimeOrBuilderin interfaceJobOrBuilder
-
hasLastAttemptTime
public boolean hasLastAttemptTime()Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLastAttemptTimein interfaceJobOrBuilder- Returns:
- Whether the lastAttemptTime field is set.
-
getLastAttemptTime
public com.google.protobuf.Timestamp getLastAttemptTime()Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastAttemptTimein interfaceJobOrBuilder- Returns:
- The lastAttemptTime.
-
setLastAttemptTime
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setLastAttemptTime
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeLastAttemptTime
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearLastAttemptTime
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLastAttemptTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastAttemptTimeBuilder()Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLastAttemptTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder()Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastAttemptTimeOrBuilderin interfaceJobOrBuilder
-
hasRetryConfig
public boolean hasRetryConfig()Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;- Specified by:
hasRetryConfigin interfaceJobOrBuilder- Returns:
- Whether the retryConfig field is set.
-
getRetryConfig
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;- Specified by:
getRetryConfigin interfaceJobOrBuilder- Returns:
- The retryConfig.
-
setRetryConfig
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19; -
setRetryConfig
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19; -
mergeRetryConfig
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19; -
clearRetryConfig
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19; -
getRetryConfigBuilder
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19; -
getRetryConfigOrBuilder
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;- Specified by:
getRetryConfigOrBuilderin interfaceJobOrBuilder
-
hasAttemptDeadline
public boolean hasAttemptDeadline()The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the [RetryConfig][google.cloud.scheduler.v1.RetryConfig]. The default and the allowed values depend on the type of target: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], the default is 3 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], 0 indicates that the request has the default deadline. The default deadline depends on the scaling type of the service: 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. * For [Pub/Sub targets][google.cloud.scheduler.v1.Job.pubsub_target], this field is ignored.
.google.protobuf.Duration attempt_deadline = 22;- Specified by:
hasAttemptDeadlinein interfaceJobOrBuilder- Returns:
- Whether the attemptDeadline field is set.
-
getAttemptDeadline
public com.google.protobuf.Duration getAttemptDeadline()The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the [RetryConfig][google.cloud.scheduler.v1.RetryConfig]. The default and the allowed values depend on the type of target: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], the default is 3 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], 0 indicates that the request has the default deadline. The default deadline depends on the scaling type of the service: 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. * For [Pub/Sub targets][google.cloud.scheduler.v1.Job.pubsub_target], this field is ignored.
.google.protobuf.Duration attempt_deadline = 22;- Specified by:
getAttemptDeadlinein interfaceJobOrBuilder- Returns:
- The attemptDeadline.
-
setAttemptDeadline
The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the [RetryConfig][google.cloud.scheduler.v1.RetryConfig]. The default and the allowed values depend on the type of target: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], the default is 3 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], 0 indicates that the request has the default deadline. The default deadline depends on the scaling type of the service: 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. * For [Pub/Sub targets][google.cloud.scheduler.v1.Job.pubsub_target], this field is ignored.
.google.protobuf.Duration attempt_deadline = 22; -
setAttemptDeadline
The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the [RetryConfig][google.cloud.scheduler.v1.RetryConfig]. The default and the allowed values depend on the type of target: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], the default is 3 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], 0 indicates that the request has the default deadline. The default deadline depends on the scaling type of the service: 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. * For [Pub/Sub targets][google.cloud.scheduler.v1.Job.pubsub_target], this field is ignored.
.google.protobuf.Duration attempt_deadline = 22; -
mergeAttemptDeadline
The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the [RetryConfig][google.cloud.scheduler.v1.RetryConfig]. The default and the allowed values depend on the type of target: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], the default is 3 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], 0 indicates that the request has the default deadline. The default deadline depends on the scaling type of the service: 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. * For [Pub/Sub targets][google.cloud.scheduler.v1.Job.pubsub_target], this field is ignored.
.google.protobuf.Duration attempt_deadline = 22; -
clearAttemptDeadline
The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the [RetryConfig][google.cloud.scheduler.v1.RetryConfig]. The default and the allowed values depend on the type of target: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], the default is 3 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], 0 indicates that the request has the default deadline. The default deadline depends on the scaling type of the service: 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. * For [Pub/Sub targets][google.cloud.scheduler.v1.Job.pubsub_target], this field is ignored.
.google.protobuf.Duration attempt_deadline = 22; -
getAttemptDeadlineBuilder
public com.google.protobuf.Duration.Builder getAttemptDeadlineBuilder()The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the [RetryConfig][google.cloud.scheduler.v1.RetryConfig]. The default and the allowed values depend on the type of target: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], the default is 3 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], 0 indicates that the request has the default deadline. The default deadline depends on the scaling type of the service: 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. * For [Pub/Sub targets][google.cloud.scheduler.v1.Job.pubsub_target], this field is ignored.
.google.protobuf.Duration attempt_deadline = 22; -
getAttemptDeadlineOrBuilder
public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder()The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the [RetryConfig][google.cloud.scheduler.v1.RetryConfig]. The default and the allowed values depend on the type of target: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], the default is 3 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], 0 indicates that the request has the default deadline. The default deadline depends on the scaling type of the service: 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. * For [Pub/Sub targets][google.cloud.scheduler.v1.Job.pubsub_target], this field is ignored.
.google.protobuf.Duration attempt_deadline = 22;- Specified by:
getAttemptDeadlineOrBuilderin interfaceJobOrBuilder
-