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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Job.Builder> implements JobOrBuilder
Configuration for a job. The maximum allowed size for a job is 1MB.
Protobuf typegoogle.cloud.scheduler.v1.Job
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Job.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Jobbuild()JobbuildPartial()Job.Builderclear()Job.BuilderclearAppEngineHttpTarget()App Engine HTTP target.Job.BuilderclearAttemptDeadline()The deadline for job attempts.Job.BuilderclearDescription()Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].Job.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Job.BuilderclearHttpTarget()HTTP target.Job.BuilderclearLastAttemptTime()Output only.Job.BuilderclearName()Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only.Job.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Job.BuilderclearPubsubTarget()Pub/Sub target.Job.BuilderclearRetryConfig()Settings that determine the retry behavior.Job.BuilderclearSchedule()Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].Job.BuilderclearScheduleTime()Output only.Job.BuilderclearState()Output only.Job.BuilderclearStatus()Output only.Job.BuilderclearTarget()Job.BuilderclearTimeZone()Specifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule].Job.BuilderclearUserUpdateTime()Output only.Job.Builderclone()AppEngineHttpTargetgetAppEngineHttpTarget()App Engine HTTP target.AppEngineHttpTarget.BuildergetAppEngineHttpTargetBuilder()App Engine HTTP target.AppEngineHttpTargetOrBuildergetAppEngineHttpTargetOrBuilder()App Engine HTTP target.com.google.protobuf.DurationgetAttemptDeadline()The deadline for job attempts.com.google.protobuf.Duration.BuildergetAttemptDeadlineBuilder()The deadline for job attempts.com.google.protobuf.DurationOrBuildergetAttemptDeadlineOrBuilder()The deadline for job attempts.JobgetDefaultInstanceForType()StringgetDescription()Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].com.google.protobuf.ByteStringgetDescriptionBytes()Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HttpTargetgetHttpTarget()HTTP target.HttpTarget.BuildergetHttpTargetBuilder()HTTP target.HttpTargetOrBuildergetHttpTargetOrBuilder()HTTP target.com.google.protobuf.TimestampgetLastAttemptTime()Output only.com.google.protobuf.Timestamp.BuildergetLastAttemptTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetLastAttemptTimeOrBuilder()Output only.StringgetName()Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only.com.google.protobuf.ByteStringgetNameBytes()Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only.PubsubTargetgetPubsubTarget()Pub/Sub target.PubsubTarget.BuildergetPubsubTargetBuilder()Pub/Sub target.PubsubTargetOrBuildergetPubsubTargetOrBuilder()Pub/Sub target.RetryConfiggetRetryConfig()Settings that determine the retry behavior.RetryConfig.BuildergetRetryConfigBuilder()Settings that determine the retry behavior.RetryConfigOrBuildergetRetryConfigOrBuilder()Settings that determine the retry behavior.StringgetSchedule()Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].com.google.protobuf.ByteStringgetScheduleBytes()Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].com.google.protobuf.TimestampgetScheduleTime()Output only.com.google.protobuf.Timestamp.BuildergetScheduleTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetScheduleTimeOrBuilder()Output only.Job.StategetState()Output only.intgetStateValue()Output only.com.google.rpc.StatusgetStatus()Output only.com.google.rpc.Status.BuildergetStatusBuilder()Output only.com.google.rpc.StatusOrBuildergetStatusOrBuilder()Output only.Job.TargetCasegetTargetCase()StringgetTimeZone()Specifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule].com.google.protobuf.ByteStringgetTimeZoneBytes()Specifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule].com.google.protobuf.TimestampgetUserUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUserUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUserUpdateTimeOrBuilder()Output only.booleanhasAppEngineHttpTarget()App Engine HTTP target.booleanhasAttemptDeadline()The deadline for job attempts.booleanhasHttpTarget()HTTP target.booleanhasLastAttemptTime()Output only.booleanhasPubsubTarget()Pub/Sub target.booleanhasRetryConfig()Settings that determine the retry behavior.booleanhasScheduleTime()Output only.booleanhasStatus()Output only.booleanhasUserUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Job.BuildermergeAppEngineHttpTarget(AppEngineHttpTarget value)App Engine HTTP target.Job.BuildermergeAttemptDeadline(com.google.protobuf.Duration value)The deadline for job attempts.Job.BuildermergeFrom(Job other)Job.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Job.BuildermergeFrom(com.google.protobuf.Message other)Job.BuildermergeHttpTarget(HttpTarget value)HTTP target.Job.BuildermergeLastAttemptTime(com.google.protobuf.Timestamp value)Output only.Job.BuildermergePubsubTarget(PubsubTarget value)Pub/Sub target.Job.BuildermergeRetryConfig(RetryConfig value)Settings that determine the retry behavior.Job.BuildermergeScheduleTime(com.google.protobuf.Timestamp value)Output only.Job.BuildermergeStatus(com.google.rpc.Status value)Output only.Job.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Job.BuildermergeUserUpdateTime(com.google.protobuf.Timestamp value)Output only.Job.BuildersetAppEngineHttpTarget(AppEngineHttpTarget value)App Engine HTTP target.Job.BuildersetAppEngineHttpTarget(AppEngineHttpTarget.Builder builderForValue)App Engine HTTP target.Job.BuildersetAttemptDeadline(com.google.protobuf.Duration value)The deadline for job attempts.Job.BuildersetAttemptDeadline(com.google.protobuf.Duration.Builder builderForValue)The deadline for job attempts.Job.BuildersetDescription(String value)Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].Job.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].Job.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Job.BuildersetHttpTarget(HttpTarget value)HTTP target.Job.BuildersetHttpTarget(HttpTarget.Builder builderForValue)HTTP target.Job.BuildersetLastAttemptTime(com.google.protobuf.Timestamp value)Output only.Job.BuildersetLastAttemptTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Job.BuildersetName(String value)Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only.Job.BuildersetNameBytes(com.google.protobuf.ByteString value)Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after which it becomes output only.Job.BuildersetPubsubTarget(PubsubTarget value)Pub/Sub target.Job.BuildersetPubsubTarget(PubsubTarget.Builder builderForValue)Pub/Sub target.Job.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Job.BuildersetRetryConfig(RetryConfig value)Settings that determine the retry behavior.Job.BuildersetRetryConfig(RetryConfig.Builder builderForValue)Settings that determine the retry behavior.Job.BuildersetSchedule(String value)Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].Job.BuildersetScheduleBytes(com.google.protobuf.ByteString value)Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].Job.BuildersetScheduleTime(com.google.protobuf.Timestamp value)Output only.Job.BuildersetScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Job.BuildersetState(Job.State value)Output only.Job.BuildersetStateValue(int value)Output only.Job.BuildersetStatus(com.google.rpc.Status value)Output only.Job.BuildersetStatus(com.google.rpc.Status.Builder builderForValue)Output only.Job.BuildersetTimeZone(String value)Specifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule].Job.BuildersetTimeZoneBytes(com.google.protobuf.ByteString value)Specifies the time zone to be used in interpreting [schedule][google.cloud.scheduler.v1.Job.schedule].Job.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Job.BuildersetUserUpdateTime(com.google.protobuf.Timestamp value)Output only.Job.BuildersetUserUpdateTime(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, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clear
public Job.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Job.Builder>
-
getDefaultInstanceForType
public Job getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Job build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Job buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Job.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
setField
public Job.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clearField
public Job.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clearOneof
public Job.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
setRepeatedField
public Job.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
addRepeatedField
public Job.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(Job other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
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
public Job.TargetCase getTargetCase()
- Specified by:
getTargetCasein interfaceJobOrBuilder
-
clearTarget
public Job.Builder clearTarget()
-
getName
public String 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
public Job.Builder setName(String value)
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
public Job.Builder 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
public Job.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public String 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
public Job.Builder setDescription(String value)
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
public Job.Builder 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
public Job.Builder 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]. 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
public PubsubTarget getPubsubTarget()
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;- Specified by:
getPubsubTargetin interfaceJobOrBuilder- Returns:
- The pubsubTarget.
-
setPubsubTarget
public Job.Builder setPubsubTarget(PubsubTarget value)
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;
-
setPubsubTarget
public Job.Builder setPubsubTarget(PubsubTarget.Builder builderForValue)
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;
-
mergePubsubTarget
public Job.Builder mergePubsubTarget(PubsubTarget value)
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;
-
clearPubsubTarget
public Job.Builder clearPubsubTarget()
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;
-
getPubsubTargetBuilder
public PubsubTarget.Builder getPubsubTargetBuilder()
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;
-
getPubsubTargetOrBuilder
public PubsubTargetOrBuilder 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
public AppEngineHttpTarget getAppEngineHttpTarget()
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;- Specified by:
getAppEngineHttpTargetin interfaceJobOrBuilder- Returns:
- The appEngineHttpTarget.
-
setAppEngineHttpTarget
public Job.Builder setAppEngineHttpTarget(AppEngineHttpTarget value)
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;
-
setAppEngineHttpTarget
public Job.Builder setAppEngineHttpTarget(AppEngineHttpTarget.Builder builderForValue)
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;
-
mergeAppEngineHttpTarget
public Job.Builder mergeAppEngineHttpTarget(AppEngineHttpTarget value)
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;
-
clearAppEngineHttpTarget
public Job.Builder clearAppEngineHttpTarget()
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;
-
getAppEngineHttpTargetBuilder
public AppEngineHttpTarget.Builder getAppEngineHttpTargetBuilder()
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;
-
getAppEngineHttpTargetOrBuilder
public AppEngineHttpTargetOrBuilder 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
public HttpTarget getHttpTarget()
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;- Specified by:
getHttpTargetin interfaceJobOrBuilder- Returns:
- The httpTarget.
-
setHttpTarget
public Job.Builder setHttpTarget(HttpTarget value)
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;
-
setHttpTarget
public Job.Builder setHttpTarget(HttpTarget.Builder builderForValue)
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;
-
mergeHttpTarget
public Job.Builder mergeHttpTarget(HttpTarget value)
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;
-
clearHttpTarget
public Job.Builder clearHttpTarget()
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;
-
getHttpTargetBuilder
public HttpTarget.Builder getHttpTargetBuilder()
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;
-
getHttpTargetOrBuilder
public HttpTargetOrBuilder getHttpTargetOrBuilder()
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;- Specified by:
getHttpTargetOrBuilderin interfaceJobOrBuilder
-
getSchedule
public String 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.
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.
string schedule = 20;- Specified by:
getScheduleBytesin interfaceJobOrBuilder- Returns:
- The bytes for schedule.
-
setSchedule
public Job.Builder setSchedule(String value)
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.
string schedule = 20;- Parameters:
value- The schedule to set.- Returns:
- This builder for chaining.
-
clearSchedule
public Job.Builder 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.
string schedule = 20;- Returns:
- This builder for chaining.
-
setScheduleBytes
public Job.Builder setScheduleBytes(com.google.protobuf.ByteString value)
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.
string schedule = 20;- Parameters:
value- The bytes for schedule to set.- Returns:
- This builder for chaining.
-
getTimeZone
public String 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
public Job.Builder setTimeZone(String value)
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
public Job.Builder 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
public Job.Builder setTimeZoneBytes(com.google.protobuf.ByteString value)
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;- 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;- Specified by:
getUserUpdateTimein interfaceJobOrBuilder- Returns:
- The userUpdateTime.
-
setUserUpdateTime
public Job.Builder setUserUpdateTime(com.google.protobuf.Timestamp value)
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9;
-
setUserUpdateTime
public Job.Builder setUserUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9;
-
mergeUserUpdateTime
public Job.Builder mergeUserUpdateTime(com.google.protobuf.Timestamp value)
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9;
-
clearUserUpdateTime
public Job.Builder clearUserUpdateTime()
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9;
-
getUserUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUserUpdateTimeBuilder()
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9;
-
getUserUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder()
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9;- Specified by:
getUserUpdateTimeOrBuilderin interfaceJobOrBuilder
-
getStateValue
public int getStateValue()
Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10;- Specified by:
getStateValuein interfaceJobOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Job.Builder setStateValue(int value)
Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public Job.State getState()
Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10;- Specified by:
getStatein interfaceJobOrBuilder- Returns:
- The state.
-
setState
public Job.Builder setState(Job.State value)
Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Job.Builder clearState()
Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10;- 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;- Specified by:
hasStatusin interfaceJobOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public com.google.rpc.Status getStatus()
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11;- Specified by:
getStatusin interfaceJobOrBuilder- Returns:
- The status.
-
setStatus
public Job.Builder setStatus(com.google.rpc.Status value)
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11;
-
setStatus
public Job.Builder setStatus(com.google.rpc.Status.Builder builderForValue)
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11;
-
mergeStatus
public Job.Builder mergeStatus(com.google.rpc.Status value)
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11;
-
clearStatus
public Job.Builder clearStatus()
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11;
-
getStatusBuilder
public com.google.rpc.Status.Builder getStatusBuilder()
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11;
-
getStatusOrBuilder
public com.google.rpc.StatusOrBuilder getStatusOrBuilder()
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11;- 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;- 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;- Specified by:
getScheduleTimein interfaceJobOrBuilder- Returns:
- The scheduleTime.
-
setScheduleTime
public Job.Builder setScheduleTime(com.google.protobuf.Timestamp value)
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;
-
setScheduleTime
public Job.Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue)
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;
-
mergeScheduleTime
public Job.Builder mergeScheduleTime(com.google.protobuf.Timestamp value)
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;
-
clearScheduleTime
public Job.Builder 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;
-
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;
-
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;- Specified by:
getScheduleTimeOrBuilderin interfaceJobOrBuilder
-
hasLastAttemptTime
public boolean hasLastAttemptTime()
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;- 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;- Specified by:
getLastAttemptTimein interfaceJobOrBuilder- Returns:
- The lastAttemptTime.
-
setLastAttemptTime
public Job.Builder setLastAttemptTime(com.google.protobuf.Timestamp value)
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;
-
setLastAttemptTime
public Job.Builder setLastAttemptTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;
-
mergeLastAttemptTime
public Job.Builder mergeLastAttemptTime(com.google.protobuf.Timestamp value)
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;
-
clearLastAttemptTime
public Job.Builder clearLastAttemptTime()
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;
-
getLastAttemptTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastAttemptTimeBuilder()
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;
-
getLastAttemptTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder()
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;- 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
public RetryConfig getRetryConfig()
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;- Specified by:
getRetryConfigin interfaceJobOrBuilder- Returns:
- The retryConfig.
-
setRetryConfig
public Job.Builder setRetryConfig(RetryConfig value)
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;
-
setRetryConfig
public Job.Builder setRetryConfig(RetryConfig.Builder builderForValue)
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;
-
mergeRetryConfig
public Job.Builder mergeRetryConfig(RetryConfig value)
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;
-
clearRetryConfig
public Job.Builder clearRetryConfig()
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;
-
getRetryConfigBuilder
public RetryConfig.Builder getRetryConfigBuilder()
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;
-
getRetryConfigOrBuilder
public RetryConfigOrBuilder 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
public Job.Builder setAttemptDeadline(com.google.protobuf.Duration value)
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
public Job.Builder setAttemptDeadline(com.google.protobuf.Duration.Builder builderForValue)
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
public Job.Builder mergeAttemptDeadline(com.google.protobuf.Duration value)
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
public Job.Builder 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
-
setUnknownFields
public final Job.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeUnknownFields
public final Job.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
-