public static final class Job.Builder extends GeneratedMessageV3.Builder<Job.Builder> implements JobOrBuilder
Configuration for a job. The maximum allowed size for a job is 100KB.Protobuf type
google.cloud.scheduler.v1.Job
Modifier and Type | Method and Description |
---|---|
Job.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Job |
build() |
Job |
buildPartial() |
Job.Builder |
clear() |
Job.Builder |
clearAppEngineHttpTarget()
App Engine HTTP target.
|
Job.Builder |
clearAttemptDeadline()
The deadline for job attempts.
|
Job.Builder |
clearDescription()
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
[UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
|
Job.Builder |
clearField(Descriptors.FieldDescriptor field) |
Job.Builder |
clearHttpTarget()
HTTP target.
|
Job.Builder |
clearLastAttemptTime()
Output only.
|
Job.Builder |
clearName()
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
which it becomes output only.
|
Job.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Job.Builder |
clearPubsubTarget()
Pub/Sub target.
|
Job.Builder |
clearRetryConfig()
Settings that determine the retry behavior.
|
Job.Builder |
clearSchedule()
Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
|
Job.Builder |
clearScheduleTime()
Output only.
|
Job.Builder |
clearState()
Output only.
|
Job.Builder |
clearStatus()
Output only.
|
Job.Builder |
clearTarget() |
Job.Builder |
clearTimeZone()
Specifies the time zone to be used in interpreting
[schedule][google.cloud.scheduler.v1.Job.schedule].
|
Job.Builder |
clearUserUpdateTime()
Output only.
|
Job.Builder |
clone() |
AppEngineHttpTarget |
getAppEngineHttpTarget()
App Engine HTTP target.
|
AppEngineHttpTarget.Builder |
getAppEngineHttpTargetBuilder()
App Engine HTTP target.
|
AppEngineHttpTargetOrBuilder |
getAppEngineHttpTargetOrBuilder()
App Engine HTTP target.
|
Duration |
getAttemptDeadline()
The deadline for job attempts.
|
Duration.Builder |
getAttemptDeadlineBuilder()
The deadline for job attempts.
|
DurationOrBuilder |
getAttemptDeadlineOrBuilder()
The deadline for job attempts.
|
Job |
getDefaultInstanceForType() |
String |
getDescription()
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
[UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
|
ByteString |
getDescriptionBytes()
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
[UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
HttpTarget |
getHttpTarget()
HTTP target.
|
HttpTarget.Builder |
getHttpTargetBuilder()
HTTP target.
|
HttpTargetOrBuilder |
getHttpTargetOrBuilder()
HTTP target.
|
Timestamp |
getLastAttemptTime()
Output only.
|
Timestamp.Builder |
getLastAttemptTimeBuilder()
Output only.
|
TimestampOrBuilder |
getLastAttemptTimeOrBuilder()
Output only.
|
String |
getName()
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
which it becomes output only.
|
ByteString |
getNameBytes()
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
which it becomes output only.
|
PubsubTarget |
getPubsubTarget()
Pub/Sub target.
|
PubsubTarget.Builder |
getPubsubTargetBuilder()
Pub/Sub target.
|
PubsubTargetOrBuilder |
getPubsubTargetOrBuilder()
Pub/Sub target.
|
RetryConfig |
getRetryConfig()
Settings that determine the retry behavior.
|
RetryConfig.Builder |
getRetryConfigBuilder()
Settings that determine the retry behavior.
|
RetryConfigOrBuilder |
getRetryConfigOrBuilder()
Settings that determine the retry behavior.
|
String |
getSchedule()
Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
|
ByteString |
getScheduleBytes()
Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
|
Timestamp |
getScheduleTime()
Output only.
|
Timestamp.Builder |
getScheduleTimeBuilder()
Output only.
|
TimestampOrBuilder |
getScheduleTimeOrBuilder()
Output only.
|
Job.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.rpc.Status |
getStatus()
Output only.
|
com.google.rpc.Status.Builder |
getStatusBuilder()
Output only.
|
com.google.rpc.StatusOrBuilder |
getStatusOrBuilder()
Output only.
|
Job.TargetCase |
getTargetCase() |
String |
getTimeZone()
Specifies the time zone to be used in interpreting
[schedule][google.cloud.scheduler.v1.Job.schedule].
|
ByteString |
getTimeZoneBytes()
Specifies the time zone to be used in interpreting
[schedule][google.cloud.scheduler.v1.Job.schedule].
|
Timestamp |
getUserUpdateTime()
Output only.
|
Timestamp.Builder |
getUserUpdateTimeBuilder()
Output only.
|
TimestampOrBuilder |
getUserUpdateTimeOrBuilder()
Output only.
|
boolean |
hasAppEngineHttpTarget()
App Engine HTTP target.
|
boolean |
hasAttemptDeadline()
The deadline for job attempts.
|
boolean |
hasHttpTarget()
HTTP target.
|
boolean |
hasLastAttemptTime()
Output only.
|
boolean |
hasPubsubTarget()
Pub/Sub target.
|
boolean |
hasRetryConfig()
Settings that determine the retry behavior.
|
boolean |
hasScheduleTime()
Output only.
|
boolean |
hasStatus()
Output only.
|
boolean |
hasUserUpdateTime()
Output only.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Job.Builder |
mergeAppEngineHttpTarget(AppEngineHttpTarget value)
App Engine HTTP target.
|
Job.Builder |
mergeAttemptDeadline(Duration value)
The deadline for job attempts.
|
Job.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Job.Builder |
mergeFrom(Job other) |
Job.Builder |
mergeFrom(Message other) |
Job.Builder |
mergeHttpTarget(HttpTarget value)
HTTP target.
|
Job.Builder |
mergeLastAttemptTime(Timestamp value)
Output only.
|
Job.Builder |
mergePubsubTarget(PubsubTarget value)
Pub/Sub target.
|
Job.Builder |
mergeRetryConfig(RetryConfig value)
Settings that determine the retry behavior.
|
Job.Builder |
mergeScheduleTime(Timestamp value)
Output only.
|
Job.Builder |
mergeStatus(com.google.rpc.Status value)
Output only.
|
Job.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Job.Builder |
mergeUserUpdateTime(Timestamp value)
Output only.
|
Job.Builder |
setAppEngineHttpTarget(AppEngineHttpTarget.Builder builderForValue)
App Engine HTTP target.
|
Job.Builder |
setAppEngineHttpTarget(AppEngineHttpTarget value)
App Engine HTTP target.
|
Job.Builder |
setAttemptDeadline(Duration.Builder builderForValue)
The deadline for job attempts.
|
Job.Builder |
setAttemptDeadline(Duration value)
The deadline for job attempts.
|
Job.Builder |
setDescription(String value)
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
[UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
|
Job.Builder |
setDescriptionBytes(ByteString value)
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
[UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
|
Job.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
Job.Builder |
setHttpTarget(HttpTarget.Builder builderForValue)
HTTP target.
|
Job.Builder |
setHttpTarget(HttpTarget value)
HTTP target.
|
Job.Builder |
setLastAttemptTime(Timestamp.Builder builderForValue)
Output only.
|
Job.Builder |
setLastAttemptTime(Timestamp value)
Output only.
|
Job.Builder |
setName(String value)
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
which it becomes output only.
|
Job.Builder |
setNameBytes(ByteString value)
Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
which it becomes output only.
|
Job.Builder |
setPubsubTarget(PubsubTarget.Builder builderForValue)
Pub/Sub target.
|
Job.Builder |
setPubsubTarget(PubsubTarget value)
Pub/Sub target.
|
Job.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Job.Builder |
setRetryConfig(RetryConfig.Builder builderForValue)
Settings that determine the retry behavior.
|
Job.Builder |
setRetryConfig(RetryConfig value)
Settings that determine the retry behavior.
|
Job.Builder |
setSchedule(String value)
Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
|
Job.Builder |
setScheduleBytes(ByteString value)
Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
|
Job.Builder |
setScheduleTime(Timestamp.Builder builderForValue)
Output only.
|
Job.Builder |
setScheduleTime(Timestamp value)
Output only.
|
Job.Builder |
setState(Job.State value)
Output only.
|
Job.Builder |
setStateValue(int value)
Output only.
|
Job.Builder |
setStatus(com.google.rpc.Status.Builder builderForValue)
Output only.
|
Job.Builder |
setStatus(com.google.rpc.Status value)
Output only.
|
Job.Builder |
setTimeZone(String value)
Specifies the time zone to be used in interpreting
[schedule][google.cloud.scheduler.v1.Job.schedule].
|
Job.Builder |
setTimeZoneBytes(ByteString value)
Specifies the time zone to be used in interpreting
[schedule][google.cloud.scheduler.v1.Job.schedule].
|
Job.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
Job.Builder |
setUserUpdateTime(Timestamp.Builder builderForValue)
Output only.
|
Job.Builder |
setUserUpdateTime(Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Job.Builder>
public Job.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Job.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Job.Builder>
public Job getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Job build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Job buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Job.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Job.Builder>
public Job.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Job.Builder>
public Job.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Job.Builder>
public Job.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Job.Builder>
public Job.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Job.Builder>
public Job.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Job.Builder>
public Job.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Job.Builder>
public Job.Builder mergeFrom(Job other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Job.Builder>
public Job.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Job.Builder>
IOException
public Job.TargetCase getTargetCase()
getTargetCase
in interface JobOrBuilder
public Job.Builder clearTarget()
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;
getName
in interface JobOrBuilder
public 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;
getNameBytes
in interface JobOrBuilder
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;
value
- The name to set.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;
public Job.Builder setNameBytes(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;
value
- The bytes for name to set.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;
getDescription
in interface JobOrBuilder
public 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;
getDescriptionBytes
in interface JobOrBuilder
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;
value
- The description to set.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;
public Job.Builder setDescriptionBytes(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;
value
- The bytes for description to set.public boolean hasPubsubTarget()
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;
hasPubsubTarget
in interface JobOrBuilder
public PubsubTarget getPubsubTarget()
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;
getPubsubTarget
in interface JobOrBuilder
public Job.Builder setPubsubTarget(PubsubTarget value)
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;
public Job.Builder setPubsubTarget(PubsubTarget.Builder builderForValue)
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;
public Job.Builder mergePubsubTarget(PubsubTarget value)
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;
public Job.Builder clearPubsubTarget()
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;
public PubsubTarget.Builder getPubsubTargetBuilder()
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;
public PubsubTargetOrBuilder getPubsubTargetOrBuilder()
Pub/Sub target.
.google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4;
getPubsubTargetOrBuilder
in interface JobOrBuilder
public boolean hasAppEngineHttpTarget()
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;
hasAppEngineHttpTarget
in interface JobOrBuilder
public AppEngineHttpTarget getAppEngineHttpTarget()
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;
getAppEngineHttpTarget
in interface JobOrBuilder
public Job.Builder setAppEngineHttpTarget(AppEngineHttpTarget value)
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;
public Job.Builder setAppEngineHttpTarget(AppEngineHttpTarget.Builder builderForValue)
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;
public Job.Builder mergeAppEngineHttpTarget(AppEngineHttpTarget value)
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;
public Job.Builder clearAppEngineHttpTarget()
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;
public AppEngineHttpTarget.Builder getAppEngineHttpTargetBuilder()
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;
public AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder()
App Engine HTTP target.
.google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5;
getAppEngineHttpTargetOrBuilder
in interface JobOrBuilder
public boolean hasHttpTarget()
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;
hasHttpTarget
in interface JobOrBuilder
public HttpTarget getHttpTarget()
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;
getHttpTarget
in interface JobOrBuilder
public Job.Builder setHttpTarget(HttpTarget value)
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;
public Job.Builder setHttpTarget(HttpTarget.Builder builderForValue)
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;
public Job.Builder mergeHttpTarget(HttpTarget value)
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;
public Job.Builder clearHttpTarget()
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;
public HttpTarget.Builder getHttpTargetBuilder()
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;
public HttpTargetOrBuilder getHttpTargetOrBuilder()
HTTP target.
.google.cloud.scheduler.v1.HttpTarget http_target = 6;
getHttpTargetOrBuilder
in interface JobOrBuilder
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](http://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;
getSchedule
in interface JobOrBuilder
public 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](http://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;
getScheduleBytes
in interface JobOrBuilder
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](http://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;
value
- The schedule to set.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](http://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;
public Job.Builder setScheduleBytes(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](http://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;
value
- The bytes for schedule to set.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;
getTimeZone
in interface JobOrBuilder
public 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;
getTimeZoneBytes
in interface JobOrBuilder
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;
value
- The timeZone to set.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;
public Job.Builder setTimeZoneBytes(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;
value
- The bytes for timeZone to set.public boolean hasUserUpdateTime()
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9;
hasUserUpdateTime
in interface JobOrBuilder
public Timestamp getUserUpdateTime()
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9;
getUserUpdateTime
in interface JobOrBuilder
public Job.Builder setUserUpdateTime(Timestamp value)
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9;
public Job.Builder setUserUpdateTime(Timestamp.Builder builderForValue)
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9;
public Job.Builder mergeUserUpdateTime(Timestamp value)
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9;
public Job.Builder clearUserUpdateTime()
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9;
public Timestamp.Builder getUserUpdateTimeBuilder()
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9;
public TimestampOrBuilder getUserUpdateTimeOrBuilder()
Output only. The creation time of the job.
.google.protobuf.Timestamp user_update_time = 9;
getUserUpdateTimeOrBuilder
in interface JobOrBuilder
public int getStateValue()
Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10;
getStateValue
in interface JobOrBuilder
public Job.Builder setStateValue(int value)
Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10;
value
- The enum numeric value on the wire for state to set.public Job.State getState()
Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10;
getState
in interface JobOrBuilder
public Job.Builder setState(Job.State value)
Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10;
value
- The state to set.public Job.Builder clearState()
Output only. State of the job.
.google.cloud.scheduler.v1.Job.State state = 10;
public boolean hasStatus()
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11;
hasStatus
in interface JobOrBuilder
public com.google.rpc.Status getStatus()
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11;
getStatus
in interface JobOrBuilder
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;
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;
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;
public Job.Builder clearStatus()
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11;
public com.google.rpc.Status.Builder getStatusBuilder()
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11;
public com.google.rpc.StatusOrBuilder getStatusOrBuilder()
Output only. The response from the target for the last attempted execution.
.google.rpc.Status status = 11;
getStatusOrBuilder
in interface JobOrBuilder
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;
hasScheduleTime
in interface JobOrBuilder
public 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;
getScheduleTime
in interface JobOrBuilder
public Job.Builder setScheduleTime(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;
public Job.Builder setScheduleTime(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;
public Job.Builder mergeScheduleTime(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;
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;
public 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;
public 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;
getScheduleTimeOrBuilder
in interface JobOrBuilder
public boolean hasLastAttemptTime()
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;
hasLastAttemptTime
in interface JobOrBuilder
public Timestamp getLastAttemptTime()
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;
getLastAttemptTime
in interface JobOrBuilder
public Job.Builder setLastAttemptTime(Timestamp value)
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;
public Job.Builder setLastAttemptTime(Timestamp.Builder builderForValue)
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;
public Job.Builder mergeLastAttemptTime(Timestamp value)
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;
public Job.Builder clearLastAttemptTime()
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;
public Timestamp.Builder getLastAttemptTimeBuilder()
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;
public TimestampOrBuilder getLastAttemptTimeOrBuilder()
Output only. The time the last job attempt started.
.google.protobuf.Timestamp last_attempt_time = 18;
getLastAttemptTimeOrBuilder
in interface JobOrBuilder
public boolean hasRetryConfig()
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;
hasRetryConfig
in interface JobOrBuilder
public RetryConfig getRetryConfig()
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;
getRetryConfig
in interface JobOrBuilder
public Job.Builder setRetryConfig(RetryConfig value)
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;
public Job.Builder setRetryConfig(RetryConfig.Builder builderForValue)
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;
public Job.Builder mergeRetryConfig(RetryConfig value)
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;
public Job.Builder clearRetryConfig()
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;
public RetryConfig.Builder getRetryConfigBuilder()
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;
public RetryConfigOrBuilder getRetryConfigOrBuilder()
Settings that determine the retry behavior.
.google.cloud.scheduler.v1.RetryConfig retry_config = 19;
getRetryConfigOrBuilder
in interface JobOrBuilder
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 allowed duration for this deadline is: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], between 15 seconds and 30 minutes. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], between 15 seconds and 24 hours.
.google.protobuf.Duration attempt_deadline = 22;
hasAttemptDeadline
in interface JobOrBuilder
public 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 allowed duration for this deadline is: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], between 15 seconds and 30 minutes. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], between 15 seconds and 24 hours.
.google.protobuf.Duration attempt_deadline = 22;
getAttemptDeadline
in interface JobOrBuilder
public Job.Builder setAttemptDeadline(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 allowed duration for this deadline is: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], between 15 seconds and 30 minutes. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], between 15 seconds and 24 hours.
.google.protobuf.Duration attempt_deadline = 22;
public Job.Builder setAttemptDeadline(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 allowed duration for this deadline is: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], between 15 seconds and 30 minutes. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], between 15 seconds and 24 hours.
.google.protobuf.Duration attempt_deadline = 22;
public Job.Builder mergeAttemptDeadline(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 allowed duration for this deadline is: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], between 15 seconds and 30 minutes. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], between 15 seconds and 24 hours.
.google.protobuf.Duration attempt_deadline = 22;
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 allowed duration for this deadline is: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], between 15 seconds and 30 minutes. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], between 15 seconds and 24 hours.
.google.protobuf.Duration attempt_deadline = 22;
public 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 allowed duration for this deadline is: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], between 15 seconds and 30 minutes. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], between 15 seconds and 24 hours.
.google.protobuf.Duration attempt_deadline = 22;
public 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 allowed duration for this deadline is: * For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], between 15 seconds and 30 minutes. * For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], between 15 seconds and 24 hours.
.google.protobuf.Duration attempt_deadline = 22;
getAttemptDeadlineOrBuilder
in interface JobOrBuilder
public final Job.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Job.Builder>
public final Job.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Job.Builder>
Copyright © 2022 Google LLC. All rights reserved.