diff --git a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java index 91066e736646..920c242e6695 100644 --- a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java +++ b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java @@ -541,13 +541,12 @@ public void createJob( * *
* Updates a job.
- * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is
- * returned. If the job does not exist, `NOT_FOUND` is returned.
+ * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does
+ * not exist, `NOT_FOUND` is returned.
* If UpdateJob does not successfully return, it is possible for the
- * job to be in an
- * [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED]
- * state. A job in this state may not be executed. If this happens, retry the
- * UpdateJob request until a successful response is received.
+ * job to be in an [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED] state. A job in this state may
+ * not be executed. If this happens, retry the UpdateJob request
+ * until a successful response is received.
*
*/
public void updateJob(
@@ -575,14 +574,10 @@ public void deleteJob(
*
* Pauses a job.
* If a job is paused then the system will stop executing the job
- * until it is re-enabled via
- * [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The
- * state of the job is stored in
- * [state][google.cloud.scheduler.v1beta1.Job.state]; if paused it will be set
- * to [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A
- * job must be in
- * [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED] to be
- * paused.
+ * until it is re-enabled via [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The
+ * state of the job is stored in [state][google.cloud.scheduler.v1beta1.Job.state]; if paused it
+ * will be set to [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A job must be in [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]
+ * to be paused.
*
*/
public void pauseJob(
@@ -596,15 +591,10 @@ public void pauseJob(
*
*
* Resume a job.
- * This method reenables a job after it has been
- * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
- * state of a job is stored in
- * [Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this
- * method it will be set to
- * [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A
- * job must be in
- * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be
- * resumed.
+ * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
+ * state of a job is stored in [Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this method it
+ * will be set to [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A job must be in
+ * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be resumed.
*
*/
public void resumeJob(
@@ -761,13 +751,12 @@ public void createJob(
*
*
* Updates a job.
- * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is
- * returned. If the job does not exist, `NOT_FOUND` is returned.
+ * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does
+ * not exist, `NOT_FOUND` is returned.
* If UpdateJob does not successfully return, it is possible for the
- * job to be in an
- * [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED]
- * state. A job in this state may not be executed. If this happens, retry the
- * UpdateJob request until a successful response is received.
+ * job to be in an [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED] state. A job in this state may
+ * not be executed. If this happens, retry the UpdateJob request
+ * until a successful response is received.
*
*/
public void updateJob(
@@ -801,14 +790,10 @@ public void deleteJob(
*
* Pauses a job.
* If a job is paused then the system will stop executing the job
- * until it is re-enabled via
- * [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The
- * state of the job is stored in
- * [state][google.cloud.scheduler.v1beta1.Job.state]; if paused it will be set
- * to [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A
- * job must be in
- * [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED] to be
- * paused.
+ * until it is re-enabled via [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The
+ * state of the job is stored in [state][google.cloud.scheduler.v1beta1.Job.state]; if paused it
+ * will be set to [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A job must be in [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]
+ * to be paused.
*
*/
public void pauseJob(
@@ -825,15 +810,10 @@ public void pauseJob(
*
*
* Resume a job.
- * This method reenables a job after it has been
- * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
- * state of a job is stored in
- * [Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this
- * method it will be set to
- * [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A
- * job must be in
- * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be
- * resumed.
+ * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
+ * state of a job is stored in [Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this method it
+ * will be set to [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A job must be in
+ * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be resumed.
*
*/
public void resumeJob(
@@ -929,13 +909,12 @@ public com.google.cloud.scheduler.v1beta1.Job createJob(
*
*
* Updates a job.
- * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is
- * returned. If the job does not exist, `NOT_FOUND` is returned.
+ * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does
+ * not exist, `NOT_FOUND` is returned.
* If UpdateJob does not successfully return, it is possible for the
- * job to be in an
- * [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED]
- * state. A job in this state may not be executed. If this happens, retry the
- * UpdateJob request until a successful response is received.
+ * job to be in an [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED] state. A job in this state may
+ * not be executed. If this happens, retry the UpdateJob request
+ * until a successful response is received.
*
*/
public com.google.cloud.scheduler.v1beta1.Job updateJob(
@@ -961,14 +940,10 @@ public com.google.protobuf.Empty deleteJob(
*
* Pauses a job.
* If a job is paused then the system will stop executing the job
- * until it is re-enabled via
- * [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The
- * state of the job is stored in
- * [state][google.cloud.scheduler.v1beta1.Job.state]; if paused it will be set
- * to [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A
- * job must be in
- * [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED] to be
- * paused.
+ * until it is re-enabled via [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The
+ * state of the job is stored in [state][google.cloud.scheduler.v1beta1.Job.state]; if paused it
+ * will be set to [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A job must be in [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]
+ * to be paused.
*
*/
public com.google.cloud.scheduler.v1beta1.Job pauseJob(
@@ -981,15 +956,10 @@ public com.google.cloud.scheduler.v1beta1.Job pauseJob(
*
*
* Resume a job.
- * This method reenables a job after it has been
- * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
- * state of a job is stored in
- * [Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this
- * method it will be set to
- * [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A
- * job must be in
- * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be
- * resumed.
+ * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
+ * state of a job is stored in [Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this method it
+ * will be set to [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A job must be in
+ * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be resumed.
*
*/
public com.google.cloud.scheduler.v1beta1.Job resumeJob(
@@ -1083,13 +1053,12 @@ protected CloudSchedulerFutureStub build(
*
*
* Updates a job.
- * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is
- * returned. If the job does not exist, `NOT_FOUND` is returned.
+ * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does
+ * not exist, `NOT_FOUND` is returned.
* If UpdateJob does not successfully return, it is possible for the
- * job to be in an
- * [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED]
- * state. A job in this state may not be executed. If this happens, retry the
- * UpdateJob request until a successful response is received.
+ * job to be in an [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED] state. A job in this state may
+ * not be executed. If this happens, retry the UpdateJob request
+ * until a successful response is received.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -1118,14 +1087,10 @@ public com.google.common.util.concurrent.ListenableFuture* App Engine target. The job will be pushed to a job handler by means - * of an HTTP request via an - * [http_method][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.http_method] - * such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP - * response code in the range [200 - 299]. Error 503 is considered an App Engine - * system error instead of an application error. Requests returning error 503 - * will be retried regardless of retry configuration and not counted against - * retry counts. Any other response code, or a failure to receive a response - * before the deadline, constitutes a failed attempt. + * of an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.http_method] such + * as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an + * HTTP response code in the range [200 - 299]. Error 503 is + * considered an App Engine system error instead of an application + * error. Requests returning error 503 will be retried regardless of + * retry configuration and not counted against retry counts. Any other + * response code, or a failure to receive a response before the + * deadline, constitutes a failed attempt. ** * Protobuf type {@code google.cloud.scheduler.v1beta1.AppEngineHttpTarget} @@ -319,9 +319,9 @@ public int getHeadersCount() { * This header can be modified, but Cloud Scheduler will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the job has an - * [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud - * Scheduler sets the following headers: + * * `X-CloudScheduler`: This header will be set to true. + * If the job has an [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud Scheduler sets + * the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explictly * setting `Content-Type` to a particular media type when the job is @@ -331,13 +331,9 @@ public int getHeadersCount() { * output only. It cannot be changed. * The headers below are output only. They cannot be set or overridden: * * `X-Google-*`: For Google internal use only. - * * `X-AppEngine-*`: For Google internal use only. See - * [Reading request - * headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). + * * `X-AppEngine-*`: For Google internal use only. * In addition, some App Engine headers, which contain - * job-specific information, are also be sent to the job handler; see - * [request - * headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron). + * job-specific information, are also be sent to the job handler. * * *
map<string, string> headers = 4;
@@ -366,9 +362,9 @@ public java.util.Mapmap<string, string> headers = 4;
@@ -405,9 +397,9 @@ public java.util.Mapmap<string, string> headers = 4;
@@ -448,9 +436,9 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
* This header can be modified, but Cloud Scheduler will append
* `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
* modified `User-Agent`.
- * If the job has an
- * [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud
- * Scheduler sets the following headers:
+ * * `X-CloudScheduler`: This header will be set to true.
+ * If the job has an [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud Scheduler sets
+ * the following headers:
* * `Content-Type`: By default, the `Content-Type` header is set to
* `"application/octet-stream"`. The default can be overridden by explictly
* setting `Content-Type` to a particular media type when the job is
@@ -460,13 +448,9 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
* output only. It cannot be changed.
* The headers below are output only. They cannot be set or overridden:
* * `X-Google-*`: For Google internal use only.
- * * `X-AppEngine-*`: For Google internal use only. See
- * [Reading request
- * headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers).
+ * * `X-AppEngine-*`: For Google internal use only.
* In addition, some App Engine headers, which contain
- * job-specific information, are also be sent to the job handler; see
- * [request
- * headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron).
+ * job-specific information, are also be sent to the job handler.
*
*
* map<string, string> headers = 4;
@@ -491,8 +475,7 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
* Body.
* HTTP request body. A request body is allowed only if the HTTP method is
* POST or PUT. It will result in invalid argument error to set a body on a
- * job with an incompatible
- * [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod].
+ * job with an incompatible [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod].
*
*
* bytes body = 5;
@@ -717,14 +700,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* App Engine target. The job will be pushed to a job handler by means
- * of an HTTP request via an
- * [http_method][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.http_method]
- * such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP
- * response code in the range [200 - 299]. Error 503 is considered an App Engine
- * system error instead of an application error. Requests returning error 503
- * will be retried regardless of retry configuration and not counted against
- * retry counts. Any other response code, or a failure to receive a response
- * before the deadline, constitutes a failed attempt.
+ * of an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.http_method] such
+ * as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an
+ * HTTP response code in the range [200 - 299]. Error 503 is
+ * considered an App Engine system error instead of an application
+ * error. Requests returning error 503 will be retried regardless of
+ * retry configuration and not counted against retry counts. Any other
+ * response code, or a failure to receive a response before the
+ * deadline, constitutes a failed attempt.
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.AppEngineHttpTarget}
@@ -1352,9 +1335,9 @@ public int getHeadersCount() {
* This header can be modified, but Cloud Scheduler will append
* `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
* modified `User-Agent`.
- * If the job has an
- * [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud
- * Scheduler sets the following headers:
+ * * `X-CloudScheduler`: This header will be set to true.
+ * If the job has an [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud Scheduler sets
+ * the following headers:
* * `Content-Type`: By default, the `Content-Type` header is set to
* `"application/octet-stream"`. The default can be overridden by explictly
* setting `Content-Type` to a particular media type when the job is
@@ -1364,13 +1347,9 @@ public int getHeadersCount() {
* output only. It cannot be changed.
* The headers below are output only. They cannot be set or overridden:
* * `X-Google-*`: For Google internal use only.
- * * `X-AppEngine-*`: For Google internal use only. See
- * [Reading request
- * headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers).
+ * * `X-AppEngine-*`: For Google internal use only.
* In addition, some App Engine headers, which contain
- * job-specific information, are also be sent to the job handler; see
- * [request
- * headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron).
+ * job-specific information, are also be sent to the job handler.
*
*
* map<string, string> headers = 4;
@@ -1399,9 +1378,9 @@ public java.util.Mapmap<string, string> headers = 4;
@@ -1438,9 +1413,9 @@ public java.util.Mapmap<string, string> headers = 4;
@@ -1482,9 +1453,9 @@ public java.lang.String getHeadersOrDefault(
* This header can be modified, but Cloud Scheduler will append
* `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
* modified `User-Agent`.
- * If the job has an
- * [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud
- * Scheduler sets the following headers:
+ * * `X-CloudScheduler`: This header will be set to true.
+ * If the job has an [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud Scheduler sets
+ * the following headers:
* * `Content-Type`: By default, the `Content-Type` header is set to
* `"application/octet-stream"`. The default can be overridden by explictly
* setting `Content-Type` to a particular media type when the job is
@@ -1494,13 +1465,9 @@ public java.lang.String getHeadersOrDefault(
* output only. It cannot be changed.
* The headers below are output only. They cannot be set or overridden:
* * `X-Google-*`: For Google internal use only.
- * * `X-AppEngine-*`: For Google internal use only. See
- * [Reading request
- * headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers).
+ * * `X-AppEngine-*`: For Google internal use only.
* In addition, some App Engine headers, which contain
- * job-specific information, are also be sent to the job handler; see
- * [request
- * headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron).
+ * job-specific information, are also be sent to the job handler.
*
*
* map<string, string> headers = 4;
@@ -1533,9 +1500,9 @@ public Builder clearHeaders() {
* This header can be modified, but Cloud Scheduler will append
* `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
* modified `User-Agent`.
- * If the job has an
- * [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud
- * Scheduler sets the following headers:
+ * * `X-CloudScheduler`: This header will be set to true.
+ * If the job has an [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud Scheduler sets
+ * the following headers:
* * `Content-Type`: By default, the `Content-Type` header is set to
* `"application/octet-stream"`. The default can be overridden by explictly
* setting `Content-Type` to a particular media type when the job is
@@ -1545,13 +1512,9 @@ public Builder clearHeaders() {
* output only. It cannot be changed.
* The headers below are output only. They cannot be set or overridden:
* * `X-Google-*`: For Google internal use only.
- * * `X-AppEngine-*`: For Google internal use only. See
- * [Reading request
- * headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers).
+ * * `X-AppEngine-*`: For Google internal use only.
* In addition, some App Engine headers, which contain
- * job-specific information, are also be sent to the job handler; see
- * [request
- * headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron).
+ * job-specific information, are also be sent to the job handler.
*
*
* map<string, string> headers = 4;
@@ -1581,9 +1544,9 @@ public java.util.Mapmap<string, string> headers = 4;
@@ -1627,9 +1586,9 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
* This header can be modified, but Cloud Scheduler will append
* `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
* modified `User-Agent`.
- * If the job has an
- * [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud
- * Scheduler sets the following headers:
+ * * `X-CloudScheduler`: This header will be set to true.
+ * If the job has an [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud Scheduler sets
+ * the following headers:
* * `Content-Type`: By default, the `Content-Type` header is set to
* `"application/octet-stream"`. The default can be overridden by explictly
* setting `Content-Type` to a particular media type when the job is
@@ -1639,13 +1598,9 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
* output only. It cannot be changed.
* The headers below are output only. They cannot be set or overridden:
* * `X-Google-*`: For Google internal use only.
- * * `X-AppEngine-*`: For Google internal use only. See
- * [Reading request
- * headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers).
+ * * `X-AppEngine-*`: For Google internal use only.
* In addition, some App Engine headers, which contain
- * job-specific information, are also be sent to the job handler; see
- * [request
- * headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron).
+ * job-specific information, are also be sent to the job handler.
*
*
* map<string, string> headers = 4;
@@ -1663,8 +1618,7 @@ public Builder putAllHeaders(java.util.Mapbytes body = 5;
@@ -1679,8 +1633,7 @@ public com.google.protobuf.ByteString getBody() {
* Body.
* HTTP request body. A request body is allowed only if the HTTP method is
* POST or PUT. It will result in invalid argument error to set a body on a
- * job with an incompatible
- * [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod].
+ * job with an incompatible [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod].
*
*
* bytes body = 5;
@@ -1701,8 +1654,7 @@ public Builder setBody(com.google.protobuf.ByteString value) {
* Body.
* HTTP request body. A request body is allowed only if the HTTP method is
* POST or PUT. It will result in invalid argument error to set a body on a
- * job with an incompatible
- * [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod].
+ * job with an incompatible [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod].
*
*
* bytes body = 5;
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java
index 2a9e67c827be..4080017ed450 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java
@@ -104,9 +104,9 @@ public interface AppEngineHttpTargetOrBuilder
* This header can be modified, but Cloud Scheduler will append
* `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
* modified `User-Agent`.
- * If the job has an
- * [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud
- * Scheduler sets the following headers:
+ * * `X-CloudScheduler`: This header will be set to true.
+ * If the job has an [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud Scheduler sets
+ * the following headers:
* * `Content-Type`: By default, the `Content-Type` header is set to
* `"application/octet-stream"`. The default can be overridden by explictly
* setting `Content-Type` to a particular media type when the job is
@@ -116,13 +116,9 @@ public interface AppEngineHttpTargetOrBuilder
* output only. It cannot be changed.
* The headers below are output only. They cannot be set or overridden:
* * `X-Google-*`: For Google internal use only.
- * * `X-AppEngine-*`: For Google internal use only. See
- * [Reading request
- * headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers).
+ * * `X-AppEngine-*`: For Google internal use only.
* In addition, some App Engine headers, which contain
- * job-specific information, are also be sent to the job handler; see
- * [request
- * headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron).
+ * job-specific information, are also be sent to the job handler.
*
*
* map<string, string> headers = 4;
@@ -141,9 +137,9 @@ public interface AppEngineHttpTargetOrBuilder
* This header can be modified, but Cloud Scheduler will append
* `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
* modified `User-Agent`.
- * If the job has an
- * [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud
- * Scheduler sets the following headers:
+ * * `X-CloudScheduler`: This header will be set to true.
+ * If the job has an [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud Scheduler sets
+ * the following headers:
* * `Content-Type`: By default, the `Content-Type` header is set to
* `"application/octet-stream"`. The default can be overridden by explictly
* setting `Content-Type` to a particular media type when the job is
@@ -153,13 +149,9 @@ public interface AppEngineHttpTargetOrBuilder
* output only. It cannot be changed.
* The headers below are output only. They cannot be set or overridden:
* * `X-Google-*`: For Google internal use only.
- * * `X-AppEngine-*`: For Google internal use only. See
- * [Reading request
- * headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers).
+ * * `X-AppEngine-*`: For Google internal use only.
* In addition, some App Engine headers, which contain
- * job-specific information, are also be sent to the job handler; see
- * [request
- * headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron).
+ * job-specific information, are also be sent to the job handler.
*
*
* map<string, string> headers = 4;
@@ -181,9 +173,9 @@ public interface AppEngineHttpTargetOrBuilder
* This header can be modified, but Cloud Scheduler will append
* `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
* modified `User-Agent`.
- * If the job has an
- * [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud
- * Scheduler sets the following headers:
+ * * `X-CloudScheduler`: This header will be set to true.
+ * If the job has an [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud Scheduler sets
+ * the following headers:
* * `Content-Type`: By default, the `Content-Type` header is set to
* `"application/octet-stream"`. The default can be overridden by explictly
* setting `Content-Type` to a particular media type when the job is
@@ -193,13 +185,9 @@ public interface AppEngineHttpTargetOrBuilder
* output only. It cannot be changed.
* The headers below are output only. They cannot be set or overridden:
* * `X-Google-*`: For Google internal use only.
- * * `X-AppEngine-*`: For Google internal use only. See
- * [Reading request
- * headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers).
+ * * `X-AppEngine-*`: For Google internal use only.
* In addition, some App Engine headers, which contain
- * job-specific information, are also be sent to the job handler; see
- * [request
- * headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron).
+ * job-specific information, are also be sent to the job handler.
*
*
* map<string, string> headers = 4;
@@ -218,9 +206,9 @@ public interface AppEngineHttpTargetOrBuilder
* This header can be modified, but Cloud Scheduler will append
* `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
* modified `User-Agent`.
- * If the job has an
- * [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud
- * Scheduler sets the following headers:
+ * * `X-CloudScheduler`: This header will be set to true.
+ * If the job has an [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud Scheduler sets
+ * the following headers:
* * `Content-Type`: By default, the `Content-Type` header is set to
* `"application/octet-stream"`. The default can be overridden by explictly
* setting `Content-Type` to a particular media type when the job is
@@ -230,13 +218,9 @@ public interface AppEngineHttpTargetOrBuilder
* output only. It cannot be changed.
* The headers below are output only. They cannot be set or overridden:
* * `X-Google-*`: For Google internal use only.
- * * `X-AppEngine-*`: For Google internal use only. See
- * [Reading request
- * headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers).
+ * * `X-AppEngine-*`: For Google internal use only.
* In addition, some App Engine headers, which contain
- * job-specific information, are also be sent to the job handler; see
- * [request
- * headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron).
+ * job-specific information, are also be sent to the job handler.
*
*
* map<string, string> headers = 4;
@@ -255,9 +239,9 @@ public interface AppEngineHttpTargetOrBuilder
* This header can be modified, but Cloud Scheduler will append
* `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
* modified `User-Agent`.
- * If the job has an
- * [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud
- * Scheduler sets the following headers:
+ * * `X-CloudScheduler`: This header will be set to true.
+ * If the job has an [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud Scheduler sets
+ * the following headers:
* * `Content-Type`: By default, the `Content-Type` header is set to
* `"application/octet-stream"`. The default can be overridden by explictly
* setting `Content-Type` to a particular media type when the job is
@@ -267,13 +251,9 @@ public interface AppEngineHttpTargetOrBuilder
* output only. It cannot be changed.
* The headers below are output only. They cannot be set or overridden:
* * `X-Google-*`: For Google internal use only.
- * * `X-AppEngine-*`: For Google internal use only. See
- * [Reading request
- * headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers).
+ * * `X-AppEngine-*`: For Google internal use only.
* In addition, some App Engine headers, which contain
- * job-specific information, are also be sent to the job handler; see
- * [request
- * headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron).
+ * job-specific information, are also be sent to the job handler.
*
*
* map<string, string> headers = 4;
@@ -287,8 +267,7 @@ public interface AppEngineHttpTargetOrBuilder
* Body.
* HTTP request body. A request body is allowed only if the HTTP method is
* POST or PUT. It will result in invalid argument error to set a body on a
- * job with an incompatible
- * [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod].
+ * job with an incompatible [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod].
*
*
* bytes body = 5;
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java
index 6d9287a11324..080cfe6c3de0 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java
@@ -302,40 +302,32 @@ public com.google.protobuf.ByteString getInstanceBytes() {
* * `application_domain_name` = The domain name of the app, for
* example <app-id>.appspot.com, which is associated with the
* job's project ID.
- * * `service =`
- * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `version =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * * `service =` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `version =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `version_dot_service =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.'
- * +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `instance =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `instance =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
* * `instance_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
* * `instance_dot_version =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `instance_dot_version_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
- * `+ '.' +`
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
* [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is
- * empty, then the job will be sent to the service which is the default
- * service when the job is attempted.
- * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is
- * empty, then the job will be sent to the version which is the default
- * version when the job is attempted.
- * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * empty, then the job will be sent to an instance which is available when the
- * job is attempted.
+ * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is empty, then the job will be sent
+ * to the service which is the default service when the job is attempted.
+ * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is empty, then the job will be sent
+ * to the version which is the default version when the job is attempted.
+ * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is empty, then the job will be
+ * sent to an instance which is available when the job is attempted.
* If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service],
* [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version], or
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * invalid, then the job will be sent to the default version of the default
- * service when the job is attempted.
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is invalid, then the job will be sent
+ * to the default version of the default service when the job is attempted.
*
*
* string host = 4;
@@ -370,40 +362,32 @@ public java.lang.String getHost() {
* * `application_domain_name` = The domain name of the app, for
* example <app-id>.appspot.com, which is associated with the
* job's project ID.
- * * `service =`
- * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `version =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * * `service =` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `version =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `version_dot_service =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.'
- * +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `instance =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `instance =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
* * `instance_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
* * `instance_dot_version =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `instance_dot_version_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
- * `+ '.' +`
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
* [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is
- * empty, then the job will be sent to the service which is the default
- * service when the job is attempted.
- * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is
- * empty, then the job will be sent to the version which is the default
- * version when the job is attempted.
- * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * empty, then the job will be sent to an instance which is available when the
- * job is attempted.
+ * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is empty, then the job will be sent
+ * to the service which is the default service when the job is attempted.
+ * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is empty, then the job will be sent
+ * to the version which is the default version when the job is attempted.
+ * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is empty, then the job will be
+ * sent to an instance which is available when the job is attempted.
* If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service],
* [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version], or
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * invalid, then the job will be sent to the default version of the default
- * service when the job is attempted.
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is invalid, then the job will be sent
+ * to the default version of the default service when the job is attempted.
*
*
* string host = 4;
@@ -1167,40 +1151,32 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
* * `application_domain_name` = The domain name of the app, for
* example <app-id>.appspot.com, which is associated with the
* job's project ID.
- * * `service =`
- * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `version =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * * `service =` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `version =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `version_dot_service =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.'
- * +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `instance =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `instance =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
* * `instance_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
* * `instance_dot_version =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `instance_dot_version_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
- * `+ '.' +`
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
* [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is
- * empty, then the job will be sent to the service which is the default
- * service when the job is attempted.
- * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is
- * empty, then the job will be sent to the version which is the default
- * version when the job is attempted.
- * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * empty, then the job will be sent to an instance which is available when the
- * job is attempted.
+ * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is empty, then the job will be sent
+ * to the service which is the default service when the job is attempted.
+ * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is empty, then the job will be sent
+ * to the version which is the default version when the job is attempted.
+ * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is empty, then the job will be
+ * sent to an instance which is available when the job is attempted.
* If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service],
* [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version], or
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * invalid, then the job will be sent to the default version of the default
- * service when the job is attempted.
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is invalid, then the job will be sent
+ * to the default version of the default service when the job is attempted.
*
*
* string host = 4;
@@ -1235,40 +1211,32 @@ public java.lang.String getHost() {
* * `application_domain_name` = The domain name of the app, for
* example <app-id>.appspot.com, which is associated with the
* job's project ID.
- * * `service =`
- * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `version =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * * `service =` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `version =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `version_dot_service =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.'
- * +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `instance =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `instance =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
* * `instance_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
* * `instance_dot_version =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `instance_dot_version_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
- * `+ '.' +`
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
* [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is
- * empty, then the job will be sent to the service which is the default
- * service when the job is attempted.
- * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is
- * empty, then the job will be sent to the version which is the default
- * version when the job is attempted.
- * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * empty, then the job will be sent to an instance which is available when the
- * job is attempted.
+ * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is empty, then the job will be sent
+ * to the service which is the default service when the job is attempted.
+ * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is empty, then the job will be sent
+ * to the version which is the default version when the job is attempted.
+ * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is empty, then the job will be
+ * sent to an instance which is available when the job is attempted.
* If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service],
* [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version], or
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * invalid, then the job will be sent to the default version of the default
- * service when the job is attempted.
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is invalid, then the job will be sent
+ * to the default version of the default service when the job is attempted.
*
*
* string host = 4;
@@ -1303,40 +1271,32 @@ public com.google.protobuf.ByteString getHostBytes() {
* * `application_domain_name` = The domain name of the app, for
* example <app-id>.appspot.com, which is associated with the
* job's project ID.
- * * `service =`
- * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `version =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * * `service =` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `version =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `version_dot_service =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.'
- * +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `instance =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `instance =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
* * `instance_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
* * `instance_dot_version =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `instance_dot_version_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
- * `+ '.' +`
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
* [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is
- * empty, then the job will be sent to the service which is the default
- * service when the job is attempted.
- * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is
- * empty, then the job will be sent to the version which is the default
- * version when the job is attempted.
- * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * empty, then the job will be sent to an instance which is available when the
- * job is attempted.
+ * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is empty, then the job will be sent
+ * to the service which is the default service when the job is attempted.
+ * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is empty, then the job will be sent
+ * to the version which is the default version when the job is attempted.
+ * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is empty, then the job will be
+ * sent to an instance which is available when the job is attempted.
* If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service],
* [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version], or
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * invalid, then the job will be sent to the default version of the default
- * service when the job is attempted.
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is invalid, then the job will be sent
+ * to the default version of the default service when the job is attempted.
*
*
* string host = 4;
@@ -1369,40 +1329,32 @@ public Builder setHost(java.lang.String value) {
* * `application_domain_name` = The domain name of the app, for
* example <app-id>.appspot.com, which is associated with the
* job's project ID.
- * * `service =`
- * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `version =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * * `service =` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `version =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `version_dot_service =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.'
- * +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `instance =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `instance =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
* * `instance_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
* * `instance_dot_version =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `instance_dot_version_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
- * `+ '.' +`
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
* [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is
- * empty, then the job will be sent to the service which is the default
- * service when the job is attempted.
- * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is
- * empty, then the job will be sent to the version which is the default
- * version when the job is attempted.
- * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * empty, then the job will be sent to an instance which is available when the
- * job is attempted.
+ * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is empty, then the job will be sent
+ * to the service which is the default service when the job is attempted.
+ * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is empty, then the job will be sent
+ * to the version which is the default version when the job is attempted.
+ * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is empty, then the job will be
+ * sent to an instance which is available when the job is attempted.
* If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service],
* [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version], or
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * invalid, then the job will be sent to the default version of the default
- * service when the job is attempted.
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is invalid, then the job will be sent
+ * to the default version of the default service when the job is attempted.
*
*
* string host = 4;
@@ -1432,40 +1384,32 @@ public Builder clearHost() {
* * `application_domain_name` = The domain name of the app, for
* example <app-id>.appspot.com, which is associated with the
* job's project ID.
- * * `service =`
- * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `version =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * * `service =` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `version =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `version_dot_service =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.'
- * +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `instance =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `instance =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
* * `instance_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
* * `instance_dot_version =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `instance_dot_version_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
- * `+ '.' +`
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
* [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is
- * empty, then the job will be sent to the service which is the default
- * service when the job is attempted.
- * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is
- * empty, then the job will be sent to the version which is the default
- * version when the job is attempted.
- * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * empty, then the job will be sent to an instance which is available when the
- * job is attempted.
+ * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is empty, then the job will be sent
+ * to the service which is the default service when the job is attempted.
+ * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is empty, then the job will be sent
+ * to the version which is the default version when the job is attempted.
+ * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is empty, then the job will be
+ * sent to an instance which is available when the job is attempted.
* If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service],
* [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version], or
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * invalid, then the job will be sent to the default version of the default
- * service when the job is attempted.
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is invalid, then the job will be sent
+ * to the default version of the default service when the job is attempted.
*
*
* string host = 4;
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java
index e0496f846c02..ac4a4c350726 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java
@@ -118,40 +118,32 @@ public interface AppEngineRoutingOrBuilder
* * `application_domain_name` = The domain name of the app, for
* example <app-id>.appspot.com, which is associated with the
* job's project ID.
- * * `service =`
- * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `version =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * * `service =` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `version =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `version_dot_service =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.'
- * +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `instance =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `instance =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
* * `instance_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
* * `instance_dot_version =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `instance_dot_version_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
- * `+ '.' +`
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
* [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is
- * empty, then the job will be sent to the service which is the default
- * service when the job is attempted.
- * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is
- * empty, then the job will be sent to the version which is the default
- * version when the job is attempted.
- * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * empty, then the job will be sent to an instance which is available when the
- * job is attempted.
+ * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is empty, then the job will be sent
+ * to the service which is the default service when the job is attempted.
+ * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is empty, then the job will be sent
+ * to the version which is the default version when the job is attempted.
+ * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is empty, then the job will be
+ * sent to an instance which is available when the job is attempted.
* If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service],
* [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version], or
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * invalid, then the job will be sent to the default version of the default
- * service when the job is attempted.
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is invalid, then the job will be sent
+ * to the default version of the default service when the job is attempted.
*
*
* string host = 4;
@@ -176,40 +168,32 @@ public interface AppEngineRoutingOrBuilder
* * `application_domain_name` = The domain name of the app, for
* example <app-id>.appspot.com, which is associated with the
* job's project ID.
- * * `service =`
- * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `version =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * * `service =` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `version =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `version_dot_service =`
- * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.'
- * +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * * `instance =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * * `instance =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
* * `instance_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
* * `instance_dot_version =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
* * `instance_dot_version_dot_service =`
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- * '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
- * `+ '.' +`
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ * [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
* [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
- * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is
- * empty, then the job will be sent to the service which is the default
- * service when the job is attempted.
- * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is
- * empty, then the job will be sent to the version which is the default
- * version when the job is attempted.
- * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * empty, then the job will be sent to an instance which is available when the
- * job is attempted.
+ * If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is empty, then the job will be sent
+ * to the service which is the default service when the job is attempted.
+ * If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is empty, then the job will be sent
+ * to the version which is the default version when the job is attempted.
+ * If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is empty, then the job will be
+ * sent to an instance which is available when the job is attempted.
* If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service],
* [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version], or
- * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- * invalid, then the job will be sent to the default version of the default
- * service when the job is attempted.
+ * [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is invalid, then the job will be sent
+ * to the default version of the default service when the job is attempted.
*
*
* string host = 4;
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java
index 9de5a215f0ea..0310fe7ffa2a 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java
@@ -7,8 +7,7 @@
*
*
* - * Request message for - * [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob]. + * Request message for [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob]. ** * Protobuf type {@code google.cloud.scheduler.v1beta1.CreateJobRequest} @@ -163,8 +162,7 @@ public com.google.protobuf.ByteString getParentBytes() { *
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
@@ -181,8 +179,7 @@ public boolean hasJob() {
*
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
@@ -199,8 +196,7 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() {
*
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
@@ -389,8 +385,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Request message for
- * [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob].
+ * Request message for [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.CreateJobRequest}
@@ -675,8 +670,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
@@ -693,8 +687,7 @@ public boolean hasJob() {
*
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
@@ -715,8 +708,7 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() {
*
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
@@ -743,8 +735,7 @@ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job value) {
*
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
@@ -768,8 +759,7 @@ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job.Builder builderForV
*
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
@@ -800,8 +790,7 @@ public Builder mergeJob(com.google.cloud.scheduler.v1beta1.Job value) {
*
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
@@ -826,8 +815,7 @@ public Builder clearJob() {
*
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
@@ -846,8 +834,7 @@ public com.google.cloud.scheduler.v1beta1.Job.Builder getJobBuilder() {
*
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
@@ -868,8 +855,7 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() {
*
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java
index ead454722a33..870d8adcccd7 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java
@@ -39,8 +39,7 @@ public interface CreateJobRequestOrBuilder
*
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
@@ -55,8 +54,7 @@ public interface CreateJobRequestOrBuilder
*
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
@@ -71,8 +69,7 @@ public interface CreateJobRequestOrBuilder
*
* Required.
* The job to add. The user can optionally specify a name for the
- * job in [name][google.cloud.scheduler.v1beta1.Job.name].
- * [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
* existing job. If a name is not specified then the system will
* generate a random unique name that will be returned
* ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java
index f19492a840b5..7e39367cc17d 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java
@@ -7,8 +7,7 @@
*
*
*
- * Request message for
- * [GetJob][google.cloud.scheduler.v1beta1.CloudScheduler.GetJob].
+ * Request message for [GetJob][google.cloud.scheduler.v1beta1.CloudScheduler.GetJob].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.GetJobRequest}
@@ -302,8 +301,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Request message for
- * [GetJob][google.cloud.scheduler.v1beta1.CloudScheduler.GetJob].
+ * Request message for [GetJob][google.cloud.scheduler.v1beta1.CloudScheduler.GetJob].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.GetJobRequest}
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java
index 147192f6a795..871f257f45a6 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java
@@ -8,9 +8,8 @@
*
*
* Http target. The job will be pushed to the job handler by means of
- * an HTTP request via an
- * [http_method][google.cloud.scheduler.v1beta1.HttpTarget.http_method] such as
- * HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP
+ * an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.HttpTarget.http_method] such as HTTP
+ * POST, HTTP GET, etc. The job is acknowledged by means of an HTTP
* response code in the range [200 - 299]. A failure to receive a response
* constitutes a failed execution. For a redirected request, the response
* returned by the redirected request is considered.
@@ -91,6 +90,44 @@ private HttpTarget(
body_ = input.readBytes();
break;
}
+ case 42:
+ {
+ com.google.cloud.scheduler.v1beta1.OAuthToken.Builder subBuilder = null;
+ if (authorizationHeaderCase_ == 5) {
+ subBuilder =
+ ((com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_)
+ .toBuilder();
+ }
+ authorizationHeader_ =
+ input.readMessage(
+ com.google.cloud.scheduler.v1beta1.OAuthToken.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(
+ (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_);
+ authorizationHeader_ = subBuilder.buildPartial();
+ }
+ authorizationHeaderCase_ = 5;
+ break;
+ }
+ case 50:
+ {
+ com.google.cloud.scheduler.v1beta1.OidcToken.Builder subBuilder = null;
+ if (authorizationHeaderCase_ == 6) {
+ subBuilder =
+ ((com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_)
+ .toBuilder();
+ }
+ authorizationHeader_ =
+ input.readMessage(
+ com.google.cloud.scheduler.v1beta1.OidcToken.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(
+ (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_);
+ authorizationHeader_ = subBuilder.buildPartial();
+ }
+ authorizationHeaderCase_ = 6;
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -137,6 +174,46 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
}
private int bitField0_;
+ private int authorizationHeaderCase_ = 0;
+ private java.lang.Object authorizationHeader_;
+
+ public enum AuthorizationHeaderCase implements com.google.protobuf.Internal.EnumLite {
+ OAUTH_TOKEN(5),
+ OIDC_TOKEN(6),
+ AUTHORIZATIONHEADER_NOT_SET(0);
+ private final int value;
+
+ private AuthorizationHeaderCase(int value) {
+ this.value = value;
+ }
+ /** @deprecated Use {@link #forNumber(int)} instead. */
+ @java.lang.Deprecated
+ public static AuthorizationHeaderCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static AuthorizationHeaderCase forNumber(int value) {
+ switch (value) {
+ case 5:
+ return OAUTH_TOKEN;
+ case 6:
+ return OIDC_TOKEN;
+ case 0:
+ return AUTHORIZATIONHEADER_NOT_SET;
+ default:
+ return null;
+ }
+ }
+
+ public int getNumber() {
+ return this.value;
+ }
+ };
+
+ public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+ return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+ }
+
public static final int URI_FIELD_NUMBER = 1;
private volatile java.lang.Object uri_;
/**
@@ -384,6 +461,124 @@ public com.google.protobuf.ByteString getBody() {
return body_;
}
+ public static final int OAUTH_TOKEN_FIELD_NUMBER = 5;
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ public boolean hasOauthToken() {
+ return authorizationHeaderCase_ == 5;
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ public com.google.cloud.scheduler.v1beta1.OAuthToken getOauthToken() {
+ if (authorizationHeaderCase_ == 5) {
+ return (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_;
+ }
+ return com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ public com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
+ if (authorizationHeaderCase_ == 5) {
+ return (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_;
+ }
+ return com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance();
+ }
+
+ public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ public boolean hasOidcToken() {
+ return authorizationHeaderCase_ == 6;
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ public com.google.cloud.scheduler.v1beta1.OidcToken getOidcToken() {
+ if (authorizationHeaderCase_ == 6) {
+ return (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_;
+ }
+ return com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ public com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder getOidcTokenOrBuilder() {
+ if (authorizationHeaderCase_ == 6) {
+ return (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_;
+ }
+ return com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -410,6 +605,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!body_.isEmpty()) {
output.writeBytes(4, body_);
}
+ if (authorizationHeaderCase_ == 5) {
+ output.writeMessage(5, (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_);
+ }
+ if (authorizationHeaderCase_ == 6) {
+ output.writeMessage(6, (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_);
+ }
unknownFields.writeTo(output);
}
@@ -439,6 +640,16 @@ public int getSerializedSize() {
if (!body_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
}
+ if (authorizationHeaderCase_ == 5) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 5, (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_);
+ }
+ if (authorizationHeaderCase_ == 6) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 6, (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -459,6 +670,17 @@ public boolean equals(final java.lang.Object obj) {
if (httpMethod_ != other.httpMethod_) return false;
if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
if (!getBody().equals(other.getBody())) return false;
+ if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
+ switch (authorizationHeaderCase_) {
+ case 5:
+ if (!getOauthToken().equals(other.getOauthToken())) return false;
+ break;
+ case 6:
+ if (!getOidcToken().equals(other.getOidcToken())) return false;
+ break;
+ case 0:
+ default:
+ }
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -480,6 +702,18 @@ public int hashCode() {
}
hash = (37 * hash) + BODY_FIELD_NUMBER;
hash = (53 * hash) + getBody().hashCode();
+ switch (authorizationHeaderCase_) {
+ case 5:
+ hash = (37 * hash) + OAUTH_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getOauthToken().hashCode();
+ break;
+ case 6:
+ hash = (37 * hash) + OIDC_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getOidcToken().hashCode();
+ break;
+ case 0:
+ default:
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -585,9 +819,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Http target. The job will be pushed to the job handler by means of
- * an HTTP request via an
- * [http_method][google.cloud.scheduler.v1beta1.HttpTarget.http_method] such as
- * HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP
+ * an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.HttpTarget.http_method] such as HTTP
+ * POST, HTTP GET, etc. The job is acknowledged by means of an HTTP
* response code in the range [200 - 299]. A failure to receive a response
* constitutes a failed execution. For a redirected request, the response
* returned by the redirected request is considered.
@@ -658,6 +891,8 @@ public Builder clear() {
internalGetMutableHeaders().clear();
body_ = com.google.protobuf.ByteString.EMPTY;
+ authorizationHeaderCase_ = 0;
+ authorizationHeader_ = null;
return this;
}
@@ -692,7 +927,22 @@ public com.google.cloud.scheduler.v1beta1.HttpTarget buildPartial() {
result.headers_ = internalGetHeaders();
result.headers_.makeImmutable();
result.body_ = body_;
+ if (authorizationHeaderCase_ == 5) {
+ if (oauthTokenBuilder_ == null) {
+ result.authorizationHeader_ = authorizationHeader_;
+ } else {
+ result.authorizationHeader_ = oauthTokenBuilder_.build();
+ }
+ }
+ if (authorizationHeaderCase_ == 6) {
+ if (oidcTokenBuilder_ == null) {
+ result.authorizationHeader_ = authorizationHeader_;
+ } else {
+ result.authorizationHeader_ = oidcTokenBuilder_.build();
+ }
+ }
result.bitField0_ = to_bitField0_;
+ result.authorizationHeaderCase_ = authorizationHeaderCase_;
onBuilt();
return result;
}
@@ -753,6 +1003,22 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.HttpTarget other) {
if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
setBody(other.getBody());
}
+ switch (other.getAuthorizationHeaderCase()) {
+ case OAUTH_TOKEN:
+ {
+ mergeOauthToken(other.getOauthToken());
+ break;
+ }
+ case OIDC_TOKEN:
+ {
+ mergeOidcToken(other.getOidcToken());
+ break;
+ }
+ case AUTHORIZATIONHEADER_NOT_SET:
+ {
+ break;
+ }
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -782,6 +1048,20 @@ public Builder mergeFrom(
return this;
}
+ private int authorizationHeaderCase_ = 0;
+ private java.lang.Object authorizationHeader_;
+
+ public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+ return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+ }
+
+ public Builder clearAuthorizationHeader() {
+ authorizationHeaderCase_ = 0;
+ authorizationHeader_ = null;
+ onChanged();
+ return this;
+ }
+
private int bitField0_;
private java.lang.Object uri_ = "";
@@ -1280,6 +1560,502 @@ public Builder clearBody() {
return this;
}
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.scheduler.v1beta1.OAuthToken,
+ com.google.cloud.scheduler.v1beta1.OAuthToken.Builder,
+ com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder>
+ oauthTokenBuilder_;
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ public boolean hasOauthToken() {
+ return authorizationHeaderCase_ == 5;
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ public com.google.cloud.scheduler.v1beta1.OAuthToken getOauthToken() {
+ if (oauthTokenBuilder_ == null) {
+ if (authorizationHeaderCase_ == 5) {
+ return (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_;
+ }
+ return com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance();
+ } else {
+ if (authorizationHeaderCase_ == 5) {
+ return oauthTokenBuilder_.getMessage();
+ }
+ return com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ public Builder setOauthToken(com.google.cloud.scheduler.v1beta1.OAuthToken value) {
+ if (oauthTokenBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ authorizationHeader_ = value;
+ onChanged();
+ } else {
+ oauthTokenBuilder_.setMessage(value);
+ }
+ authorizationHeaderCase_ = 5;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ public Builder setOauthToken(
+ com.google.cloud.scheduler.v1beta1.OAuthToken.Builder builderForValue) {
+ if (oauthTokenBuilder_ == null) {
+ authorizationHeader_ = builderForValue.build();
+ onChanged();
+ } else {
+ oauthTokenBuilder_.setMessage(builderForValue.build());
+ }
+ authorizationHeaderCase_ = 5;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ public Builder mergeOauthToken(com.google.cloud.scheduler.v1beta1.OAuthToken value) {
+ if (oauthTokenBuilder_ == null) {
+ if (authorizationHeaderCase_ == 5
+ && authorizationHeader_
+ != com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance()) {
+ authorizationHeader_ =
+ com.google.cloud.scheduler.v1beta1.OAuthToken.newBuilder(
+ (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ authorizationHeader_ = value;
+ }
+ onChanged();
+ } else {
+ if (authorizationHeaderCase_ == 5) {
+ oauthTokenBuilder_.mergeFrom(value);
+ }
+ oauthTokenBuilder_.setMessage(value);
+ }
+ authorizationHeaderCase_ = 5;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ public Builder clearOauthToken() {
+ if (oauthTokenBuilder_ == null) {
+ if (authorizationHeaderCase_ == 5) {
+ authorizationHeaderCase_ = 0;
+ authorizationHeader_ = null;
+ onChanged();
+ }
+ } else {
+ if (authorizationHeaderCase_ == 5) {
+ authorizationHeaderCase_ = 0;
+ authorizationHeader_ = null;
+ }
+ oauthTokenBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ public com.google.cloud.scheduler.v1beta1.OAuthToken.Builder getOauthTokenBuilder() {
+ return getOauthTokenFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ public com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
+ if ((authorizationHeaderCase_ == 5) && (oauthTokenBuilder_ != null)) {
+ return oauthTokenBuilder_.getMessageOrBuilder();
+ } else {
+ if (authorizationHeaderCase_ == 5) {
+ return (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_;
+ }
+ return com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.scheduler.v1beta1.OAuthToken,
+ com.google.cloud.scheduler.v1beta1.OAuthToken.Builder,
+ com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder>
+ getOauthTokenFieldBuilder() {
+ if (oauthTokenBuilder_ == null) {
+ if (!(authorizationHeaderCase_ == 5)) {
+ authorizationHeader_ = com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance();
+ }
+ oauthTokenBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.scheduler.v1beta1.OAuthToken,
+ com.google.cloud.scheduler.v1beta1.OAuthToken.Builder,
+ com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder>(
+ (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_,
+ getParentForChildren(),
+ isClean());
+ authorizationHeader_ = null;
+ }
+ authorizationHeaderCase_ = 5;
+ onChanged();
+ ;
+ return oauthTokenBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.scheduler.v1beta1.OidcToken,
+ com.google.cloud.scheduler.v1beta1.OidcToken.Builder,
+ com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder>
+ oidcTokenBuilder_;
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ public boolean hasOidcToken() {
+ return authorizationHeaderCase_ == 6;
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ public com.google.cloud.scheduler.v1beta1.OidcToken getOidcToken() {
+ if (oidcTokenBuilder_ == null) {
+ if (authorizationHeaderCase_ == 6) {
+ return (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_;
+ }
+ return com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance();
+ } else {
+ if (authorizationHeaderCase_ == 6) {
+ return oidcTokenBuilder_.getMessage();
+ }
+ return com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ public Builder setOidcToken(com.google.cloud.scheduler.v1beta1.OidcToken value) {
+ if (oidcTokenBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ authorizationHeader_ = value;
+ onChanged();
+ } else {
+ oidcTokenBuilder_.setMessage(value);
+ }
+ authorizationHeaderCase_ = 6;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ public Builder setOidcToken(
+ com.google.cloud.scheduler.v1beta1.OidcToken.Builder builderForValue) {
+ if (oidcTokenBuilder_ == null) {
+ authorizationHeader_ = builderForValue.build();
+ onChanged();
+ } else {
+ oidcTokenBuilder_.setMessage(builderForValue.build());
+ }
+ authorizationHeaderCase_ = 6;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ public Builder mergeOidcToken(com.google.cloud.scheduler.v1beta1.OidcToken value) {
+ if (oidcTokenBuilder_ == null) {
+ if (authorizationHeaderCase_ == 6
+ && authorizationHeader_
+ != com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance()) {
+ authorizationHeader_ =
+ com.google.cloud.scheduler.v1beta1.OidcToken.newBuilder(
+ (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ authorizationHeader_ = value;
+ }
+ onChanged();
+ } else {
+ if (authorizationHeaderCase_ == 6) {
+ oidcTokenBuilder_.mergeFrom(value);
+ }
+ oidcTokenBuilder_.setMessage(value);
+ }
+ authorizationHeaderCase_ = 6;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ public Builder clearOidcToken() {
+ if (oidcTokenBuilder_ == null) {
+ if (authorizationHeaderCase_ == 6) {
+ authorizationHeaderCase_ = 0;
+ authorizationHeader_ = null;
+ onChanged();
+ }
+ } else {
+ if (authorizationHeaderCase_ == 6) {
+ authorizationHeaderCase_ = 0;
+ authorizationHeader_ = null;
+ }
+ oidcTokenBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ public com.google.cloud.scheduler.v1beta1.OidcToken.Builder getOidcTokenBuilder() {
+ return getOidcTokenFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ public com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder getOidcTokenOrBuilder() {
+ if ((authorizationHeaderCase_ == 6) && (oidcTokenBuilder_ != null)) {
+ return oidcTokenBuilder_.getMessageOrBuilder();
+ } else {
+ if (authorizationHeaderCase_ == 6) {
+ return (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_;
+ }
+ return com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.scheduler.v1beta1.OidcToken,
+ com.google.cloud.scheduler.v1beta1.OidcToken.Builder,
+ com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder>
+ getOidcTokenFieldBuilder() {
+ if (oidcTokenBuilder_ == null) {
+ if (!(authorizationHeaderCase_ == 6)) {
+ authorizationHeader_ = com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance();
+ }
+ oidcTokenBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.scheduler.v1beta1.OidcToken,
+ com.google.cloud.scheduler.v1beta1.OidcToken.Builder,
+ com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder>(
+ (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_,
+ getParentForChildren(),
+ isClean());
+ authorizationHeader_ = null;
+ }
+ authorizationHeaderCase_ = 6;
+ onChanged();
+ ;
+ return oidcTokenBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java
index d2d7301c8244..43ab807fbd14 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java
@@ -193,4 +193,99 @@ public interface HttpTargetOrBuilder
* bytes body = 4;
*/
com.google.protobuf.ByteString getBody();
+
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ boolean hasOauthToken();
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ com.google.cloud.scheduler.v1beta1.OAuthToken getOauthToken();
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ * will be generated and attached as an `Authorization` header in the HTTP
+ * request.
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
+ */
+ com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ boolean hasOidcToken();
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ com.google.cloud.scheduler.v1beta1.OidcToken getOidcToken();
+ /**
+ *
+ *
+ *
+ * If specified, an
+ * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ * token will be generated and attached as an `Authorization` header in the
+ * HTTP request.
+ * This type of authorization should be used when sending requests to third
+ * party endpoints.
+ *
+ *
+ * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
+ */
+ com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder getOidcTokenOrBuilder();
+
+ public com.google.cloud.scheduler.v1beta1.HttpTarget.AuthorizationHeaderCase
+ getAuthorizationHeaderCase();
}
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java
index 9754f29e1106..40ad99db7125 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java
@@ -215,6 +215,21 @@ private Job(
java.lang.String s = input.readStringRequireUtf8();
timeZone_ = s;
+ break;
+ }
+ case 178:
+ {
+ com.google.protobuf.Duration.Builder subBuilder = null;
+ if (attemptDeadline_ != null) {
+ subBuilder = attemptDeadline_.toBuilder();
+ }
+ attemptDeadline_ =
+ input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(attemptDeadline_);
+ attemptDeadline_ = subBuilder.buildPartial();
+ }
+
break;
}
default:
@@ -308,11 +323,9 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
*
*
*
- * The job state resulting from a failed
- * [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]
+ * The job state resulting from a failed [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]
* operation. To recover a job from this state, retry
- * [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]
- * until a successful response is received.
+ * [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob] until a successful response is received.
*
*
* UPDATE_FAILED = 4;
@@ -368,11 +381,9 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
*
*
*
- * The job state resulting from a failed
- * [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]
+ * The job state resulting from a failed [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]
* operation. To recover a job from this state, retry
- * [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]
- * until a successful response is received.
+ * [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob] until a successful response is received.
*
*
* UPDATE_FAILED = 4;
@@ -503,6 +514,8 @@ public TargetCase getTargetCase() {
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.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]),
@@ -535,6 +548,8 @@ public java.lang.String getName() {
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.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]),
@@ -570,6 +585,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
+ * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
* A human-readable description for the job. This string must not contain
* more than 500 characters.
*
@@ -591,6 +608,8 @@ public java.lang.String getDescription() {
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
+ * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
* A human-readable description for the job. This string must not contain
* more than 500 characters.
*
@@ -748,8 +767,12 @@ public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBui
*
*
*
- * Required.
+ * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.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,
@@ -758,15 +781,10 @@ public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBui
* 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.v1beta1.RetryConfig.retry_count] >
- * 0 and a job attempt fails, the job will be tried a total of
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
+ * If [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] > 0 and a job attempt fails,
+ * the job will be tried a total of [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
* times, with exponential backoff, until the next scheduled start
* time.
- * 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)
*
*
* string schedule = 20;
@@ -786,8 +804,12 @@ public java.lang.String getSchedule() {
*
*
*
- * Required.
+ * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.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,
@@ -796,15 +818,10 @@ public java.lang.String getSchedule() {
* 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.v1beta1.RetryConfig.retry_count] >
- * 0 and a job attempt fails, the job will be tried a total of
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
+ * If [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] > 0 and a job attempt fails,
+ * the job will be tried a total of [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
* times, with exponential backoff, until the next scheduled start
* time.
- * 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)
*
*
* string schedule = 20;
@@ -828,9 +845,8 @@ public com.google.protobuf.ByteString getScheduleBytes() {
*
*
* Specifies the time zone to be used in interpreting
- * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this
- * field must be a time zone name from the [tz
- * database](http://en.wikipedia.org/wiki/Tz_database).
+ * [schedule][google.cloud.scheduler.v1beta1.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
@@ -856,9 +872,8 @@ public java.lang.String getTimeZone() {
*
*
* Specifies the time zone to be used in interpreting
- * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this
- * field must be a time zone name from the [tz
- * database](http://en.wikipedia.org/wiki/Tz_database).
+ * [schedule][google.cloud.scheduler.v1beta1.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
@@ -1119,6 +1134,74 @@ public com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrB
return getRetryConfig();
}
+ public static final int ATTEMPT_DEADLINE_FIELD_NUMBER = 22;
+ private com.google.protobuf.Duration attemptDeadline_;
+ /**
+ *
+ *
+ *
+ * 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ public boolean hasAttemptDeadline() {
+ return attemptDeadline_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ public com.google.protobuf.Duration getAttemptDeadline() {
+ return attemptDeadline_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : attemptDeadline_;
+ }
+ /**
+ *
+ *
+ *
+ * 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder() {
+ return getAttemptDeadline();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1172,6 +1255,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!getTimeZoneBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 21, timeZone_);
}
+ if (attemptDeadline_ != null) {
+ output.writeMessage(22, getAttemptDeadline());
+ }
unknownFields.writeTo(output);
}
@@ -1226,6 +1312,9 @@ public int getSerializedSize() {
if (!getTimeZoneBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, timeZone_);
}
+ if (attemptDeadline_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getAttemptDeadline());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -1266,6 +1355,10 @@ public boolean equals(final java.lang.Object obj) {
if (hasRetryConfig()) {
if (!getRetryConfig().equals(other.getRetryConfig())) return false;
}
+ if (hasAttemptDeadline() != other.hasAttemptDeadline()) return false;
+ if (hasAttemptDeadline()) {
+ if (!getAttemptDeadline().equals(other.getAttemptDeadline())) return false;
+ }
if (!getTargetCase().equals(other.getTargetCase())) return false;
switch (targetCase_) {
case 4:
@@ -1321,6 +1414,10 @@ public int hashCode() {
hash = (37 * hash) + RETRY_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getRetryConfig().hashCode();
}
+ if (hasAttemptDeadline()) {
+ hash = (37 * hash) + ATTEMPT_DEADLINE_FIELD_NUMBER;
+ hash = (53 * hash) + getAttemptDeadline().hashCode();
+ }
switch (targetCase_) {
case 4:
hash = (37 * hash) + PUBSUB_TARGET_FIELD_NUMBER;
@@ -1523,6 +1620,12 @@ public Builder clear() {
retryConfig_ = null;
retryConfigBuilder_ = null;
}
+ if (attemptDeadlineBuilder_ == null) {
+ attemptDeadline_ = null;
+ } else {
+ attemptDeadline_ = null;
+ attemptDeadlineBuilder_ = null;
+ }
targetCase_ = 0;
target_ = null;
return this;
@@ -1603,6 +1706,11 @@ public com.google.cloud.scheduler.v1beta1.Job buildPartial() {
} else {
result.retryConfig_ = retryConfigBuilder_.build();
}
+ if (attemptDeadlineBuilder_ == null) {
+ result.attemptDeadline_ = attemptDeadline_;
+ } else {
+ result.attemptDeadline_ = attemptDeadlineBuilder_.build();
+ }
result.targetCase_ = targetCase_;
onBuilt();
return result;
@@ -1687,6 +1795,9 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.Job other) {
if (other.hasRetryConfig()) {
mergeRetryConfig(other.getRetryConfig());
}
+ if (other.hasAttemptDeadline()) {
+ mergeAttemptDeadline(other.getAttemptDeadline());
+ }
switch (other.getTargetCase()) {
case PUBSUB_TARGET:
{
@@ -1756,6 +1867,8 @@ public Builder clearTarget() {
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.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]),
@@ -1788,6 +1901,8 @@ public java.lang.String getName() {
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.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]),
@@ -1820,6 +1935,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.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]),
@@ -1850,6 +1967,8 @@ public Builder setName(java.lang.String value) {
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.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]),
@@ -1877,6 +1996,8 @@ public Builder clearName() {
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.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]),
@@ -1910,6 +2031,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
+ * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
* A human-readable description for the job. This string must not contain
* more than 500 characters.
*
@@ -1931,6 +2054,8 @@ public java.lang.String getDescription() {
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
+ * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
* A human-readable description for the job. This string must not contain
* more than 500 characters.
*
@@ -1952,6 +2077,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
+ * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
* A human-readable description for the job. This string must not contain
* more than 500 characters.
*
@@ -1971,6 +2098,8 @@ public Builder setDescription(java.lang.String value) {
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
+ * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
* A human-readable description for the job. This string must not contain
* more than 500 characters.
*
@@ -1987,6 +2116,8 @@ public Builder clearDescription() {
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
+ * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
* A human-readable description for the job. This string must not contain
* more than 500 characters.
*
@@ -2620,8 +2751,12 @@ public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBui
*
*
*
- * Required.
+ * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.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,
@@ -2630,15 +2765,10 @@ public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBui
* 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.v1beta1.RetryConfig.retry_count] >
- * 0 and a job attempt fails, the job will be tried a total of
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
+ * If [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] > 0 and a job attempt fails,
+ * the job will be tried a total of [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
* times, with exponential backoff, until the next scheduled start
* time.
- * 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)
*
*
* string schedule = 20;
@@ -2658,8 +2788,12 @@ public java.lang.String getSchedule() {
*
*
*
- * Required.
+ * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.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,
@@ -2668,15 +2802,10 @@ public java.lang.String getSchedule() {
* 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.v1beta1.RetryConfig.retry_count] >
- * 0 and a job attempt fails, the job will be tried a total of
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
+ * If [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] > 0 and a job attempt fails,
+ * the job will be tried a total of [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
* times, with exponential backoff, until the next scheduled start
* time.
- * 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)
*
*
* string schedule = 20;
@@ -2696,8 +2825,12 @@ public com.google.protobuf.ByteString getScheduleBytes() {
*
*
*
- * Required.
+ * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.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,
@@ -2706,15 +2839,10 @@ public com.google.protobuf.ByteString getScheduleBytes() {
* 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.v1beta1.RetryConfig.retry_count] >
- * 0 and a job attempt fails, the job will be tried a total of
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
+ * If [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] > 0 and a job attempt fails,
+ * the job will be tried a total of [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
* times, with exponential backoff, until the next scheduled start
* time.
- * 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)
*
*
* string schedule = 20;
@@ -2732,8 +2860,12 @@ public Builder setSchedule(java.lang.String value) {
*
*
*
- * Required.
+ * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.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,
@@ -2742,15 +2874,10 @@ public Builder setSchedule(java.lang.String value) {
* 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.v1beta1.RetryConfig.retry_count] >
- * 0 and a job attempt fails, the job will be tried a total of
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
+ * If [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] > 0 and a job attempt fails,
+ * the job will be tried a total of [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
* times, with exponential backoff, until the next scheduled start
* time.
- * 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)
*
*
* string schedule = 20;
@@ -2765,8 +2892,12 @@ public Builder clearSchedule() {
*
*
*
- * Required.
+ * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.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,
@@ -2775,15 +2906,10 @@ public Builder clearSchedule() {
* 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.v1beta1.RetryConfig.retry_count] >
- * 0 and a job attempt fails, the job will be tried a total of
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
+ * If [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] > 0 and a job attempt fails,
+ * the job will be tried a total of [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
* times, with exponential backoff, until the next scheduled start
* time.
- * 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)
*
*
* string schedule = 20;
@@ -2805,9 +2931,8 @@ public Builder setScheduleBytes(com.google.protobuf.ByteString value) {
*
*
* Specifies the time zone to be used in interpreting
- * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this
- * field must be a time zone name from the [tz
- * database](http://en.wikipedia.org/wiki/Tz_database).
+ * [schedule][google.cloud.scheduler.v1beta1.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
@@ -2833,9 +2958,8 @@ public java.lang.String getTimeZone() {
*
*
* Specifies the time zone to be used in interpreting
- * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this
- * field must be a time zone name from the [tz
- * database](http://en.wikipedia.org/wiki/Tz_database).
+ * [schedule][google.cloud.scheduler.v1beta1.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
@@ -2861,9 +2985,8 @@ public com.google.protobuf.ByteString getTimeZoneBytes() {
*
*
* Specifies the time zone to be used in interpreting
- * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this
- * field must be a time zone name from the [tz
- * database](http://en.wikipedia.org/wiki/Tz_database).
+ * [schedule][google.cloud.scheduler.v1beta1.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
@@ -2887,9 +3010,8 @@ public Builder setTimeZone(java.lang.String value) {
*
*
* Specifies the time zone to be used in interpreting
- * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this
- * field must be a time zone name from the [tz
- * database](http://en.wikipedia.org/wiki/Tz_database).
+ * [schedule][google.cloud.scheduler.v1beta1.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
@@ -2910,9 +3032,8 @@ public Builder clearTimeZone() {
*
*
* Specifies the time zone to be used in interpreting
- * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this
- * field must be a time zone name from the [tz
- * database](http://en.wikipedia.org/wiki/Tz_database).
+ * [schedule][google.cloud.scheduler.v1beta1.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
@@ -3921,6 +4042,268 @@ public com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrB
return retryConfigBuilder_;
}
+ private com.google.protobuf.Duration attemptDeadline_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Duration,
+ com.google.protobuf.Duration.Builder,
+ com.google.protobuf.DurationOrBuilder>
+ attemptDeadlineBuilder_;
+ /**
+ *
+ *
+ *
+ * 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ public boolean hasAttemptDeadline() {
+ return attemptDeadlineBuilder_ != null || attemptDeadline_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ public com.google.protobuf.Duration getAttemptDeadline() {
+ if (attemptDeadlineBuilder_ == null) {
+ return attemptDeadline_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : attemptDeadline_;
+ } else {
+ return attemptDeadlineBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ public Builder setAttemptDeadline(com.google.protobuf.Duration value) {
+ if (attemptDeadlineBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ attemptDeadline_ = value;
+ onChanged();
+ } else {
+ attemptDeadlineBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ public Builder setAttemptDeadline(com.google.protobuf.Duration.Builder builderForValue) {
+ if (attemptDeadlineBuilder_ == null) {
+ attemptDeadline_ = builderForValue.build();
+ onChanged();
+ } else {
+ attemptDeadlineBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ public Builder mergeAttemptDeadline(com.google.protobuf.Duration value) {
+ if (attemptDeadlineBuilder_ == null) {
+ if (attemptDeadline_ != null) {
+ attemptDeadline_ =
+ com.google.protobuf.Duration.newBuilder(attemptDeadline_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ attemptDeadline_ = value;
+ }
+ onChanged();
+ } else {
+ attemptDeadlineBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ public Builder clearAttemptDeadline() {
+ if (attemptDeadlineBuilder_ == null) {
+ attemptDeadline_ = null;
+ onChanged();
+ } else {
+ attemptDeadline_ = null;
+ attemptDeadlineBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ public com.google.protobuf.Duration.Builder getAttemptDeadlineBuilder() {
+
+ onChanged();
+ return getAttemptDeadlineFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder() {
+ if (attemptDeadlineBuilder_ != null) {
+ return attemptDeadlineBuilder_.getMessageOrBuilder();
+ } else {
+ return attemptDeadline_ == null
+ ? com.google.protobuf.Duration.getDefaultInstance()
+ : attemptDeadline_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Duration,
+ com.google.protobuf.Duration.Builder,
+ com.google.protobuf.DurationOrBuilder>
+ getAttemptDeadlineFieldBuilder() {
+ if (attemptDeadlineBuilder_ == null) {
+ attemptDeadlineBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Duration,
+ com.google.protobuf.Duration.Builder,
+ com.google.protobuf.DurationOrBuilder>(
+ getAttemptDeadline(), getParentForChildren(), isClean());
+ attemptDeadline_ = null;
+ }
+ return attemptDeadlineBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java
index 6c11c81a1d8c..8373531a32a5 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java
@@ -12,6 +12,8 @@ public interface JobOrBuilder
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.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]),
@@ -34,6 +36,8 @@ public interface JobOrBuilder
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.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]),
@@ -57,6 +61,8 @@ public interface JobOrBuilder
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
+ * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
* A human-readable description for the job. This string must not contain
* more than 500 characters.
*
@@ -68,6 +74,8 @@ public interface JobOrBuilder
*
*
*
+ * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
+ * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
* A human-readable description for the job. This string must not contain
* more than 500 characters.
*
@@ -173,8 +181,12 @@ public interface JobOrBuilder
*
*
*
- * Required.
+ * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.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,
@@ -183,15 +195,10 @@ public interface JobOrBuilder
* 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.v1beta1.RetryConfig.retry_count] >
- * 0 and a job attempt fails, the job will be tried a total of
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
+ * If [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] > 0 and a job attempt fails,
+ * the job will be tried a total of [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
* times, with exponential backoff, until the next scheduled start
* time.
- * 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)
*
*
* string schedule = 20;
@@ -201,8 +208,12 @@ public interface JobOrBuilder
*
*
*
- * Required.
+ * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.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,
@@ -211,15 +222,10 @@ public interface JobOrBuilder
* 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.v1beta1.RetryConfig.retry_count] >
- * 0 and a job attempt fails, the job will be tried a total of
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
+ * If [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] > 0 and a job attempt fails,
+ * the job will be tried a total of [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
* times, with exponential backoff, until the next scheduled start
* time.
- * 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)
*
*
* string schedule = 20;
@@ -231,9 +237,8 @@ public interface JobOrBuilder
*
*
* Specifies the time zone to be used in interpreting
- * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this
- * field must be a time zone name from the [tz
- * database](http://en.wikipedia.org/wiki/Tz_database).
+ * [schedule][google.cloud.scheduler.v1beta1.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
@@ -249,9 +254,8 @@ public interface JobOrBuilder
*
*
* Specifies the time zone to be used in interpreting
- * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this
- * field must be a time zone name from the [tz
- * database](http://en.wikipedia.org/wiki/Tz_database).
+ * [schedule][google.cloud.scheduler.v1beta1.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
@@ -445,5 +449,63 @@ public interface JobOrBuilder
*/
com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrBuilder();
+ /**
+ *
+ *
+ *
+ * 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ 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.v1beta1.RetryConfig].
+ * The allowed duration for this deadline is:
+ * * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ * * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ * seconds and 24 hours.
+ * * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ *
+ *
+ * .google.protobuf.Duration attempt_deadline = 22;
+ */
+ com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder();
+
public com.google.cloud.scheduler.v1beta1.Job.TargetCase getTargetCase();
}
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java
index 5e6acdc53909..6ca6e1ba1dab 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java
@@ -31,26 +31,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n(google/cloud/scheduler/v1beta1/job.pro"
+ "to\022\036google.cloud.scheduler.v1beta1\032\034goog"
- + "le/api/annotations.proto\032+google/cloud/s"
- + "cheduler/v1beta1/target.proto\032\036google/pr"
- + "otobuf/duration.proto\032\037google/protobuf/t"
- + "imestamp.proto\032\027google/rpc/status.proto\""
- + "\323\005\n\003Job\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001"
- + "(\t\022E\n\rpubsub_target\030\004 \001(\0132,.google.cloud"
- + ".scheduler.v1beta1.PubsubTargetH\000\022U\n\026app"
- + "_engine_http_target\030\005 \001(\01323.google.cloud"
- + ".scheduler.v1beta1.AppEngineHttpTargetH\000"
- + "\022A\n\013http_target\030\006 \001(\0132*.google.cloud.sch"
- + "eduler.v1beta1.HttpTargetH\000\022\020\n\010schedule\030"
- + "\024 \001(\t\022\021\n\ttime_zone\030\025 \001(\t\0224\n\020user_update_"
- + "time\030\t \001(\0132\032.google.protobuf.Timestamp\0228"
- + "\n\005state\030\n \001(\0162).google.cloud.scheduler.v"
- + "1beta1.Job.State\022\"\n\006status\030\013 \001(\0132\022.googl"
- + "e.rpc.Status\0221\n\rschedule_time\030\021 \001(\0132\032.go"
- + "ogle.protobuf.Timestamp\0225\n\021last_attempt_"
- + "time\030\022 \001(\0132\032.google.protobuf.Timestamp\022A"
- + "\n\014retry_config\030\023 \001(\0132+.google.cloud.sche"
- + "duler.v1beta1.RetryConfig\"X\n\005State\022\025\n\021ST"
+ + "le/api/annotations.proto\032\031google/api/res"
+ + "ource.proto\032+google/cloud/scheduler/v1be"
+ + "ta1/target.proto\032\036google/protobuf/durati"
+ + "on.proto\032\037google/protobuf/timestamp.prot"
+ + "o\032\027google/rpc/status.proto\"\210\006\n\003Job\022\014\n\004na"
+ + "me\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022E\n\rpubsub_"
+ + "target\030\004 \001(\0132,.google.cloud.scheduler.v1"
+ + "beta1.PubsubTargetH\000\022U\n\026app_engine_http_"
+ + "target\030\005 \001(\01323.google.cloud.scheduler.v1"
+ + "beta1.AppEngineHttpTargetH\000\022A\n\013http_targ"
+ + "et\030\006 \001(\0132*.google.cloud.scheduler.v1beta"
+ + "1.HttpTargetH\000\022\020\n\010schedule\030\024 \001(\t\022\021\n\ttime"
+ + "_zone\030\025 \001(\t\0224\n\020user_update_time\030\t \001(\0132\032."
+ + "google.protobuf.Timestamp\0228\n\005state\030\n \001(\016"
+ + "2).google.cloud.scheduler.v1beta1.Job.St"
+ + "ate\022\"\n\006status\030\013 \001(\0132\022.google.rpc.Status\022"
+ + "1\n\rschedule_time\030\021 \001(\0132\032.google.protobuf"
+ + ".Timestamp\0225\n\021last_attempt_time\030\022 \001(\0132\032."
+ + "google.protobuf.Timestamp\022A\n\014retry_confi"
+ + "g\030\023 \001(\0132+.google.cloud.scheduler.v1beta1"
+ + ".RetryConfig\0223\n\020attempt_deadline\030\026 \001(\0132\031"
+ + ".google.protobuf.Duration\"X\n\005State\022\025\n\021ST"
+ "ATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\n\n\006PAUSED"
+ "\020\002\022\014\n\010DISABLED\020\003\022\021\n\rUPDATE_FAILED\020\004B\010\n\006t"
+ "arget\"\342\001\n\013RetryConfig\022\023\n\013retry_count\030\001 \001"
@@ -76,6 +78,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.scheduler.v1beta1.TargetProto.getDescriptor(),
com.google.protobuf.DurationProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
@@ -101,6 +104,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"ScheduleTime",
"LastAttemptTime",
"RetryConfig",
+ "AttemptDeadline",
"Target",
});
internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor =
@@ -116,6 +120,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"MaxDoublings",
});
com.google.api.AnnotationsProto.getDescriptor();
+ com.google.api.ResourceProto.getDescriptor();
com.google.cloud.scheduler.v1beta1.TargetProto.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java
index ddcea8568b0b..7e7dcb405b47 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java
@@ -7,8 +7,7 @@
*
*
*
- * Request message for listing jobs using
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
+ * Request message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.ListJobsRequest}
@@ -180,13 +179,10 @@ public int getPageSize() {
* A token identifying a page of results the server will return. To
* request the first page results, page_token must be empty. To
* request the next page of results, page_token must be the value of
- * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token]
- * returned from the previous call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is
- * an error to switch the value of
- * [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
- * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while
- * iterating through pages.
+ * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token] returned from
+ * the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to
+ * switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
+ * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages.
*
*
* string page_token = 6;
@@ -209,13 +205,10 @@ public java.lang.String getPageToken() {
* A token identifying a page of results the server will return. To
* request the first page results, page_token must be empty. To
* request the next page of results, page_token must be the value of
- * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token]
- * returned from the previous call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is
- * an error to switch the value of
- * [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
- * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while
- * iterating through pages.
+ * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token] returned from
+ * the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to
+ * switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
+ * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages.
*
*
* string page_token = 6;
@@ -413,8 +406,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Request message for listing jobs using
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
+ * Request message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.ListJobsRequest}
@@ -750,13 +742,10 @@ public Builder clearPageSize() {
* A token identifying a page of results the server will return. To
* request the first page results, page_token must be empty. To
* request the next page of results, page_token must be the value of
- * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token]
- * returned from the previous call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is
- * an error to switch the value of
- * [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
- * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while
- * iterating through pages.
+ * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token] returned from
+ * the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to
+ * switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
+ * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages.
*
*
* string page_token = 6;
@@ -779,13 +768,10 @@ public java.lang.String getPageToken() {
* A token identifying a page of results the server will return. To
* request the first page results, page_token must be empty. To
* request the next page of results, page_token must be the value of
- * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token]
- * returned from the previous call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is
- * an error to switch the value of
- * [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
- * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while
- * iterating through pages.
+ * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token] returned from
+ * the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to
+ * switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
+ * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages.
*
*
* string page_token = 6;
@@ -808,13 +794,10 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
* A token identifying a page of results the server will return. To
* request the first page results, page_token must be empty. To
* request the next page of results, page_token must be the value of
- * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token]
- * returned from the previous call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is
- * an error to switch the value of
- * [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
- * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while
- * iterating through pages.
+ * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token] returned from
+ * the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to
+ * switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
+ * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages.
*
*
* string page_token = 6;
@@ -835,13 +818,10 @@ public Builder setPageToken(java.lang.String value) {
* A token identifying a page of results the server will return. To
* request the first page results, page_token must be empty. To
* request the next page of results, page_token must be the value of
- * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token]
- * returned from the previous call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is
- * an error to switch the value of
- * [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
- * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while
- * iterating through pages.
+ * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token] returned from
+ * the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to
+ * switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
+ * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages.
*
*
* string page_token = 6;
@@ -859,13 +839,10 @@ public Builder clearPageToken() {
* A token identifying a page of results the server will return. To
* request the first page results, page_token must be empty. To
* request the next page of results, page_token must be the value of
- * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token]
- * returned from the previous call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is
- * an error to switch the value of
- * [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
- * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while
- * iterating through pages.
+ * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token] returned from
+ * the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to
+ * switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
+ * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages.
*
*
* string page_token = 6;
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java
index 2433aa7d21fe..c4f382c7bc4c 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java
@@ -55,13 +55,10 @@ public interface ListJobsRequestOrBuilder
* A token identifying a page of results the server will return. To
* request the first page results, page_token must be empty. To
* request the next page of results, page_token must be the value of
- * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token]
- * returned from the previous call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is
- * an error to switch the value of
- * [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
- * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while
- * iterating through pages.
+ * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token] returned from
+ * the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to
+ * switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
+ * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages.
*
*
* string page_token = 6;
@@ -74,13 +71,10 @@ public interface ListJobsRequestOrBuilder
* A token identifying a page of results the server will return. To
* request the first page results, page_token must be empty. To
* request the next page of results, page_token must be the value of
- * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token]
- * returned from the previous call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is
- * an error to switch the value of
- * [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
- * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while
- * iterating through pages.
+ * [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token] returned from
+ * the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to
+ * switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
+ * [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages.
*
*
* string page_token = 6;
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java
index 13938655706f..f9436da6e6c5 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java
@@ -7,8 +7,7 @@
*
*
*
- * Response message for listing jobs using
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
+ * Response message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.ListJobsResponse}
@@ -179,11 +178,10 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder(int inde
*
*
* A token to retrieve next page of results. Pass this value in the
- * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token]
- * field in the subsequent call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to
- * retrieve the next page of results. If this is empty it indicates that there
- * are no more results through which to paginate.
+ * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
+ * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to retrieve the next page of results.
+ * If this is empty it indicates that there are no more results
+ * through which to paginate.
* The page token is valid for only 2 hours.
*
*
@@ -205,11 +203,10 @@ public java.lang.String getNextPageToken() {
*
*
* A token to retrieve next page of results. Pass this value in the
- * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token]
- * field in the subsequent call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to
- * retrieve the next page of results. If this is empty it indicates that there
- * are no more results through which to paginate.
+ * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
+ * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to retrieve the next page of results.
+ * If this is empty it indicates that there are no more results
+ * through which to paginate.
* The page token is valid for only 2 hours.
*
*
@@ -401,8 +398,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Response message for listing jobs using
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
+ * Response message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.ListJobsResponse}
@@ -960,11 +956,10 @@ public java.util.List getJobsBui
*
*
* A token to retrieve next page of results. Pass this value in the
- * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token]
- * field in the subsequent call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to
- * retrieve the next page of results. If this is empty it indicates that there
- * are no more results through which to paginate.
+ * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
+ * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to retrieve the next page of results.
+ * If this is empty it indicates that there are no more results
+ * through which to paginate.
* The page token is valid for only 2 hours.
*
*
@@ -986,11 +981,10 @@ public java.lang.String getNextPageToken() {
*
*
* A token to retrieve next page of results. Pass this value in the
- * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token]
- * field in the subsequent call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to
- * retrieve the next page of results. If this is empty it indicates that there
- * are no more results through which to paginate.
+ * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
+ * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to retrieve the next page of results.
+ * If this is empty it indicates that there are no more results
+ * through which to paginate.
* The page token is valid for only 2 hours.
*
*
@@ -1012,11 +1006,10 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* A token to retrieve next page of results. Pass this value in the
- * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token]
- * field in the subsequent call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to
- * retrieve the next page of results. If this is empty it indicates that there
- * are no more results through which to paginate.
+ * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
+ * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to retrieve the next page of results.
+ * If this is empty it indicates that there are no more results
+ * through which to paginate.
* The page token is valid for only 2 hours.
*
*
@@ -1036,11 +1029,10 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* A token to retrieve next page of results. Pass this value in the
- * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token]
- * field in the subsequent call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to
- * retrieve the next page of results. If this is empty it indicates that there
- * are no more results through which to paginate.
+ * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
+ * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to retrieve the next page of results.
+ * If this is empty it indicates that there are no more results
+ * through which to paginate.
* The page token is valid for only 2 hours.
*
*
@@ -1057,11 +1049,10 @@ public Builder clearNextPageToken() {
*
*
* A token to retrieve next page of results. Pass this value in the
- * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token]
- * field in the subsequent call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to
- * retrieve the next page of results. If this is empty it indicates that there
- * are no more results through which to paginate.
+ * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
+ * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to retrieve the next page of results.
+ * If this is empty it indicates that there are no more results
+ * through which to paginate.
* The page token is valid for only 2 hours.
*
*
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java
index e9d45ef47105..6c306c7c40a1 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java
@@ -64,11 +64,10 @@ public interface ListJobsResponseOrBuilder
*
*
* A token to retrieve next page of results. Pass this value in the
- * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token]
- * field in the subsequent call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to
- * retrieve the next page of results. If this is empty it indicates that there
- * are no more results through which to paginate.
+ * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
+ * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to retrieve the next page of results.
+ * If this is empty it indicates that there are no more results
+ * through which to paginate.
* The page token is valid for only 2 hours.
*
*
@@ -80,11 +79,10 @@ public interface ListJobsResponseOrBuilder
*
*
* A token to retrieve next page of results. Pass this value in the
- * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token]
- * field in the subsequent call to
- * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to
- * retrieve the next page of results. If this is empty it indicates that there
- * are no more results through which to paginate.
+ * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
+ * [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to retrieve the next page of results.
+ * If this is empty it indicates that there are no more results
+ * through which to paginate.
* The page token is valid for only 2 hours.
*
*
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java
new file mode 100644
index 000000000000..403b35a7a6d2
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java
@@ -0,0 +1,798 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/scheduler/v1beta1/target.proto
+
+package com.google.cloud.scheduler.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Contains information needed for generating an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * Protobuf type {@code google.cloud.scheduler.v1beta1.OAuthToken}
+ */
+public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.OAuthToken)
+ OAuthTokenOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use OAuthToken.newBuilder() to construct.
+ private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private OAuthToken() {
+ serviceAccountEmail_ = "";
+ scope_ = "";
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private OAuthToken(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ serviceAccountEmail_ = s;
+ break;
+ }
+ case 18:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ scope_ = s;
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.scheduler.v1beta1.TargetProto
+ .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.scheduler.v1beta1.TargetProto
+ .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.scheduler.v1beta1.OAuthToken.class,
+ com.google.cloud.scheduler.v1beta1.OAuthToken.Builder.class);
+ }
+
+ public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
+ private volatile java.lang.Object serviceAccountEmail_;
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OAuth token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ public java.lang.String getServiceAccountEmail() {
+ java.lang.Object ref = serviceAccountEmail_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ serviceAccountEmail_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OAuth token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
+ java.lang.Object ref = serviceAccountEmail_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ serviceAccountEmail_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int SCOPE_FIELD_NUMBER = 2;
+ private volatile java.lang.Object scope_;
+ /**
+ *
+ *
+ *
+ * OAuth scope to be used for generating OAuth access token.
+ * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+ * will be used.
+ *
+ *
+ * string scope = 2;
+ */
+ public java.lang.String getScope() {
+ java.lang.Object ref = scope_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ scope_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * OAuth scope to be used for generating OAuth access token.
+ * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+ * will be used.
+ *
+ *
+ * string scope = 2;
+ */
+ public com.google.protobuf.ByteString getScopeBytes() {
+ java.lang.Object ref = scope_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ scope_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!getServiceAccountEmailBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_);
+ }
+ if (!getScopeBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, scope_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getServiceAccountEmailBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceAccountEmail_);
+ }
+ if (!getScopeBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, scope_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.scheduler.v1beta1.OAuthToken)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.scheduler.v1beta1.OAuthToken other =
+ (com.google.cloud.scheduler.v1beta1.OAuthToken) obj;
+
+ if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false;
+ if (!getScope().equals(other.getScope())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER;
+ hash = (53 * hash) + getServiceAccountEmail().hashCode();
+ hash = (37 * hash) + SCOPE_FIELD_NUMBER;
+ hash = (53 * hash) + getScope().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OAuthToken parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OAuthToken parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.OAuthToken prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Contains information needed for generating an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ *
+ *
+ * Protobuf type {@code google.cloud.scheduler.v1beta1.OAuthToken}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.OAuthToken)
+ com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.scheduler.v1beta1.TargetProto
+ .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.scheduler.v1beta1.TargetProto
+ .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.scheduler.v1beta1.OAuthToken.class,
+ com.google.cloud.scheduler.v1beta1.OAuthToken.Builder.class);
+ }
+
+ // Construct using com.google.cloud.scheduler.v1beta1.OAuthToken.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ serviceAccountEmail_ = "";
+
+ scope_ = "";
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.scheduler.v1beta1.TargetProto
+ .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.scheduler.v1beta1.OAuthToken getDefaultInstanceForType() {
+ return com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.scheduler.v1beta1.OAuthToken build() {
+ com.google.cloud.scheduler.v1beta1.OAuthToken result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.scheduler.v1beta1.OAuthToken buildPartial() {
+ com.google.cloud.scheduler.v1beta1.OAuthToken result =
+ new com.google.cloud.scheduler.v1beta1.OAuthToken(this);
+ result.serviceAccountEmail_ = serviceAccountEmail_;
+ result.scope_ = scope_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.scheduler.v1beta1.OAuthToken) {
+ return mergeFrom((com.google.cloud.scheduler.v1beta1.OAuthToken) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.OAuthToken other) {
+ if (other == com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance()) return this;
+ if (!other.getServiceAccountEmail().isEmpty()) {
+ serviceAccountEmail_ = other.serviceAccountEmail_;
+ onChanged();
+ }
+ if (!other.getScope().isEmpty()) {
+ scope_ = other.scope_;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.scheduler.v1beta1.OAuthToken parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.cloud.scheduler.v1beta1.OAuthToken) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object serviceAccountEmail_ = "";
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OAuth token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ public java.lang.String getServiceAccountEmail() {
+ java.lang.Object ref = serviceAccountEmail_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ serviceAccountEmail_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OAuth token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
+ java.lang.Object ref = serviceAccountEmail_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ serviceAccountEmail_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OAuth token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ public Builder setServiceAccountEmail(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ serviceAccountEmail_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OAuth token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ public Builder clearServiceAccountEmail() {
+
+ serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OAuth token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ serviceAccountEmail_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object scope_ = "";
+ /**
+ *
+ *
+ *
+ * OAuth scope to be used for generating OAuth access token.
+ * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+ * will be used.
+ *
+ *
+ * string scope = 2;
+ */
+ public java.lang.String getScope() {
+ java.lang.Object ref = scope_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ scope_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * OAuth scope to be used for generating OAuth access token.
+ * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+ * will be used.
+ *
+ *
+ * string scope = 2;
+ */
+ public com.google.protobuf.ByteString getScopeBytes() {
+ java.lang.Object ref = scope_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ scope_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * OAuth scope to be used for generating OAuth access token.
+ * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+ * will be used.
+ *
+ *
+ * string scope = 2;
+ */
+ public Builder setScope(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ scope_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * OAuth scope to be used for generating OAuth access token.
+ * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+ * will be used.
+ *
+ *
+ * string scope = 2;
+ */
+ public Builder clearScope() {
+
+ scope_ = getDefaultInstance().getScope();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * OAuth scope to be used for generating OAuth access token.
+ * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+ * will be used.
+ *
+ *
+ * string scope = 2;
+ */
+ public Builder setScopeBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ scope_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.OAuthToken)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.OAuthToken)
+ private static final com.google.cloud.scheduler.v1beta1.OAuthToken DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.OAuthToken();
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OAuthToken getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public OAuthToken parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new OAuthToken(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.scheduler.v1beta1.OAuthToken getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java
new file mode 100644
index 000000000000..c583c50ceba1
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java
@@ -0,0 +1,62 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/scheduler/v1beta1/target.proto
+
+package com.google.cloud.scheduler.v1beta1;
+
+public interface OAuthTokenOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.OAuthToken)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OAuth token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ java.lang.String getServiceAccountEmail();
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OAuth token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ com.google.protobuf.ByteString getServiceAccountEmailBytes();
+
+ /**
+ *
+ *
+ *
+ * OAuth scope to be used for generating OAuth access token.
+ * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+ * will be used.
+ *
+ *
+ * string scope = 2;
+ */
+ java.lang.String getScope();
+ /**
+ *
+ *
+ *
+ * OAuth scope to be used for generating OAuth access token.
+ * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+ * will be used.
+ *
+ *
+ * string scope = 2;
+ */
+ com.google.protobuf.ByteString getScopeBytes();
+}
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java
new file mode 100644
index 000000000000..27d3642f29f0
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java
@@ -0,0 +1,793 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/scheduler/v1beta1/target.proto
+
+package com.google.cloud.scheduler.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Contains information needed for generating an
+ * [OpenID Connect
+ * token](https://developers.google.com/identity/protocols/OpenIDConnect). This
+ * type of authorization should be used when sending requests to third party
+ * endpoints.
+ *
+ *
+ * Protobuf type {@code google.cloud.scheduler.v1beta1.OidcToken}
+ */
+public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.OidcToken)
+ OidcTokenOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use OidcToken.newBuilder() to construct.
+ private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private OidcToken() {
+ serviceAccountEmail_ = "";
+ audience_ = "";
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private OidcToken(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ serviceAccountEmail_ = s;
+ break;
+ }
+ case 18:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ audience_ = s;
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.scheduler.v1beta1.TargetProto
+ .internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.scheduler.v1beta1.TargetProto
+ .internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.scheduler.v1beta1.OidcToken.class,
+ com.google.cloud.scheduler.v1beta1.OidcToken.Builder.class);
+ }
+
+ public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
+ private volatile java.lang.Object serviceAccountEmail_;
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OIDC token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ public java.lang.String getServiceAccountEmail() {
+ java.lang.Object ref = serviceAccountEmail_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ serviceAccountEmail_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OIDC token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
+ java.lang.Object ref = serviceAccountEmail_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ serviceAccountEmail_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int AUDIENCE_FIELD_NUMBER = 2;
+ private volatile java.lang.Object audience_;
+ /**
+ *
+ *
+ *
+ * Audience to be used when generating OIDC token. If not specified, the URI
+ * specified in target will be used.
+ *
+ *
+ * string audience = 2;
+ */
+ public java.lang.String getAudience() {
+ java.lang.Object ref = audience_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ audience_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Audience to be used when generating OIDC token. If not specified, the URI
+ * specified in target will be used.
+ *
+ *
+ * string audience = 2;
+ */
+ public com.google.protobuf.ByteString getAudienceBytes() {
+ java.lang.Object ref = audience_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ audience_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!getServiceAccountEmailBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_);
+ }
+ if (!getAudienceBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, audience_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getServiceAccountEmailBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceAccountEmail_);
+ }
+ if (!getAudienceBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, audience_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.scheduler.v1beta1.OidcToken)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.scheduler.v1beta1.OidcToken other =
+ (com.google.cloud.scheduler.v1beta1.OidcToken) obj;
+
+ if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false;
+ if (!getAudience().equals(other.getAudience())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER;
+ hash = (53 * hash) + getServiceAccountEmail().hashCode();
+ hash = (37 * hash) + AUDIENCE_FIELD_NUMBER;
+ hash = (53 * hash) + getAudience().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OidcToken parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OidcToken parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.OidcToken prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Contains information needed for generating an
+ * [OpenID Connect
+ * token](https://developers.google.com/identity/protocols/OpenIDConnect). This
+ * type of authorization should be used when sending requests to third party
+ * endpoints.
+ *
+ *
+ * Protobuf type {@code google.cloud.scheduler.v1beta1.OidcToken}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.OidcToken)
+ com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.scheduler.v1beta1.TargetProto
+ .internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.scheduler.v1beta1.TargetProto
+ .internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.scheduler.v1beta1.OidcToken.class,
+ com.google.cloud.scheduler.v1beta1.OidcToken.Builder.class);
+ }
+
+ // Construct using com.google.cloud.scheduler.v1beta1.OidcToken.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ serviceAccountEmail_ = "";
+
+ audience_ = "";
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.cloud.scheduler.v1beta1.TargetProto
+ .internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.scheduler.v1beta1.OidcToken getDefaultInstanceForType() {
+ return com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.cloud.scheduler.v1beta1.OidcToken build() {
+ com.google.cloud.scheduler.v1beta1.OidcToken result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.scheduler.v1beta1.OidcToken buildPartial() {
+ com.google.cloud.scheduler.v1beta1.OidcToken result =
+ new com.google.cloud.scheduler.v1beta1.OidcToken(this);
+ result.serviceAccountEmail_ = serviceAccountEmail_;
+ result.audience_ = audience_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.cloud.scheduler.v1beta1.OidcToken) {
+ return mergeFrom((com.google.cloud.scheduler.v1beta1.OidcToken) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.OidcToken other) {
+ if (other == com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance()) return this;
+ if (!other.getServiceAccountEmail().isEmpty()) {
+ serviceAccountEmail_ = other.serviceAccountEmail_;
+ onChanged();
+ }
+ if (!other.getAudience().isEmpty()) {
+ audience_ = other.audience_;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.cloud.scheduler.v1beta1.OidcToken parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.cloud.scheduler.v1beta1.OidcToken) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object serviceAccountEmail_ = "";
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OIDC token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ public java.lang.String getServiceAccountEmail() {
+ java.lang.Object ref = serviceAccountEmail_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ serviceAccountEmail_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OIDC token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
+ java.lang.Object ref = serviceAccountEmail_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ serviceAccountEmail_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OIDC token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ public Builder setServiceAccountEmail(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ serviceAccountEmail_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OIDC token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ public Builder clearServiceAccountEmail() {
+
+ serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OIDC token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ serviceAccountEmail_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object audience_ = "";
+ /**
+ *
+ *
+ *
+ * Audience to be used when generating OIDC token. If not specified, the URI
+ * specified in target will be used.
+ *
+ *
+ * string audience = 2;
+ */
+ public java.lang.String getAudience() {
+ java.lang.Object ref = audience_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ audience_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Audience to be used when generating OIDC token. If not specified, the URI
+ * specified in target will be used.
+ *
+ *
+ * string audience = 2;
+ */
+ public com.google.protobuf.ByteString getAudienceBytes() {
+ java.lang.Object ref = audience_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ audience_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Audience to be used when generating OIDC token. If not specified, the URI
+ * specified in target will be used.
+ *
+ *
+ * string audience = 2;
+ */
+ public Builder setAudience(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ audience_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Audience to be used when generating OIDC token. If not specified, the URI
+ * specified in target will be used.
+ *
+ *
+ * string audience = 2;
+ */
+ public Builder clearAudience() {
+
+ audience_ = getDefaultInstance().getAudience();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Audience to be used when generating OIDC token. If not specified, the URI
+ * specified in target will be used.
+ *
+ *
+ * string audience = 2;
+ */
+ public Builder setAudienceBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ audience_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.OidcToken)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.OidcToken)
+ private static final com.google.cloud.scheduler.v1beta1.OidcToken DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.OidcToken();
+ }
+
+ public static com.google.cloud.scheduler.v1beta1.OidcToken getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public OidcToken parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new OidcToken(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.cloud.scheduler.v1beta1.OidcToken getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java
new file mode 100644
index 000000000000..27bedf46d6bc
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java
@@ -0,0 +1,60 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/scheduler/v1beta1/target.proto
+
+package com.google.cloud.scheduler.v1beta1;
+
+public interface OidcTokenOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.OidcToken)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OIDC token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ java.lang.String getServiceAccountEmail();
+ /**
+ *
+ *
+ *
+ * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ * to be used for generating OIDC token.
+ * The service account must be within the same project as the job. The caller
+ * must have iam.serviceAccounts.actAs permission for the service account.
+ *
+ *
+ * string service_account_email = 1;
+ */
+ com.google.protobuf.ByteString getServiceAccountEmailBytes();
+
+ /**
+ *
+ *
+ *
+ * Audience to be used when generating OIDC token. If not specified, the URI
+ * specified in target will be used.
+ *
+ *
+ * string audience = 2;
+ */
+ java.lang.String getAudience();
+ /**
+ *
+ *
+ *
+ * Audience to be used when generating OIDC token. If not specified, the URI
+ * specified in target will be used.
+ *
+ *
+ * string audience = 2;
+ */
+ com.google.protobuf.ByteString getAudienceBytes();
+}
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java
index f6ba563ebb04..2afc48440294 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java
@@ -7,8 +7,7 @@
*
*
*
- * Request message for
- * [PauseJob][google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob].
+ * Request message for [PauseJob][google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.PauseJobRequest}
@@ -302,8 +301,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Request message for
- * [PauseJob][google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob].
+ * Request message for [PauseJob][google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.PauseJobRequest}
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java
index 081b54727588..52e9c7260f15 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java
@@ -7,8 +7,7 @@
*
*
*
- * Request message for
- * [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob].
+ * Request message for [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.ResumeJobRequest}
@@ -302,8 +301,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Request message for
- * [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob].
+ * Request message for [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.ResumeJobRequest}
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java
index b3ad5a9d5ea6..bbf4336943af 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java
@@ -10,8 +10,7 @@
* Settings that determine the retry behavior.
* By default, if a job does not complete successfully (meaning that
* an acknowledgement is not received from the handler, then it will be retried
- * with exponential backoff according to the settings in
- * [RetryConfig][google.cloud.scheduler.v1beta1.RetryConfig].
+ * with exponential backoff according to the settings in [RetryConfig][google.cloud.scheduler.v1beta1.RetryConfig].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.RetryConfig}
@@ -175,8 +174,8 @@ public int getRetryCount() {
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -192,8 +191,8 @@ public boolean hasMaxRetryDuration() {
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -211,8 +210,8 @@ public com.google.protobuf.Duration getMaxRetryDuration() {
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -325,24 +324,19 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
*
* The time between retries will double `max_doublings` times.
* A job's retry interval starts at
- * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration],
- * then doubles `max_doublings` times, then increases linearly, and finally
+ * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration], then doubles
+ * `max_doublings` times, then increases linearly, and finally
* retries retries at intervals of
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * up to [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
- * times.
- * For example, if
- * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration]
- * is 10s,
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * is 300s, and `max_doublings` is 3, then the a job will first be retried in
- * 10s. The retry interval will double three times, and then increase linearly
- * by 2^3 * 10s. Finally, the job will retry at intervals of
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * until the job has been attempted
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
- * times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s,
- * 300s, 300s, ....
+ * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] up to
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times.
+ * For example, if [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration] is
+ * 10s, [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] is 300s, and
+ * `max_doublings` is 3, then the a job will first be retried in 10s. The
+ * retry interval will double three times, and then increase linearly by
+ * 2^3 * 10s. Finally, the job will retry at intervals of
+ * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] until the job has
+ * been attempted [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times. Thus, the
+ * requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, ....
* The default value of this field is 5.
*
*
@@ -569,8 +563,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* Settings that determine the retry behavior.
* By default, if a job does not complete successfully (meaning that
* an acknowledgement is not received from the handler, then it will be retried
- * with exponential backoff according to the settings in
- * [RetryConfig][google.cloud.scheduler.v1beta1.RetryConfig].
+ * with exponential backoff according to the settings in [RetryConfig][google.cloud.scheduler.v1beta1.RetryConfig].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.RetryConfig}
@@ -859,8 +852,8 @@ public Builder clearRetryCount() {
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -876,8 +869,8 @@ public boolean hasMaxRetryDuration() {
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -899,8 +892,8 @@ public com.google.protobuf.Duration getMaxRetryDuration() {
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -926,8 +919,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -950,8 +943,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderF
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -981,8 +974,8 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -1006,8 +999,8 @@ public Builder clearMaxRetryDuration() {
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -1025,8 +1018,8 @@ public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -1048,8 +1041,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -1478,24 +1471,19 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
*
* The time between retries will double `max_doublings` times.
* A job's retry interval starts at
- * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration],
- * then doubles `max_doublings` times, then increases linearly, and finally
+ * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration], then doubles
+ * `max_doublings` times, then increases linearly, and finally
* retries retries at intervals of
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * up to [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
- * times.
- * For example, if
- * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration]
- * is 10s,
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * is 300s, and `max_doublings` is 3, then the a job will first be retried in
- * 10s. The retry interval will double three times, and then increase linearly
- * by 2^3 * 10s. Finally, the job will retry at intervals of
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * until the job has been attempted
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
- * times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s,
- * 300s, 300s, ....
+ * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] up to
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times.
+ * For example, if [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration] is
+ * 10s, [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] is 300s, and
+ * `max_doublings` is 3, then the a job will first be retried in 10s. The
+ * retry interval will double three times, and then increase linearly by
+ * 2^3 * 10s. Finally, the job will retry at intervals of
+ * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] until the job has
+ * been attempted [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times. Thus, the
+ * requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, ....
* The default value of this field is 5.
*
*
@@ -1510,24 +1498,19 @@ public int getMaxDoublings() {
*
* The time between retries will double `max_doublings` times.
* A job's retry interval starts at
- * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration],
- * then doubles `max_doublings` times, then increases linearly, and finally
+ * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration], then doubles
+ * `max_doublings` times, then increases linearly, and finally
* retries retries at intervals of
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * up to [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
- * times.
- * For example, if
- * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration]
- * is 10s,
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * is 300s, and `max_doublings` is 3, then the a job will first be retried in
- * 10s. The retry interval will double three times, and then increase linearly
- * by 2^3 * 10s. Finally, the job will retry at intervals of
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * until the job has been attempted
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
- * times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s,
- * 300s, 300s, ....
+ * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] up to
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times.
+ * For example, if [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration] is
+ * 10s, [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] is 300s, and
+ * `max_doublings` is 3, then the a job will first be retried in 10s. The
+ * retry interval will double three times, and then increase linearly by
+ * 2^3 * 10s. Finally, the job will retry at intervals of
+ * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] until the job has
+ * been attempted [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times. Thus, the
+ * requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, ....
* The default value of this field is 5.
*
*
@@ -1545,24 +1528,19 @@ public Builder setMaxDoublings(int value) {
*
* The time between retries will double `max_doublings` times.
* A job's retry interval starts at
- * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration],
- * then doubles `max_doublings` times, then increases linearly, and finally
+ * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration], then doubles
+ * `max_doublings` times, then increases linearly, and finally
* retries retries at intervals of
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * up to [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
- * times.
- * For example, if
- * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration]
- * is 10s,
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * is 300s, and `max_doublings` is 3, then the a job will first be retried in
- * 10s. The retry interval will double three times, and then increase linearly
- * by 2^3 * 10s. Finally, the job will retry at intervals of
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * until the job has been attempted
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
- * times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s,
- * 300s, 300s, ....
+ * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] up to
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times.
+ * For example, if [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration] is
+ * 10s, [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] is 300s, and
+ * `max_doublings` is 3, then the a job will first be retried in 10s. The
+ * retry interval will double three times, and then increase linearly by
+ * 2^3 * 10s. Finally, the job will retry at intervals of
+ * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] until the job has
+ * been attempted [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times. Thus, the
+ * requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, ....
* The default value of this field is 5.
*
*
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java
index 7c9ffe9b3128..e89e1af1ce24 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java
@@ -36,8 +36,8 @@ public interface RetryConfigOrBuilder
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -51,8 +51,8 @@ public interface RetryConfigOrBuilder
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -66,8 +66,8 @@ public interface RetryConfigOrBuilder
*
* The time limit for retrying a failed job, measured from time when an
* execution was first attempted. If specified with
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- * job will be retried until both limits are reached.
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ * limits are reached.
* The default value for max_retry_duration is zero, which means retry
* duration is unlimited.
*
@@ -156,24 +156,19 @@ public interface RetryConfigOrBuilder
*
* The time between retries will double `max_doublings` times.
* A job's retry interval starts at
- * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration],
- * then doubles `max_doublings` times, then increases linearly, and finally
+ * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration], then doubles
+ * `max_doublings` times, then increases linearly, and finally
* retries retries at intervals of
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * up to [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
- * times.
- * For example, if
- * [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration]
- * is 10s,
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * is 300s, and `max_doublings` is 3, then the a job will first be retried in
- * 10s. The retry interval will double three times, and then increase linearly
- * by 2^3 * 10s. Finally, the job will retry at intervals of
- * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- * until the job has been attempted
- * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
- * times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s,
- * 300s, 300s, ....
+ * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] up to
+ * [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times.
+ * For example, if [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration] is
+ * 10s, [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] is 300s, and
+ * `max_doublings` is 3, then the a job will first be retried in 10s. The
+ * retry interval will double three times, and then increase linearly by
+ * 2^3 * 10s. Finally, the job will retry at intervals of
+ * [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] until the job has
+ * been attempted [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times. Thus, the
+ * requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, ....
* The default value of this field is 5.
*
*
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java
index 992a365c68da..62a7cdf16e9b 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java
@@ -59,59 +59,60 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n3google/cloud/scheduler/v1beta1/cloudsc"
+ "heduler.proto\022\036google.cloud.scheduler.v1"
- + "beta1\032\034google/api/annotations.proto\032(goo"
- + "gle/cloud/scheduler/v1beta1/job.proto\032\033g"
- + "oogle/protobuf/empty.proto\032 google/proto"
- + "buf/field_mask.proto\"H\n\017ListJobsRequest\022"
- + "\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npa"
- + "ge_token\030\006 \001(\t\"^\n\020ListJobsResponse\0221\n\004jo"
- + "bs\030\001 \003(\0132#.google.cloud.scheduler.v1beta"
- + "1.Job\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\rGetJob"
- + "Request\022\014\n\004name\030\001 \001(\t\"T\n\020CreateJobReques"
- + "t\022\016\n\006parent\030\001 \001(\t\0220\n\003job\030\002 \001(\0132#.google."
- + "cloud.scheduler.v1beta1.Job\"u\n\020UpdateJob"
- + "Request\0220\n\003job\030\001 \001(\0132#.google.cloud.sche"
- + "duler.v1beta1.Job\022/\n\013update_mask\030\002 \001(\0132\032"
- + ".google.protobuf.FieldMask\" \n\020DeleteJobR"
- + "equest\022\014\n\004name\030\001 \001(\t\"\037\n\017PauseJobRequest\022"
- + "\014\n\004name\030\001 \001(\t\" \n\020ResumeJobRequest\022\014\n\004nam"
- + "e\030\001 \001(\t\"\035\n\rRunJobRequest\022\014\n\004name\030\001 \001(\t2\210"
- + "\n\n\016CloudScheduler\022\244\001\n\010ListJobs\022/.google."
- + "cloud.scheduler.v1beta1.ListJobsRequest\032"
- + "0.google.cloud.scheduler.v1beta1.ListJob"
- + "sResponse\"5\202\323\344\223\002/\022-/v1beta1/{parent=proj"
- + "ects/*/locations/*}/jobs\022\223\001\n\006GetJob\022-.go"
- + "ogle.cloud.scheduler.v1beta1.GetJobReque"
- + "st\032#.google.cloud.scheduler.v1beta1.Job\""
- + "5\202\323\344\223\002/\022-/v1beta1/{name=projects/*/locat"
- + "ions/*/jobs/*}\022\236\001\n\tCreateJob\0220.google.cl"
- + "oud.scheduler.v1beta1.CreateJobRequest\032#"
- + ".google.cloud.scheduler.v1beta1.Job\":\202\323\344"
- + "\223\0024\"-/v1beta1/{parent=projects/*/locatio"
- + "ns/*}/jobs:\003job\022\242\001\n\tUpdateJob\0220.google.c"
- + "loud.scheduler.v1beta1.UpdateJobRequest\032"
- + "#.google.cloud.scheduler.v1beta1.Job\">\202\323"
- + "\344\223\002821/v1beta1/{job.name=projects/*/loca"
- + "tions/*/jobs/*}:\003job\022\214\001\n\tDeleteJob\0220.goo"
- + "gle.cloud.scheduler.v1beta1.DeleteJobReq"
- + "uest\032\026.google.protobuf.Empty\"5\202\323\344\223\002/*-/v"
- + "1beta1/{name=projects/*/locations/*/jobs"
- + "/*}\022\240\001\n\010PauseJob\022/.google.cloud.schedule"
- + "r.v1beta1.PauseJobRequest\032#.google.cloud"
- + ".scheduler.v1beta1.Job\">\202\323\344\223\0028\"3/v1beta1"
- + "/{name=projects/*/locations/*/jobs/*}:pa"
- + "use:\001*\022\243\001\n\tResumeJob\0220.google.cloud.sche"
- + "duler.v1beta1.ResumeJobRequest\032#.google."
- + "cloud.scheduler.v1beta1.Job\"?\202\323\344\223\0029\"4/v1"
- + "beta1/{name=projects/*/locations/*/jobs/"
- + "*}:resume:\001*\022\232\001\n\006RunJob\022-.google.cloud.s"
- + "cheduler.v1beta1.RunJobRequest\032#.google."
- + "cloud.scheduler.v1beta1.Job\"<\202\323\344\223\0026\"1/v1"
- + "beta1/{name=projects/*/locations/*/jobs/"
- + "*}:run:\001*B\213\001\n\"com.google.cloud.scheduler"
- + ".v1beta1B\016SchedulerProtoP\001ZGgoogle.golan"
- + "g.org/genproto/googleapis/cloud/schedule"
- + "r/v1beta1;scheduler\242\002\tSCHEDULERb\006proto3"
+ + "beta1\032\034google/api/annotations.proto\032\031goo"
+ + "gle/api/resource.proto\032(google/cloud/sch"
+ + "eduler/v1beta1/job.proto\032\033google/protobu"
+ + "f/empty.proto\032 google/protobuf/field_mas"
+ + "k.proto\"H\n\017ListJobsRequest\022\016\n\006parent\030\001 \001"
+ + "(\t\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_token\030\006 \001("
+ + "\t\"^\n\020ListJobsResponse\0221\n\004jobs\030\001 \003(\0132#.go"
+ + "ogle.cloud.scheduler.v1beta1.Job\022\027\n\017next"
+ + "_page_token\030\002 \001(\t\"\035\n\rGetJobRequest\022\014\n\004na"
+ + "me\030\001 \001(\t\"T\n\020CreateJobRequest\022\016\n\006parent\030\001"
+ + " \001(\t\0220\n\003job\030\002 \001(\0132#.google.cloud.schedul"
+ + "er.v1beta1.Job\"u\n\020UpdateJobRequest\0220\n\003jo"
+ + "b\030\001 \001(\0132#.google.cloud.scheduler.v1beta1"
+ + ".Job\022/\n\013update_mask\030\002 \001(\0132\032.google.proto"
+ + "buf.FieldMask\" \n\020DeleteJobRequest\022\014\n\004nam"
+ + "e\030\001 \001(\t\"\037\n\017PauseJobRequest\022\014\n\004name\030\001 \001(\t"
+ + "\" \n\020ResumeJobRequest\022\014\n\004name\030\001 \001(\t\"\035\n\rRu"
+ + "nJobRequest\022\014\n\004name\030\001 \001(\t2\210\n\n\016CloudSched"
+ + "uler\022\244\001\n\010ListJobs\022/.google.cloud.schedul"
+ + "er.v1beta1.ListJobsRequest\0320.google.clou"
+ + "d.scheduler.v1beta1.ListJobsResponse\"5\202\323"
+ + "\344\223\002/\022-/v1beta1/{parent=projects/*/locati"
+ + "ons/*}/jobs\022\223\001\n\006GetJob\022-.google.cloud.sc"
+ + "heduler.v1beta1.GetJobRequest\032#.google.c"
+ + "loud.scheduler.v1beta1.Job\"5\202\323\344\223\002/\022-/v1b"
+ + "eta1/{name=projects/*/locations/*/jobs/*"
+ + "}\022\236\001\n\tCreateJob\0220.google.cloud.scheduler"
+ + ".v1beta1.CreateJobRequest\032#.google.cloud"
+ + ".scheduler.v1beta1.Job\":\202\323\344\223\0024\"-/v1beta1"
+ + "/{parent=projects/*/locations/*}/jobs:\003j"
+ + "ob\022\242\001\n\tUpdateJob\0220.google.cloud.schedule"
+ + "r.v1beta1.UpdateJobRequest\032#.google.clou"
+ + "d.scheduler.v1beta1.Job\">\202\323\344\223\002821/v1beta"
+ + "1/{job.name=projects/*/locations/*/jobs/"
+ + "*}:\003job\022\214\001\n\tDeleteJob\0220.google.cloud.sch"
+ + "eduler.v1beta1.DeleteJobRequest\032\026.google"
+ + ".protobuf.Empty\"5\202\323\344\223\002/*-/v1beta1/{name="
+ + "projects/*/locations/*/jobs/*}\022\240\001\n\010Pause"
+ + "Job\022/.google.cloud.scheduler.v1beta1.Pau"
+ + "seJobRequest\032#.google.cloud.scheduler.v1"
+ + "beta1.Job\">\202\323\344\223\0028\"3/v1beta1/{name=projec"
+ + "ts/*/locations/*/jobs/*}:pause:\001*\022\243\001\n\tRe"
+ + "sumeJob\0220.google.cloud.scheduler.v1beta1"
+ + ".ResumeJobRequest\032#.google.cloud.schedul"
+ + "er.v1beta1.Job\"?\202\323\344\223\0029\"4/v1beta1/{name=p"
+ + "rojects/*/locations/*/jobs/*}:resume:\001*\022"
+ + "\232\001\n\006RunJob\022-.google.cloud.scheduler.v1be"
+ + "ta1.RunJobRequest\032#.google.cloud.schedul"
+ + "er.v1beta1.Job\"<\202\323\344\223\0026\"1/v1beta1/{name=p"
+ + "rojects/*/locations/*/jobs/*}:run:\001*B\213\001\n"
+ + "\"com.google.cloud.scheduler.v1beta1B\016Sch"
+ + "edulerProtoP\001ZGgoogle.golang.org/genprot"
+ + "o/googleapis/cloud/scheduler/v1beta1;sch"
+ + "eduler\242\002\tSCHEDULERb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -125,6 +126,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.scheduler.v1beta1.JobProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
@@ -208,6 +210,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
+ com.google.api.ResourceProto.getDescriptor();
com.google.cloud.scheduler.v1beta1.JobProto.getDescriptor();
com.google.protobuf.EmptyProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java
index e006576d2ed0..6b742a50adaf 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java
@@ -40,6 +40,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -52,34 +60,41 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n+google/cloud/scheduler/v1beta1/target."
+ "proto\022\036google.cloud.scheduler.v1beta1\032\034g"
+ "oogle/api/annotations.proto\032\031google/prot"
- + "obuf/any.proto\"\342\001\n\nHttpTarget\022\013\n\003uri\030\001 \001"
+ + "obuf/any.proto\"\376\002\n\nHttpTarget\022\013\n\003uri\030\001 \001"
+ "(\t\022?\n\013http_method\030\002 \001(\0162*.google.cloud.s"
+ "cheduler.v1beta1.HttpMethod\022H\n\007headers\030\003"
+ " \003(\01327.google.cloud.scheduler.v1beta1.Ht"
- + "tpTarget.HeadersEntry\022\014\n\004body\030\004 \001(\014\032.\n\014H"
- + "eadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:"
- + "\0028\001\"\313\002\n\023AppEngineHttpTarget\022?\n\013http_meth"
- + "od\030\001 \001(\0162*.google.cloud.scheduler.v1beta"
- + "1.HttpMethod\022L\n\022app_engine_routing\030\002 \001(\013"
- + "20.google.cloud.scheduler.v1beta1.AppEng"
- + "ineRouting\022\024\n\014relative_uri\030\003 \001(\t\022Q\n\007head"
- + "ers\030\004 \003(\0132@.google.cloud.scheduler.v1bet"
- + "a1.AppEngineHttpTarget.HeadersEntry\022\014\n\004b"
- + "ody\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r"
- + "\n\005value\030\002 \001(\t:\0028\001\"\265\001\n\014PubsubTarget\022\022\n\nto"
- + "pic_name\030\001 \001(\t\022\014\n\004data\030\003 \001(\014\022P\n\nattribut"
- + "es\030\004 \003(\0132<.google.cloud.scheduler.v1beta"
- + "1.PubsubTarget.AttributesEntry\0321\n\017Attrib"
- + "utesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028"
- + "\001\"T\n\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017"
- + "\n\007version\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004hos"
- + "t\030\004 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNS"
- + "PECIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022"
- + "\007\n\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIO"
- + "NS\020\007B|\n\"com.google.cloud.scheduler.v1bet"
- + "a1B\013TargetProtoP\001ZGgoogle.golang.org/gen"
- + "proto/googleapis/cloud/scheduler/v1beta1"
- + ";schedulerb\006proto3"
+ + "tpTarget.HeadersEntry\022\014\n\004body\030\004 \001(\014\022A\n\013o"
+ + "auth_token\030\005 \001(\0132*.google.cloud.schedule"
+ + "r.v1beta1.OAuthTokenH\000\022?\n\noidc_token\030\006 \001"
+ + "(\0132).google.cloud.scheduler.v1beta1.Oidc"
+ + "TokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
+ + "value\030\002 \001(\t:\0028\001B\026\n\024authorization_header\""
+ + "\313\002\n\023AppEngineHttpTarget\022?\n\013http_method\030\001"
+ + " \001(\0162*.google.cloud.scheduler.v1beta1.Ht"
+ + "tpMethod\022L\n\022app_engine_routing\030\002 \001(\01320.g"
+ + "oogle.cloud.scheduler.v1beta1.AppEngineR"
+ + "outing\022\024\n\014relative_uri\030\003 \001(\t\022Q\n\007headers\030"
+ + "\004 \003(\0132@.google.cloud.scheduler.v1beta1.A"
+ + "ppEngineHttpTarget.HeadersEntry\022\014\n\004body\030"
+ + "\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va"
+ + "lue\030\002 \001(\t:\0028\001\"\265\001\n\014PubsubTarget\022\022\n\ntopic_"
+ + "name\030\001 \001(\t\022\014\n\004data\030\003 \001(\014\022P\n\nattributes\030\004"
+ + " \003(\0132<.google.cloud.scheduler.v1beta1.Pu"
+ + "bsubTarget.AttributesEntry\0321\n\017Attributes"
+ + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n"
+ + "\020AppEngineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007ve"
+ + "rsion\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 "
+ + "\001(\t\":\n\nOAuthToken\022\035\n\025service_account_ema"
+ + "il\030\001 \001(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025"
+ + "service_account_email\030\001 \001(\t\022\020\n\010audience\030"
+ + "\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPE"
+ + "CIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n"
+ + "\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS"
+ + "\020\007B|\n\"com.google.cloud.scheduler.v1beta1"
+ + "B\013TargetProtoP\001ZGgoogle.golang.org/genpr"
+ + "oto/googleapis/cloud/scheduler/v1beta1;s"
+ + "chedulerb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -102,7 +117,13 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor,
new java.lang.String[] {
- "Uri", "HttpMethod", "Headers", "Body",
+ "Uri",
+ "HttpMethod",
+ "Headers",
+ "Body",
+ "OauthToken",
+ "OidcToken",
+ "AuthorizationHeader",
});
internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor =
internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor
@@ -158,6 +179,22 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new java.lang.String[] {
"Service", "Version", "Instance", "Host",
});
+ internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor =
+ getDescriptor().getMessageTypes().get(4);
+ internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor,
+ new java.lang.String[] {
+ "ServiceAccountEmail", "Scope",
+ });
+ internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor =
+ getDescriptor().getMessageTypes().get(5);
+ internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor,
+ new java.lang.String[] {
+ "ServiceAccountEmail", "Audience",
+ });
com.google.api.AnnotationsProto.getDescriptor();
com.google.protobuf.AnyProto.getDescriptor();
}
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java
index c995c2db30d4..715ffd5e3730 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java
@@ -7,8 +7,7 @@
*
*
*
- * Request message for
- * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
+ * Request message for [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.UpdateJobRequest}
@@ -121,8 +120,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
@@ -137,8 +135,7 @@ public boolean hasJob() {
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
@@ -153,8 +150,7 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() {
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
@@ -386,8 +382,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Request message for
- * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
+ * Request message for [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
*
*
* Protobuf type {@code google.cloud.scheduler.v1beta1.UpdateJobRequest}
@@ -574,8 +569,7 @@ public Builder mergeFrom(
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
@@ -590,8 +584,7 @@ public boolean hasJob() {
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
@@ -610,8 +603,7 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() {
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
@@ -636,8 +628,7 @@ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job value) {
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
@@ -659,8 +650,7 @@ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job.Builder builderForV
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
@@ -689,8 +679,7 @@ public Builder mergeJob(com.google.cloud.scheduler.v1beta1.Job value) {
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
@@ -713,8 +702,7 @@ public Builder clearJob() {
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
@@ -731,8 +719,7 @@ public com.google.cloud.scheduler.v1beta1.Job.Builder getJobBuilder() {
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
@@ -751,8 +738,7 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() {
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java
index b011631295a5..484729d70e2a 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java
@@ -13,8 +13,7 @@ public interface UpdateJobRequestOrBuilder
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
@@ -27,8 +26,7 @@ public interface UpdateJobRequestOrBuilder
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
@@ -41,8 +39,7 @@ public interface UpdateJobRequestOrBuilder
*
*
* Required.
- * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- * must be specified.
+ * The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
* Output only fields cannot be modified using UpdateJob.
* Any value specified for an output only field will be ignored.
*
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto
index 637cc051ba49..4c1d9661839e 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto
@@ -1,4 +1,4 @@
-// Copyright 2018 Google LLC.
+// Copyright 2019 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18,6 +18,7 @@ syntax = "proto3";
package google.cloud.scheduler.v1beta1;
import "google/api/annotations.proto";
+import "google/api/resource.proto";
import "google/cloud/scheduler/v1beta1/job.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
@@ -55,14 +56,13 @@ service CloudScheduler {
// Updates a job.
//
- // If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is
- // returned. If the job does not exist, `NOT_FOUND` is returned.
+ // If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does
+ // not exist, `NOT_FOUND` is returned.
//
// If UpdateJob does not successfully return, it is possible for the
- // job to be in an
- // [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED]
- // state. A job in this state may not be executed. If this happens, retry the
- // UpdateJob request until a successful response is received.
+ // job to be in an [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED] state. A job in this state may
+ // not be executed. If this happens, retry the UpdateJob request
+ // until a successful response is received.
rpc UpdateJob(UpdateJobRequest) returns (Job) {
option (google.api.http) = {
patch: "/v1beta1/{job.name=projects/*/locations/*/jobs/*}"
@@ -80,14 +80,10 @@ service CloudScheduler {
// Pauses a job.
//
// If a job is paused then the system will stop executing the job
- // until it is re-enabled via
- // [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The
- // state of the job is stored in
- // [state][google.cloud.scheduler.v1beta1.Job.state]; if paused it will be set
- // to [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A
- // job must be in
- // [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED] to be
- // paused.
+ // until it is re-enabled via [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The
+ // state of the job is stored in [state][google.cloud.scheduler.v1beta1.Job.state]; if paused it
+ // will be set to [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A job must be in [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]
+ // to be paused.
rpc PauseJob(PauseJobRequest) returns (Job) {
option (google.api.http) = {
post: "/v1beta1/{name=projects/*/locations/*/jobs/*}:pause"
@@ -97,15 +93,10 @@ service CloudScheduler {
// Resume a job.
//
- // This method reenables a job after it has been
- // [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
- // state of a job is stored in
- // [Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this
- // method it will be set to
- // [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A
- // job must be in
- // [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be
- // resumed.
+ // This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
+ // state of a job is stored in [Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this method it
+ // will be set to [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A job must be in
+ // [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be resumed.
rpc ResumeJob(ResumeJobRequest) returns (Job) {
option (google.api.http) = {
post: "/v1beta1/{name=projects/*/locations/*/jobs/*}:resume"
@@ -125,8 +116,7 @@ service CloudScheduler {
}
}
-// Request message for listing jobs using
-// [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
+// Request message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
message ListJobsRequest {
// Required.
//
@@ -145,35 +135,29 @@ message ListJobsRequest {
// A token identifying a page of results the server will return. To
// request the first page results, page_token must be empty. To
// request the next page of results, page_token must be the value of
- // [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token]
- // returned from the previous call to
- // [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is
- // an error to switch the value of
- // [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
- // [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while
- // iterating through pages.
+ // [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token] returned from
+ // the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to
+ // switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
+ // [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages.
string page_token = 6;
}
-// Response message for listing jobs using
-// [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
+// Response message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
message ListJobsResponse {
// The list of jobs.
repeated Job jobs = 1;
// A token to retrieve next page of results. Pass this value in the
- // [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token]
- // field in the subsequent call to
- // [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to
- // retrieve the next page of results. If this is empty it indicates that there
- // are no more results through which to paginate.
+ // [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
+ // [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to retrieve the next page of results.
+ // If this is empty it indicates that there are no more results
+ // through which to paginate.
//
// The page token is valid for only 2 hours.
string next_page_token = 2;
}
-// Request message for
-// [GetJob][google.cloud.scheduler.v1beta1.CloudScheduler.GetJob].
+// Request message for [GetJob][google.cloud.scheduler.v1beta1.CloudScheduler.GetJob].
message GetJobRequest {
// Required.
//
@@ -182,8 +166,7 @@ message GetJobRequest {
string name = 1;
}
-// Request message for
-// [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob].
+// Request message for [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob].
message CreateJobRequest {
// Required.
//
@@ -194,21 +177,18 @@ message CreateJobRequest {
// Required.
//
// The job to add. The user can optionally specify a name for the
- // job in [name][google.cloud.scheduler.v1beta1.Job.name].
- // [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
+ // job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
// existing job. If a name is not specified then the system will
// generate a random unique name that will be returned
// ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
Job job = 2;
}
-// Request message for
-// [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
+// Request message for [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
message UpdateJobRequest {
// Required.
//
- // The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name]
- // must be specified.
+ // The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
//
// Output only fields cannot be modified using UpdateJob.
// Any value specified for an output only field will be ignored.
@@ -228,8 +208,7 @@ message DeleteJobRequest {
string name = 1;
}
-// Request message for
-// [PauseJob][google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob].
+// Request message for [PauseJob][google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob].
message PauseJobRequest {
// Required.
//
@@ -238,8 +217,7 @@ message PauseJobRequest {
string name = 1;
}
-// Request message for
-// [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob].
+// Request message for [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob].
message ResumeJobRequest {
// Required.
//
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto
index 753826a17878..ddf910b03384 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto
@@ -1,4 +1,4 @@
-// Copyright 2018 Google LLC.
+// Copyright 2019 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -18,6 +18,7 @@ syntax = "proto3";
package google.cloud.scheduler.v1beta1;
import "google/api/annotations.proto";
+import "google/api/resource.proto";
import "google/cloud/scheduler/v1beta1/target.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
@@ -48,14 +49,15 @@ message Job {
// cannot directly set a job to be disabled.
DISABLED = 3;
- // The job state resulting from a failed
- // [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]
+ // The job state resulting from a failed [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]
// operation. To recover a job from this state, retry
- // [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]
- // until a successful response is received.
+ // [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob] until a successful response is received.
UPDATE_FAILED = 4;
}
+ // Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
+ // which it becomes output only.
+ //
// The job name. For example:
// `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
//
@@ -72,6 +74,9 @@ message Job {
// hyphens (-), or underscores (_). The maximum length is 500 characters.
string name = 1;
+ // Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
+ // [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
+ //
// A human-readable description for the job. This string must not contain
// more than 500 characters.
string description = 2;
@@ -90,10 +95,16 @@ message Job {
HttpTarget http_target = 6;
}
- // Required.
+ // Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.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,
@@ -103,23 +114,15 @@ message Job {
// 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.v1beta1.RetryConfig.retry_count] >
- // 0 and a job attempt fails, the job will be tried a total of
- // [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
+ // If [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] > 0 and a job attempt fails,
+ // the job will be tried a total of [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
// times, with exponential backoff, until the next scheduled start
// time.
- //
- // 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)
string schedule = 20;
// Specifies the time zone to be used in interpreting
- // [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this
- // field must be a time zone name from the [tz
- // database](http://en.wikipedia.org/wiki/Tz_database).
+ // [schedule][google.cloud.scheduler.v1beta1.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
@@ -147,14 +150,27 @@ message Job {
// Settings that determine the retry behavior.
RetryConfig retry_config = 19;
+
+ // 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.v1beta1.RetryConfig].
+ //
+ // The allowed duration for this deadline is:
+ //
+ // * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes.
+ // * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15
+ // seconds and 24 hours.
+ // * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored.
+ google.protobuf.Duration attempt_deadline = 22;
}
// Settings that determine the retry behavior.
//
// By default, if a job does not complete successfully (meaning that
// an acknowledgement is not received from the handler, then it will be retried
-// with exponential backoff according to the settings in
-// [RetryConfig][google.cloud.scheduler.v1beta1.RetryConfig].
+// with exponential backoff according to the settings in [RetryConfig][google.cloud.scheduler.v1beta1.RetryConfig].
message RetryConfig {
// The number of attempts that the system will make to run a job using the
// exponential backoff procedure described by
@@ -176,8 +192,8 @@ message RetryConfig {
// The time limit for retrying a failed job, measured from time when an
// execution was first attempted. If specified with
- // [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the
- // job will be retried until both limits are reached.
+ // [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both
+ // limits are reached.
//
// The default value for max_retry_duration is zero, which means retry
// duration is unlimited.
@@ -198,25 +214,20 @@ message RetryConfig {
// The time between retries will double `max_doublings` times.
//
// A job's retry interval starts at
- // [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration],
- // then doubles `max_doublings` times, then increases linearly, and finally
+ // [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration], then doubles
+ // `max_doublings` times, then increases linearly, and finally
// retries retries at intervals of
- // [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- // up to [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
- // times.
- //
- // For example, if
- // [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration]
- // is 10s,
- // [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- // is 300s, and `max_doublings` is 3, then the a job will first be retried in
- // 10s. The retry interval will double three times, and then increase linearly
- // by 2^3 * 10s. Finally, the job will retry at intervals of
- // [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration]
- // until the job has been attempted
- // [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count]
- // times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s,
- // 300s, 300s, ....
+ // [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] up to
+ // [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times.
+ //
+ // For example, if [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration] is
+ // 10s, [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] is 300s, and
+ // `max_doublings` is 3, then the a job will first be retried in 10s. The
+ // retry interval will double three times, and then increase linearly by
+ // 2^3 * 10s. Finally, the job will retry at intervals of
+ // [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] until the job has
+ // been attempted [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times. Thus, the
+ // requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, ....
//
// The default value of this field is 5.
int32 max_doublings = 5;
diff --git a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto
index 009eaba38b84..3bb44a1fb85d 100644
--- a/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto
+++ b/google-api-grpc/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto
@@ -1,4 +1,4 @@
-// Copyright 2018 Google LLC.
+// Copyright 2019 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -26,9 +26,8 @@ option java_outer_classname = "TargetProto";
option java_package = "com.google.cloud.scheduler.v1beta1";
// Http target. The job will be pushed to the job handler by means of
-// an HTTP request via an
-// [http_method][google.cloud.scheduler.v1beta1.HttpTarget.http_method] such as
-// HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP
+// an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.HttpTarget.http_method] such as HTTP
+// POST, HTTP GET, etc. The job is acknowledged by means of an HTTP
// response code in the range [200 - 299]. A failure to receive a response
// constitutes a failed execution. For a redirected request, the response
// returned by the redirected request is considered.
@@ -67,17 +66,41 @@ message HttpTarget {
// method is POST, PUT, or PATCH. It is an error to set body on a job with an
// incompatible [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod].
bytes body = 4;
+
+ // The mode for generating an `Authorization` header for HTTP requests.
+ //
+ // If specified, all `Authorization` headers in the [HttpTarget.headers][google.cloud.scheduler.v1beta1.HttpTarget.headers]
+ // field will be overridden.
+ oneof authorization_header {
+ // If specified, an
+ // [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ // will be generated and attached as an `Authorization` header in the HTTP
+ // request.
+ //
+ // This type of authorization should be used when sending requests to a GCP
+ // endpoint.
+ OAuthToken oauth_token = 5;
+
+ // If specified, an
+ // [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ // token will be generated and attached as an `Authorization` header in the
+ // HTTP request.
+ //
+ // This type of authorization should be used when sending requests to third
+ // party endpoints.
+ OidcToken oidc_token = 6;
+ }
}
// App Engine target. The job will be pushed to a job handler by means
-// of an HTTP request via an
-// [http_method][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.http_method]
-// such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP
-// response code in the range [200 - 299]. Error 503 is considered an App Engine
-// system error instead of an application error. Requests returning error 503
-// will be retried regardless of retry configuration and not counted against
-// retry counts. Any other response code, or a failure to receive a response
-// before the deadline, constitutes a failed attempt.
+// of an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.http_method] such
+// as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an
+// HTTP response code in the range [200 - 299]. Error 503 is
+// considered an App Engine system error instead of an application
+// error. Requests returning error 503 will be retried regardless of
+// retry configuration and not counted against retry counts. Any other
+// response code, or a failure to receive a response before the
+// deadline, constitutes a failed attempt.
message AppEngineHttpTarget {
// The HTTP method to use for the request. PATCH and OPTIONS are not
// permitted.
@@ -106,10 +129,10 @@ message AppEngineHttpTarget {
// This header can be modified, but Cloud Scheduler will append
// `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
// modified `User-Agent`.
+ // * `X-CloudScheduler`: This header will be set to true.
//
- // If the job has an
- // [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud
- // Scheduler sets the following headers:
+ // If the job has an [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud Scheduler sets
+ // the following headers:
//
// * `Content-Type`: By default, the `Content-Type` header is set to
// `"application/octet-stream"`. The default can be overridden by explictly
@@ -122,22 +145,17 @@ message AppEngineHttpTarget {
// The headers below are output only. They cannot be set or overridden:
//
// * `X-Google-*`: For Google internal use only.
- // * `X-AppEngine-*`: For Google internal use only. See
- // [Reading request
- // headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers).
+ // * `X-AppEngine-*`: For Google internal use only.
//
// In addition, some App Engine headers, which contain
- // job-specific information, are also be sent to the job handler; see
- // [request
- // headers](https://cloud.google.com/appengine/docs/standard/python/config/cron#securing_urls_for_cron).
+ // job-specific information, are also be sent to the job handler.
map headers = 4;
// Body.
//
// HTTP request body. A request body is allowed only if the HTTP method is
// POST or PUT. It will result in invalid argument error to set a body on a
- // job with an incompatible
- // [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod].
+ // job with an incompatible [HttpMethod][google.cloud.scheduler.v1beta1.HttpMethod].
bytes body = 5;
}
@@ -228,51 +246,43 @@ message AppEngineRouting {
// example .appspot.com, which is associated with the
// job's project ID.
//
- // * `service =`
- // [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ // * `service =` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
//
- // * `version =`
- // [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ // * `version =` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
//
// * `version_dot_service =`
- // [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.'
- // +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ // [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
+ // [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
//
- // * `instance =`
- // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
+ // * `instance =` [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance]
//
// * `instance_dot_service =`
- // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- // '.' +` [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
+ // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ // [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
//
// * `instance_dot_version =`
- // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- // '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
+ // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ // [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
//
// * `instance_dot_version_dot_service =`
- // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+
- // '.' +` [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version]
- // `+ '.' +`
+ // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] `+ '.' +`
+ // [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] `+ '.' +`
// [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service]
//
//
- // If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is
- // empty, then the job will be sent to the service which is the default
- // service when the job is attempted.
+ // If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service] is empty, then the job will be sent
+ // to the service which is the default service when the job is attempted.
//
- // If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is
- // empty, then the job will be sent to the version which is the default
- // version when the job is attempted.
+ // If [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version] is empty, then the job will be sent
+ // to the version which is the default version when the job is attempted.
//
- // If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- // empty, then the job will be sent to an instance which is available when the
- // job is attempted.
+ // If [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is empty, then the job will be
+ // sent to an instance which is available when the job is attempted.
//
// If [service][google.cloud.scheduler.v1beta1.AppEngineRouting.service],
// [version][google.cloud.scheduler.v1beta1.AppEngineRouting.version], or
- // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is
- // invalid, then the job will be sent to the default version of the default
- // service when the job is attempted.
+ // [instance][google.cloud.scheduler.v1beta1.AppEngineRouting.instance] is invalid, then the job will be sent
+ // to the default version of the default service when the job is attempted.
string host = 4;
}
@@ -302,3 +312,37 @@ enum HttpMethod {
// HTTP OPTIONS
OPTIONS = 7;
}
+
+// Contains information needed for generating an
+// [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
+// This type of authorization should be used when sending requests to a GCP
+// endpoint.
+message OAuthToken {
+ // [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ // to be used for generating OAuth token.
+ // The service account must be within the same project as the job. The caller
+ // must have iam.serviceAccounts.actAs permission for the service account.
+ string service_account_email = 1;
+
+ // OAuth scope to be used for generating OAuth access token.
+ // If not specified, "https://www.googleapis.com/auth/cloud-platform"
+ // will be used.
+ string scope = 2;
+}
+
+// Contains information needed for generating an
+// [OpenID Connect
+// token](https://developers.google.com/identity/protocols/OpenIDConnect). This
+// type of authorization should be used when sending requests to third party
+// endpoints.
+message OidcToken {
+ // [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ // to be used for generating OIDC token.
+ // The service account must be within the same project as the job. The caller
+ // must have iam.serviceAccounts.actAs permission for the service account.
+ string service_account_email = 1;
+
+ // Audience to be used when generating OIDC token. If not specified, the URI
+ // specified in target will be used.
+ string audience = 2;
+}
diff --git a/google-cloud-clients/google-cloud-scheduler/synth.metadata b/google-cloud-clients/google-cloud-scheduler/synth.metadata
index 015f3535a3c3..bdd324bb0da9 100644
--- a/google-cloud-clients/google-cloud-scheduler/synth.metadata
+++ b/google-cloud-clients/google-cloud-scheduler/synth.metadata
@@ -1,19 +1,19 @@
{
- "updateTime": "2019-04-02T07:53:31.334419Z",
+ "updateTime": "2019-04-05T07:53:40.544143Z",
"sources": [
{
"generator": {
"name": "artman",
- "version": "0.16.22",
- "dockerImage": "googleapis/artman@sha256:e7f9554322a8aa1416c122c918fdc4cdec8cfe816f027fc948dec0be7edef320"
+ "version": "0.16.25",
+ "dockerImage": "googleapis/artman@sha256:d9597f983d1d4e61272c63cb97b7d8f8234da9999526c35d357de3d781f0ec1b"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "6c48ab5aef47dc14e02e2dc718d232a28067129d",
- "internalRef": "241437588"
+ "sha": "327ff9c09f4b2bcc9633f035a58ad348e45fb2a0",
+ "internalRef": "242045478"
}
}
],