diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsClient.java b/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsClient.java index 621b60bdfef2..8c42c2eded48 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsClient.java +++ b/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsClient.java @@ -217,7 +217,8 @@ public final OperationsClient getHttpJsonOperationsClient() { * } * * @param name Required. The full name of the Execution. Format: - * projects/{project}/locations/{location}/jobs/{job}/executions/{execution} + * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} + * can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Execution getExecution(ExecutionName name) { @@ -245,7 +246,8 @@ public final Execution getExecution(ExecutionName name) { * } * * @param name Required. The full name of the Execution. Format: - * projects/{project}/locations/{location}/jobs/{job}/executions/{execution} + * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} + * can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Execution getExecution(String name) { @@ -332,7 +334,8 @@ public final UnaryCallable getExecutionCallable( * * @param parent Required. The Execution from which the Executions should be listed. To list all * Executions across Jobs, use "-" instead of Job name. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListExecutionsPagedResponse listExecutions(JobName parent) { @@ -365,7 +368,8 @@ public final ListExecutionsPagedResponse listExecutions(JobName parent) { * * @param parent Required. The Execution from which the Executions should be listed. To list all * Executions across Jobs, use "-" instead of Job name. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListExecutionsPagedResponse listExecutions(String parent) { @@ -499,7 +503,8 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re * } * * @param name Required. The name of the Execution to delete. Format: - * projects/{project}/locations/{location}/jobs/{job}/executions/{execution} + * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} + * can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteExecutionAsync(ExecutionName name) { @@ -527,7 +532,8 @@ public final OperationFuture deleteExecutionAsync(Executio * } * * @param name Required. The name of the Execution to delete. Format: - * projects/{project}/locations/{location}/jobs/{job}/executions/{execution} + * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} + * can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteExecutionAsync(String name) { diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsClient.java b/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsClient.java index 3b39d826d2ae..3a615b546abd 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsClient.java +++ b/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsClient.java @@ -223,7 +223,7 @@ public final OperationsClient getHttpJsonOperationsClient() { * } * * @param parent Required. The location and project in which this Job should be created. Format: - * projects/{project}/locations/{location} + * projects/{project}/locations/{location}, where {project} can be project id or number. * @param job Required. The Job instance to create. * @param jobId Required. The unique identifier for the Job. The name of the job becomes * {parent}/jobs/{job_id}. @@ -261,7 +261,7 @@ public final OperationFuture createJobAsync( * } * * @param parent Required. The location and project in which this Job should be created. Format: - * projects/{project}/locations/{location} + * projects/{project}/locations/{location}, where {project} can be project id or number. * @param job Required. The Job instance to create. * @param jobId Required. The unique identifier for the Job. The name of the job becomes * {parent}/jobs/{job_id}. @@ -384,7 +384,8 @@ public final UnaryCallable createJobCallable() { * } * * @param name Required. The full name of the Job. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Job getJob(JobName name) { @@ -412,7 +413,8 @@ public final Job getJob(JobName name) { * } * * @param name Required. The full name of the Job. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Job getJob(String name) { @@ -496,7 +498,7 @@ public final UnaryCallable getJobCallable() { * } * * @param parent Required. The location and project to list resources on. Format: - * projects/{project}/locations/{location} + * projects/{project}/locations/{location}, where {project} can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListJobsPagedResponse listJobs(LocationName parent) { @@ -526,7 +528,7 @@ public final ListJobsPagedResponse listJobs(LocationName parent) { * } * * @param parent Required. The location and project to list resources on. Format: - * projects/{project}/locations/{location} + * projects/{project}/locations/{location}, where {project} can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListJobsPagedResponse listJobs(String parent) { @@ -772,7 +774,8 @@ public final UnaryCallable updateJobCallable() { * } * * @param name Required. The full name of the Job. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteJobAsync(JobName name) { @@ -800,7 +803,8 @@ public final OperationFuture deleteJobAsync(JobName name) { * } * * @param name Required. The full name of the Job. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteJobAsync(String name) { @@ -916,7 +920,8 @@ public final UnaryCallable deleteJobCallable() { * } * * @param name Required. The full name of the Job. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture runJobAsync(JobName name) { @@ -944,7 +949,8 @@ public final OperationFuture runJobAsync(JobName name) { * } * * @param name Required. The full name of the Job. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture runJobAsync(String name) { @@ -1043,7 +1049,7 @@ public final UnaryCallable runJobCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Get the IAM Access Control policy currently in effect for the given Job. This result does not + * Gets the IAM Access Control policy currently in effect for the given Job. This result does not * include any inherited policies. * *

Sample code: @@ -1073,7 +1079,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Get the IAM Access Control policy currently in effect for the given Job. This result does not + * Gets the IAM Access Control policy currently in effect for the given Job. This result does not * include any inherited policies. * *

Sample code: diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesClient.java b/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesClient.java index 9ecd1a1bc37f..ce91939d83ac 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesClient.java +++ b/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesClient.java @@ -224,11 +224,11 @@ public final OperationsClient getHttpJsonOperationsClient() { * } * * @param parent Required. The location and project in which this service should be created. - * Format: projects/{project}/locations/{location} Only lowercase characters, digits, and - * hyphens. + * Format: projects/{project}/locations/{location}, where {project} can be project id or + * number. Only lowercase characters, digits, and hyphens. * @param service Required. The Service instance to create. * @param serviceId Required. The unique identifier for the Service. It must begin with letter, - * and may not end with hyphen; must contain fewer than 50 characters. The name of the service + * and cannot end with hyphen; must contain fewer than 50 characters. The name of the service * becomes {parent}/services/{service_id}. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -264,11 +264,11 @@ public final OperationFuture createServiceAsync( * } * * @param parent Required. The location and project in which this service should be created. - * Format: projects/{project}/locations/{location} Only lowercase characters, digits, and - * hyphens. + * Format: projects/{project}/locations/{location}, where {project} can be project id or + * number. Only lowercase characters, digits, and hyphens. * @param service Required. The Service instance to create. * @param serviceId Required. The unique identifier for the Service. It must begin with letter, - * and may not end with hyphen; must contain fewer than 50 characters. The name of the service + * and cannot end with hyphen; must contain fewer than 50 characters. The name of the service * becomes {parent}/services/{service_id}. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -395,7 +395,8 @@ public final UnaryCallable createServiceCallabl * } * * @param name Required. The full name of the Service. Format: - * projects/{project}/locations/{location}/services/{service} + * projects/{project}/locations/{location}/services/{service}, where {project} can be project + * id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Service getService(ServiceName name) { @@ -423,7 +424,8 @@ public final Service getService(ServiceName name) { * } * * @param name Required. The full name of the Service. Format: - * projects/{project}/locations/{location}/services/{service} + * projects/{project}/locations/{location}/services/{service}, where {project} can be project + * id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Service getService(String name) { @@ -507,8 +509,8 @@ public final UnaryCallable getServiceCallable() { * } * * @param parent Required. The location and project to list resources on. Location must be a valid - * GCP region, and may not be the "-" wildcard. Format: - * projects/{project}/locations/{location} + * GCP region, and cannot be the "-" wildcard. Format: + * projects/{project}/locations/{location}, where {project} can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListServicesPagedResponse listServices(LocationName parent) { @@ -540,8 +542,8 @@ public final ListServicesPagedResponse listServices(LocationName parent) { * } * * @param parent Required. The location and project to list resources on. Location must be a valid - * GCP region, and may not be the "-" wildcard. Format: - * projects/{project}/locations/{location} + * GCP region, and cannot be the "-" wildcard. Format: + * projects/{project}/locations/{location}, where {project} can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListServicesPagedResponse listServices(String parent) { @@ -790,7 +792,8 @@ public final UnaryCallable updateServiceCallabl * } * * @param name Required. The full name of the Service. Format: - * projects/{project}/locations/{location}/services/{service} + * projects/{project}/locations/{location}/services/{service}, where {project} can be project + * id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteServiceAsync(ServiceName name) { @@ -819,7 +822,8 @@ public final OperationFuture deleteServiceAsync(ServiceName na * } * * @param name Required. The full name of the Service. Format: - * projects/{project}/locations/{location}/services/{service} + * projects/{project}/locations/{location}/services/{service}, where {project} can be project + * id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteServiceAsync(String name) { diff --git a/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobsGrpc.java b/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobsGrpc.java index 9a063c6e1e50..63eb36aac989 100644 --- a/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobsGrpc.java +++ b/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobsGrpc.java @@ -523,7 +523,7 @@ public void runJob( * * *

-     * Get the IAM Access Control policy currently in effect for the given Job.
+     * Gets the IAM Access Control policy currently in effect for the given Job.
      * This result does not include any inherited policies.
      * 
*/ @@ -732,7 +732,7 @@ public void runJob( * * *
-     * Get the IAM Access Control policy currently in effect for the given Job.
+     * Gets the IAM Access Control policy currently in effect for the given Job.
      * This result does not include any inherited policies.
      * 
*/ @@ -879,7 +879,7 @@ public com.google.longrunning.Operation runJob(com.google.cloud.run.v2.RunJobReq * * *
-     * Get the IAM Access Control policy currently in effect for the given Job.
+     * Gets the IAM Access Control policy currently in effect for the given Job.
      * This result does not include any inherited policies.
      * 
*/ @@ -1016,7 +1016,7 @@ public com.google.common.util.concurrent.ListenableFuture - * Get the IAM Access Control policy currently in effect for the given Job. + * Gets the IAM Access Control policy currently in effect for the given Job. * This result does not include any inherited policies. * */ diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequest.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequest.java index 60fc6a38bd5b..6f88b4bcca11 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequest.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequest.java @@ -75,7 +75,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The location and project in which this Job should be created.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* * @@ -101,7 +102,8 @@ public java.lang.String getParent() { * *
    * Required. The location and project in which this Job should be created.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* * @@ -650,7 +652,8 @@ public Builder mergeFrom( * *
      * Required. The location and project in which this Job should be created.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * @@ -675,7 +678,8 @@ public java.lang.String getParent() { * *
      * Required. The location and project in which this Job should be created.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * @@ -700,7 +704,8 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The location and project in which this Job should be created.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * @@ -724,7 +729,8 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The location and project in which this Job should be created.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * @@ -744,7 +750,8 @@ public Builder clearParent() { * *
      * Required. The location and project in which this Job should be created.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequestOrBuilder.java index 5632468e5076..0d1de62750e4 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequestOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequestOrBuilder.java @@ -28,7 +28,8 @@ public interface CreateJobRequestOrBuilder * *
    * Required. The location and project in which this Job should be created.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* * @@ -43,7 +44,8 @@ public interface CreateJobRequestOrBuilder * *
    * Required. The location and project in which this Job should be created.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequest.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequest.java index c5fa22173f41..eef6bde30912 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequest.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequest.java @@ -75,8 +75,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The location and project in which this service should be created.
-   * Format: projects/{project}/locations/{location}
-   * Only lowercase characters, digits, and hyphens.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number. Only lowercase characters, digits, and hyphens.
    * 
* * @@ -102,8 +102,8 @@ public java.lang.String getParent() { * *
    * Required. The location and project in which this service should be created.
-   * Format: projects/{project}/locations/{location}
-   * Only lowercase characters, digits, and hyphens.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number. Only lowercase characters, digits, and hyphens.
    * 
* * @@ -181,7 +181,7 @@ public com.google.cloud.run.v2.ServiceOrBuilder getServiceOrBuilder() { * *
    * Required. The unique identifier for the Service. It must begin with letter,
-   * and may not end with hyphen; must contain fewer than 50 characters.
+   * and cannot end with hyphen; must contain fewer than 50 characters.
    * The name of the service becomes {parent}/services/{service_id}.
    * 
* @@ -206,7 +206,7 @@ public java.lang.String getServiceId() { * *
    * Required. The unique identifier for the Service. It must begin with letter,
-   * and may not end with hyphen; must contain fewer than 50 characters.
+   * and cannot end with hyphen; must contain fewer than 50 characters.
    * The name of the service becomes {parent}/services/{service_id}.
    * 
* @@ -658,8 +658,8 @@ public Builder mergeFrom( * *
      * Required. The location and project in which this service should be created.
-     * Format: projects/{project}/locations/{location}
-     * Only lowercase characters, digits, and hyphens.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number. Only lowercase characters, digits, and hyphens.
      * 
* * @@ -684,8 +684,8 @@ public java.lang.String getParent() { * *
      * Required. The location and project in which this service should be created.
-     * Format: projects/{project}/locations/{location}
-     * Only lowercase characters, digits, and hyphens.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number. Only lowercase characters, digits, and hyphens.
      * 
* * @@ -710,8 +710,8 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The location and project in which this service should be created.
-     * Format: projects/{project}/locations/{location}
-     * Only lowercase characters, digits, and hyphens.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number. Only lowercase characters, digits, and hyphens.
      * 
* * @@ -735,8 +735,8 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The location and project in which this service should be created.
-     * Format: projects/{project}/locations/{location}
-     * Only lowercase characters, digits, and hyphens.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number. Only lowercase characters, digits, and hyphens.
      * 
* * @@ -756,8 +756,8 @@ public Builder clearParent() { * *
      * Required. The location and project in which this service should be created.
-     * Format: projects/{project}/locations/{location}
-     * Only lowercase characters, digits, and hyphens.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number. Only lowercase characters, digits, and hyphens.
      * 
* * @@ -972,7 +972,7 @@ public com.google.cloud.run.v2.ServiceOrBuilder getServiceOrBuilder() { * *
      * Required. The unique identifier for the Service. It must begin with letter,
-     * and may not end with hyphen; must contain fewer than 50 characters.
+     * and cannot end with hyphen; must contain fewer than 50 characters.
      * The name of the service becomes {parent}/services/{service_id}.
      * 
* @@ -996,7 +996,7 @@ public java.lang.String getServiceId() { * *
      * Required. The unique identifier for the Service. It must begin with letter,
-     * and may not end with hyphen; must contain fewer than 50 characters.
+     * and cannot end with hyphen; must contain fewer than 50 characters.
      * The name of the service becomes {parent}/services/{service_id}.
      * 
* @@ -1020,7 +1020,7 @@ public com.google.protobuf.ByteString getServiceIdBytes() { * *
      * Required. The unique identifier for the Service. It must begin with letter,
-     * and may not end with hyphen; must contain fewer than 50 characters.
+     * and cannot end with hyphen; must contain fewer than 50 characters.
      * The name of the service becomes {parent}/services/{service_id}.
      * 
* @@ -1043,7 +1043,7 @@ public Builder setServiceId(java.lang.String value) { * *
      * Required. The unique identifier for the Service. It must begin with letter,
-     * and may not end with hyphen; must contain fewer than 50 characters.
+     * and cannot end with hyphen; must contain fewer than 50 characters.
      * The name of the service becomes {parent}/services/{service_id}.
      * 
* @@ -1062,7 +1062,7 @@ public Builder clearServiceId() { * *
      * Required. The unique identifier for the Service. It must begin with letter,
-     * and may not end with hyphen; must contain fewer than 50 characters.
+     * and cannot end with hyphen; must contain fewer than 50 characters.
      * The name of the service becomes {parent}/services/{service_id}.
      * 
* diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequestOrBuilder.java index 6b8f4a596f42..759acf19aee5 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequestOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequestOrBuilder.java @@ -28,8 +28,8 @@ public interface CreateServiceRequestOrBuilder * *
    * Required. The location and project in which this service should be created.
-   * Format: projects/{project}/locations/{location}
-   * Only lowercase characters, digits, and hyphens.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number. Only lowercase characters, digits, and hyphens.
    * 
* * @@ -44,8 +44,8 @@ public interface CreateServiceRequestOrBuilder * *
    * Required. The location and project in which this service should be created.
-   * Format: projects/{project}/locations/{location}
-   * Only lowercase characters, digits, and hyphens.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number. Only lowercase characters, digits, and hyphens.
    * 
* * @@ -99,7 +99,7 @@ public interface CreateServiceRequestOrBuilder * *
    * Required. The unique identifier for the Service. It must begin with letter,
-   * and may not end with hyphen; must contain fewer than 50 characters.
+   * and cannot end with hyphen; must contain fewer than 50 characters.
    * The name of the service becomes {parent}/services/{service_id}.
    * 
* @@ -113,7 +113,7 @@ public interface CreateServiceRequestOrBuilder * *
    * Required. The unique identifier for the Service. It must begin with letter,
-   * and may not end with hyphen; must contain fewer than 50 characters.
+   * and cannot end with hyphen; must contain fewer than 50 characters.
    * The name of the service becomes {parent}/services/{service_id}.
    * 
* diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequest.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequest.java index 330d7c46fbe6..89ddaa8a11ed 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequest.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequest.java @@ -76,7 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The name of the Execution to delete.
    * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
    * 
* * @@ -103,7 +104,8 @@ public java.lang.String getName() { *
    * Required. The name of the Execution to delete.
    * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
    * 
* * @@ -574,7 +576,8 @@ public Builder mergeFrom( *
      * Required. The name of the Execution to delete.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* * @@ -600,7 +603,8 @@ public java.lang.String getName() { *
      * Required. The name of the Execution to delete.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* * @@ -626,7 +630,8 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The name of the Execution to delete.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* * @@ -651,7 +656,8 @@ public Builder setName(java.lang.String value) { *
      * Required. The name of the Execution to delete.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* * @@ -672,7 +678,8 @@ public Builder clearName() { *
      * Required. The name of the Execution to delete.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequestOrBuilder.java index fe261de25f32..dbd6bd5784db 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequestOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequestOrBuilder.java @@ -29,7 +29,8 @@ public interface DeleteExecutionRequestOrBuilder *
    * Required. The name of the Execution to delete.
    * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
    * 
* * @@ -45,7 +46,8 @@ public interface DeleteExecutionRequestOrBuilder *
    * Required. The name of the Execution to delete.
    * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
    * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequest.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequest.java index d5b667c41a1c..a0f5ed05bc08 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequest.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequest.java @@ -75,7 +75,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * @@ -101,7 +102,8 @@ public java.lang.String getName() { * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * @@ -570,7 +572,8 @@ public Builder mergeFrom( * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -595,7 +598,8 @@ public java.lang.String getName() { * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -620,7 +624,8 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -644,7 +649,8 @@ public Builder setName(java.lang.String value) { * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -664,7 +670,8 @@ public Builder clearName() { * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequestOrBuilder.java index 138c20f5521a..333695608706 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequestOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequestOrBuilder.java @@ -28,7 +28,8 @@ public interface DeleteJobRequestOrBuilder * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * @@ -43,7 +44,8 @@ public interface DeleteJobRequestOrBuilder * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequest.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequest.java index baf300c1d23c..9bae1a274ce0 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequest.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequest.java @@ -75,7 +75,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
    * 
* * @@ -101,7 +102,8 @@ public java.lang.String getName() { * *
    * Required. The full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
    * 
* * @@ -571,7 +573,8 @@ public Builder mergeFrom( * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* * @@ -596,7 +599,8 @@ public java.lang.String getName() { * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* * @@ -621,7 +625,8 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* * @@ -645,7 +650,8 @@ public Builder setName(java.lang.String value) { * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* * @@ -665,7 +671,8 @@ public Builder clearName() { * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequestOrBuilder.java index d9b925eb2bcf..1c30d50a79cc 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequestOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequestOrBuilder.java @@ -28,7 +28,8 @@ public interface DeleteServiceRequestOrBuilder * *
    * Required. The full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
    * 
* * @@ -43,7 +44,8 @@ public interface DeleteServiceRequestOrBuilder * *
    * Required. The full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
    * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Execution.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Execution.java index 100f3473e774..7cdbb8c91a1e 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Execution.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Execution.java @@ -142,9 +142,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Output only. Server assigned unique identifier for the Execution. The value
-   * is a UUID4 string and guaranteed to remain unchanged until the resource is
-   * deleted.
+   * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+   * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -167,9 +166,8 @@ public java.lang.String getUid() { * * *
-   * Output only. Server assigned unique identifier for the Execution. The value
-   * is a UUID4 string and guaranteed to remain unchanged until the resource is
-   * deleted.
+   * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+   * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -444,9 +442,9 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { * * *
-   * Output only. Represents time when the execution was acknowledged by the
-   * execution controller. It is not guaranteed to be set in happens-before
-   * order across separate operations.
+   * Output only. Represents time when the execution was acknowledged by the execution
+   * controller. It is not guaranteed to be set in happens-before order across
+   * separate operations.
    * 
* * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -462,9 +460,9 @@ public boolean hasCreateTime() { * * *
-   * Output only. Represents time when the execution was acknowledged by the
-   * execution controller. It is not guaranteed to be set in happens-before
-   * order across separate operations.
+   * Output only. Represents time when the execution was acknowledged by the execution
+   * controller. It is not guaranteed to be set in happens-before order across
+   * separate operations.
    * 
* * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -480,9 +478,9 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-   * Output only. Represents time when the execution was acknowledged by the
-   * execution controller. It is not guaranteed to be set in happens-before
-   * order across separate operations.
+   * Output only. Represents time when the execution was acknowledged by the execution
+   * controller. It is not guaranteed to be set in happens-before order across
+   * separate operations.
    * 
* * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -554,8 +552,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * *
-   * Output only. Represents time when the execution was completed. It is not
-   * guaranteed to be set in happens-before order across separate operations.
+   * Output only. Represents time when the execution was completed. It is not guaranteed to
+   * be set in happens-before order across separate operations.
    * 
* * @@ -572,8 +570,8 @@ public boolean hasCompletionTime() { * * *
-   * Output only. Represents time when the execution was completed. It is not
-   * guaranteed to be set in happens-before order across separate operations.
+   * Output only. Represents time when the execution was completed. It is not guaranteed to
+   * be set in happens-before order across separate operations.
    * 
* * @@ -592,8 +590,8 @@ public com.google.protobuf.Timestamp getCompletionTime() { * * *
-   * Output only. Represents time when the execution was completed. It is not
-   * guaranteed to be set in happens-before order across separate operations.
+   * Output only. Represents time when the execution was completed. It is not guaranteed to
+   * be set in happens-before order across separate operations.
    * 
* * @@ -861,8 +859,8 @@ public com.google.protobuf.ByteString getJobBytes() { * * *
-   * Output only. Specifies the maximum desired number of tasks the execution
-   * should run at any given time. Must be <= task_count. The actual number of
+   * Output only. Specifies the maximum desired number of tasks the execution should
+   * run at any given time. Must be <= task_count. The actual number of
    * tasks running in steady state will be less than this number when
    * ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when
    * the work left to do is less than max parallelism. More info:
@@ -884,8 +882,8 @@ public int getParallelism() {
    *
    *
    * 
-   * Output only. Specifies the desired number of tasks the execution should
-   * run. Setting to 1 means that parallelism is limited to 1 and the success of
+   * Output only. Specifies the desired number of tasks the execution should run.
+   * Setting to 1 means that parallelism is limited to 1 and the success of
    * that task signals the success of the execution.
    * More info:
    * https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
@@ -960,8 +958,8 @@ public com.google.cloud.run.v2.TaskTemplateOrBuilder getTemplateOrBuilder() {
    *
    *
    * 
-   * Output only. Indicates whether the resource's reconciliation is still in
-   * progress. See comments in `Job.reconciling` for additional information on
+   * Output only. Indicates whether the resource's reconciliation is still in progress.
+   * See comments in `Job.reconciling` for additional information on
    * reconciliation process in Cloud Run.
    * 
* @@ -980,9 +978,8 @@ public boolean getReconciling() { * * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* * @@ -997,9 +994,8 @@ public java.util.List getConditionsList() { * * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* * @@ -1015,9 +1011,8 @@ public java.util.List getConditionsList() { * * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* * @@ -1032,9 +1027,8 @@ public int getConditionsCount() { * * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* * @@ -1049,9 +1043,8 @@ public com.google.cloud.run.v2.Condition getConditions(int index) { * * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* * @@ -1069,9 +1062,8 @@ public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int ind * * *
-   * Output only. The generation of this Execution. See comments in
-   * `reconciling` for additional information on reconciliation process in Cloud
-   * Run.
+   * Output only. The generation of this Execution. See comments in `reconciling` for
+   * additional information on reconciliation process in Cloud Run.
    * 
* * int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2278,9 +2270,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. Server assigned unique identifier for the Execution. The value
-     * is a UUID4 string and guaranteed to remain unchanged until the resource is
-     * deleted.
+     * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+     * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2302,9 +2293,8 @@ public java.lang.String getUid() { * * *
-     * Output only. Server assigned unique identifier for the Execution. The value
-     * is a UUID4 string and guaranteed to remain unchanged until the resource is
-     * deleted.
+     * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+     * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2326,9 +2316,8 @@ public com.google.protobuf.ByteString getUidBytes() { * * *
-     * Output only. Server assigned unique identifier for the Execution. The value
-     * is a UUID4 string and guaranteed to remain unchanged until the resource is
-     * deleted.
+     * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+     * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2349,9 +2338,8 @@ public Builder setUid(java.lang.String value) { * * *
-     * Output only. Server assigned unique identifier for the Execution. The value
-     * is a UUID4 string and guaranteed to remain unchanged until the resource is
-     * deleted.
+     * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+     * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2368,9 +2356,8 @@ public Builder clearUid() { * * *
-     * Output only. Server assigned unique identifier for the Execution. The value
-     * is a UUID4 string and guaranteed to remain unchanged until the resource is
-     * deleted.
+     * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+     * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2829,9 +2816,9 @@ public Builder putAllAnnotations(java.util.Map - * Output only. Represents time when the execution was acknowledged by the - * execution controller. It is not guaranteed to be set in happens-before - * order across separate operations. + * Output only. Represents time when the execution was acknowledged by the execution + * controller. It is not guaranteed to be set in happens-before order across + * separate operations. *
* * @@ -2847,9 +2834,9 @@ public boolean hasCreateTime() { * * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* * @@ -2871,9 +2858,9 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* * @@ -2897,9 +2884,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* * @@ -2920,9 +2907,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* * @@ -2948,9 +2935,9 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* * @@ -2972,9 +2959,9 @@ public Builder clearCreateTime() { * * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* * @@ -2990,9 +2977,9 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* * @@ -3012,9 +2999,9 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* * @@ -3263,8 +3250,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* * @@ -3280,8 +3267,8 @@ public boolean hasCompletionTime() { * * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* * @@ -3303,8 +3290,8 @@ public com.google.protobuf.Timestamp getCompletionTime() { * * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* * @@ -3328,8 +3315,8 @@ public Builder setCompletionTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* * @@ -3350,8 +3337,8 @@ public Builder setCompletionTime(com.google.protobuf.Timestamp.Builder builderFo * * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* * @@ -3379,8 +3366,8 @@ public Builder mergeCompletionTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* * @@ -3402,8 +3389,8 @@ public Builder clearCompletionTime() { * * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* * @@ -3419,8 +3406,8 @@ public com.google.protobuf.Timestamp.Builder getCompletionTimeBuilder() { * * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* * @@ -3440,8 +3427,8 @@ public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder() { * * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* * @@ -4321,8 +4308,8 @@ public Builder setJobBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. Specifies the maximum desired number of tasks the execution
-     * should run at any given time. Must be <= task_count. The actual number of
+     * Output only. Specifies the maximum desired number of tasks the execution should
+     * run at any given time. Must be <= task_count. The actual number of
      * tasks running in steady state will be less than this number when
      * ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when
      * the work left to do is less than max parallelism. More info:
@@ -4341,8 +4328,8 @@ public int getParallelism() {
      *
      *
      * 
-     * Output only. Specifies the maximum desired number of tasks the execution
-     * should run at any given time. Must be <= task_count. The actual number of
+     * Output only. Specifies the maximum desired number of tasks the execution should
+     * run at any given time. Must be <= task_count. The actual number of
      * tasks running in steady state will be less than this number when
      * ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when
      * the work left to do is less than max parallelism. More info:
@@ -4364,8 +4351,8 @@ public Builder setParallelism(int value) {
      *
      *
      * 
-     * Output only. Specifies the maximum desired number of tasks the execution
-     * should run at any given time. Must be <= task_count. The actual number of
+     * Output only. Specifies the maximum desired number of tasks the execution should
+     * run at any given time. Must be <= task_count. The actual number of
      * tasks running in steady state will be less than this number when
      * ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when
      * the work left to do is less than max parallelism. More info:
@@ -4388,8 +4375,8 @@ public Builder clearParallelism() {
      *
      *
      * 
-     * Output only. Specifies the desired number of tasks the execution should
-     * run. Setting to 1 means that parallelism is limited to 1 and the success of
+     * Output only. Specifies the desired number of tasks the execution should run.
+     * Setting to 1 means that parallelism is limited to 1 and the success of
      * that task signals the success of the execution.
      * More info:
      * https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
@@ -4407,8 +4394,8 @@ public int getTaskCount() {
      *
      *
      * 
-     * Output only. Specifies the desired number of tasks the execution should
-     * run. Setting to 1 means that parallelism is limited to 1 and the success of
+     * Output only. Specifies the desired number of tasks the execution should run.
+     * Setting to 1 means that parallelism is limited to 1 and the success of
      * that task signals the success of the execution.
      * More info:
      * https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
@@ -4429,8 +4416,8 @@ public Builder setTaskCount(int value) {
      *
      *
      * 
-     * Output only. Specifies the desired number of tasks the execution should
-     * run. Setting to 1 means that parallelism is limited to 1 and the success of
+     * Output only. Specifies the desired number of tasks the execution should run.
+     * Setting to 1 means that parallelism is limited to 1 and the success of
      * that task signals the success of the execution.
      * More info:
      * https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
@@ -4655,8 +4642,8 @@ public com.google.cloud.run.v2.TaskTemplateOrBuilder getTemplateOrBuilder() {
      *
      *
      * 
-     * Output only. Indicates whether the resource's reconciliation is still in
-     * progress. See comments in `Job.reconciling` for additional information on
+     * Output only. Indicates whether the resource's reconciliation is still in progress.
+     * See comments in `Job.reconciling` for additional information on
      * reconciliation process in Cloud Run.
      * 
* @@ -4672,8 +4659,8 @@ public boolean getReconciling() { * * *
-     * Output only. Indicates whether the resource's reconciliation is still in
-     * progress. See comments in `Job.reconciling` for additional information on
+     * Output only. Indicates whether the resource's reconciliation is still in progress.
+     * See comments in `Job.reconciling` for additional information on
      * reconciliation process in Cloud Run.
      * 
* @@ -4692,8 +4679,8 @@ public Builder setReconciling(boolean value) { * * *
-     * Output only. Indicates whether the resource's reconciliation is still in
-     * progress. See comments in `Job.reconciling` for additional information on
+     * Output only. Indicates whether the resource's reconciliation is still in progress.
+     * See comments in `Job.reconciling` for additional information on
      * reconciliation process in Cloud Run.
      * 
* @@ -4728,9 +4715,8 @@ private void ensureConditionsIsMutable() { * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -4748,9 +4734,8 @@ public java.util.List getConditionsList() { * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -4768,9 +4753,8 @@ public int getConditionsCount() { * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -4788,9 +4772,8 @@ public com.google.cloud.run.v2.Condition getConditions(int index) { * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -4814,9 +4797,8 @@ public Builder setConditions(int index, com.google.cloud.run.v2.Condition value) * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -4838,9 +4820,8 @@ public Builder setConditions( * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -4864,9 +4845,8 @@ public Builder addConditions(com.google.cloud.run.v2.Condition value) { * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -4890,9 +4870,8 @@ public Builder addConditions(int index, com.google.cloud.run.v2.Condition value) * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -4913,9 +4892,8 @@ public Builder addConditions(com.google.cloud.run.v2.Condition.Builder builderFo * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -4937,9 +4915,8 @@ public Builder addConditions( * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -4961,9 +4938,8 @@ public Builder addAllConditions( * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -4984,9 +4960,8 @@ public Builder clearConditions() { * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -5007,9 +4982,8 @@ public Builder removeConditions(int index) { * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -5023,9 +4997,8 @@ public com.google.cloud.run.v2.Condition.Builder getConditionsBuilder(int index) * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -5043,9 +5016,8 @@ public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int ind * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -5064,9 +5036,8 @@ public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int ind * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -5081,9 +5052,8 @@ public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder() { * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -5098,9 +5068,8 @@ public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder(int index) * * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* * @@ -5133,9 +5102,8 @@ public java.util.List getConditionsBu * * *
-     * Output only. The generation of this Execution. See comments in
-     * `reconciling` for additional information on reconciliation process in Cloud
-     * Run.
+     * Output only. The generation of this Execution. See comments in `reconciling` for
+     * additional information on reconciliation process in Cloud Run.
      * 
* * int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -5150,9 +5118,8 @@ public long getObservedGeneration() { * * *
-     * Output only. The generation of this Execution. See comments in
-     * `reconciling` for additional information on reconciliation process in Cloud
-     * Run.
+     * Output only. The generation of this Execution. See comments in `reconciling` for
+     * additional information on reconciliation process in Cloud Run.
      * 
* * int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -5170,9 +5137,8 @@ public Builder setObservedGeneration(long value) { * * *
-     * Output only. The generation of this Execution. See comments in
-     * `reconciling` for additional information on reconciliation process in Cloud
-     * Run.
+     * Output only. The generation of this Execution. See comments in `reconciling` for
+     * additional information on reconciliation process in Cloud Run.
      * 
* * int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionOrBuilder.java index 1523d7e9308a..2f4dea8fa6f0 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionOrBuilder.java @@ -52,9 +52,8 @@ public interface ExecutionOrBuilder * * *
-   * Output only. Server assigned unique identifier for the Execution. The value
-   * is a UUID4 string and guaranteed to remain unchanged until the resource is
-   * deleted.
+   * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+   * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -66,9 +65,8 @@ public interface ExecutionOrBuilder * * *
-   * Output only. Server assigned unique identifier for the Execution. The value
-   * is a UUID4 string and guaranteed to remain unchanged until the resource is
-   * deleted.
+   * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+   * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -253,9 +251,9 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Output only. Represents time when the execution was acknowledged by the
-   * execution controller. It is not guaranteed to be set in happens-before
-   * order across separate operations.
+   * Output only. Represents time when the execution was acknowledged by the execution
+   * controller. It is not guaranteed to be set in happens-before order across
+   * separate operations.
    * 
* * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -268,9 +266,9 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Output only. Represents time when the execution was acknowledged by the
-   * execution controller. It is not guaranteed to be set in happens-before
-   * order across separate operations.
+   * Output only. Represents time when the execution was acknowledged by the execution
+   * controller. It is not guaranteed to be set in happens-before order across
+   * separate operations.
    * 
* * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -283,9 +281,9 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Output only. Represents time when the execution was acknowledged by the
-   * execution controller. It is not guaranteed to be set in happens-before
-   * order across separate operations.
+   * Output only. Represents time when the execution was acknowledged by the execution
+   * controller. It is not guaranteed to be set in happens-before order across
+   * separate operations.
    * 
* * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -341,8 +339,8 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Output only. Represents time when the execution was completed. It is not
-   * guaranteed to be set in happens-before order across separate operations.
+   * Output only. Represents time when the execution was completed. It is not guaranteed to
+   * be set in happens-before order across separate operations.
    * 
* * @@ -356,8 +354,8 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Output only. Represents time when the execution was completed. It is not
-   * guaranteed to be set in happens-before order across separate operations.
+   * Output only. Represents time when the execution was completed. It is not guaranteed to
+   * be set in happens-before order across separate operations.
    * 
* * @@ -371,8 +369,8 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Output only. Represents time when the execution was completed. It is not
-   * guaranteed to be set in happens-before order across separate operations.
+   * Output only. Represents time when the execution was completed. It is not guaranteed to
+   * be set in happens-before order across separate operations.
    * 
* * @@ -568,8 +566,8 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Output only. Specifies the maximum desired number of tasks the execution
-   * should run at any given time. Must be <= task_count. The actual number of
+   * Output only. Specifies the maximum desired number of tasks the execution should
+   * run at any given time. Must be <= task_count. The actual number of
    * tasks running in steady state will be less than this number when
    * ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when
    * the work left to do is less than max parallelism. More info:
@@ -586,8 +584,8 @@ java.lang.String getAnnotationsOrDefault(
    *
    *
    * 
-   * Output only. Specifies the desired number of tasks the execution should
-   * run. Setting to 1 means that parallelism is limited to 1 and the success of
+   * Output only. Specifies the desired number of tasks the execution should run.
+   * Setting to 1 means that parallelism is limited to 1 and the success of
    * that task signals the success of the execution.
    * More info:
    * https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
@@ -644,8 +642,8 @@ java.lang.String getAnnotationsOrDefault(
    *
    *
    * 
-   * Output only. Indicates whether the resource's reconciliation is still in
-   * progress. See comments in `Job.reconciling` for additional information on
+   * Output only. Indicates whether the resource's reconciliation is still in progress.
+   * See comments in `Job.reconciling` for additional information on
    * reconciliation process in Cloud Run.
    * 
* @@ -659,9 +657,8 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* * @@ -673,9 +670,8 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* * @@ -687,9 +683,8 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* * @@ -701,9 +696,8 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* * @@ -715,9 +709,8 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* * @@ -730,9 +723,8 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Output only. The generation of this Execution. See comments in
-   * `reconciling` for additional information on reconciliation process in Cloud
-   * Run.
+   * Output only. The generation of this Execution. See comments in `reconciling` for
+   * additional information on reconciliation process in Cloud Run.
    * 
* * int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GRPCAction.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GRPCAction.java new file mode 100644 index 000000000000..325d7d3fa9f0 --- /dev/null +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GRPCAction.java @@ -0,0 +1,720 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/k8s.min.proto + +package com.google.cloud.run.v2; + +/** + * + * + *
+ * GRPCAction describes an action involving a GRPC port.
+ * 
+ * + * Protobuf type {@code google.cloud.run.v2.GRPCAction} + */ +public final class GRPCAction extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.run.v2.GRPCAction) + GRPCActionOrBuilder { + private static final long serialVersionUID = 0L; + // Use GRPCAction.newBuilder() to construct. + private GRPCAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GRPCAction() { + service_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GRPCAction(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto + .internal_static_google_cloud_run_v2_GRPCAction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.run.v2.K8sMinProto + .internal_static_google_cloud_run_v2_GRPCAction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.run.v2.GRPCAction.class, + com.google.cloud.run.v2.GRPCAction.Builder.class); + } + + public static final int PORT_FIELD_NUMBER = 1; + private int port_; + /** + * + * + *
+   * Port number of the gRPC service. Number must be in the range 1 to 65535.
+   * If not specified, defaults to 8080.
+   * 
+ * + * int32 port = 1; + * + * @return The port. + */ + @java.lang.Override + public int getPort() { + return port_; + } + + public static final int SERVICE_FIELD_NUMBER = 2; + private volatile java.lang.Object service_; + /** + * + * + *
+   * Service is the name of the service to place in the gRPC HealthCheckRequest
+   * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+   * this is not specified, the default behavior is defined by gRPC.
+   * 
+ * + * string service = 2; + * + * @return The service. + */ + @java.lang.Override + public java.lang.String getService() { + java.lang.Object ref = service_; + 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(); + service_ = s; + return s; + } + } + /** + * + * + *
+   * Service is the name of the service to place in the gRPC HealthCheckRequest
+   * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+   * this is not specified, the default behavior is defined by gRPC.
+   * 
+ * + * string service = 2; + * + * @return The bytes for service. + */ + @java.lang.Override + public com.google.protobuf.ByteString getServiceBytes() { + java.lang.Object ref = service_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + service_ = 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 (port_ != 0) { + output.writeInt32(1, port_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, service_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (port_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, port_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, service_); + } + size += getUnknownFields().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.run.v2.GRPCAction)) { + return super.equals(obj); + } + com.google.cloud.run.v2.GRPCAction other = (com.google.cloud.run.v2.GRPCAction) obj; + + if (getPort() != other.getPort()) return false; + if (!getService().equals(other.getService())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) 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) + PORT_FIELD_NUMBER; + hash = (53 * hash) + getPort(); + hash = (37 * hash) + SERVICE_FIELD_NUMBER; + hash = (53 * hash) + getService().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.run.v2.GRPCAction parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.run.v2.GRPCAction 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.run.v2.GRPCAction parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.run.v2.GRPCAction 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.run.v2.GRPCAction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.run.v2.GRPCAction parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.run.v2.GRPCAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.run.v2.GRPCAction 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.run.v2.GRPCAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.run.v2.GRPCAction 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.run.v2.GRPCAction parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.run.v2.GRPCAction 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.run.v2.GRPCAction 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; + } + /** + * + * + *
+   * GRPCAction describes an action involving a GRPC port.
+   * 
+ * + * Protobuf type {@code google.cloud.run.v2.GRPCAction} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.run.v2.GRPCAction) + com.google.cloud.run.v2.GRPCActionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto + .internal_static_google_cloud_run_v2_GRPCAction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.run.v2.K8sMinProto + .internal_static_google_cloud_run_v2_GRPCAction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.run.v2.GRPCAction.class, + com.google.cloud.run.v2.GRPCAction.Builder.class); + } + + // Construct using com.google.cloud.run.v2.GRPCAction.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + port_ = 0; + + service_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.run.v2.K8sMinProto + .internal_static_google_cloud_run_v2_GRPCAction_descriptor; + } + + @java.lang.Override + public com.google.cloud.run.v2.GRPCAction getDefaultInstanceForType() { + return com.google.cloud.run.v2.GRPCAction.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.run.v2.GRPCAction build() { + com.google.cloud.run.v2.GRPCAction result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.run.v2.GRPCAction buildPartial() { + com.google.cloud.run.v2.GRPCAction result = new com.google.cloud.run.v2.GRPCAction(this); + result.port_ = port_; + result.service_ = service_; + 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.run.v2.GRPCAction) { + return mergeFrom((com.google.cloud.run.v2.GRPCAction) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.run.v2.GRPCAction other) { + if (other == com.google.cloud.run.v2.GRPCAction.getDefaultInstance()) return this; + if (other.getPort() != 0) { + setPort(other.getPort()); + } + if (!other.getService().isEmpty()) { + service_ = other.service_; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + 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 { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + port_ = input.readInt32(); + + break; + } // case 8 + case 18: + { + service_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int port_; + /** + * + * + *
+     * Port number of the gRPC service. Number must be in the range 1 to 65535.
+     * If not specified, defaults to 8080.
+     * 
+ * + * int32 port = 1; + * + * @return The port. + */ + @java.lang.Override + public int getPort() { + return port_; + } + /** + * + * + *
+     * Port number of the gRPC service. Number must be in the range 1 to 65535.
+     * If not specified, defaults to 8080.
+     * 
+ * + * int32 port = 1; + * + * @param value The port to set. + * @return This builder for chaining. + */ + public Builder setPort(int value) { + + port_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Port number of the gRPC service. Number must be in the range 1 to 65535.
+     * If not specified, defaults to 8080.
+     * 
+ * + * int32 port = 1; + * + * @return This builder for chaining. + */ + public Builder clearPort() { + + port_ = 0; + onChanged(); + return this; + } + + private java.lang.Object service_ = ""; + /** + * + * + *
+     * Service is the name of the service to place in the gRPC HealthCheckRequest
+     * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+     * this is not specified, the default behavior is defined by gRPC.
+     * 
+ * + * string service = 2; + * + * @return The service. + */ + public java.lang.String getService() { + java.lang.Object ref = service_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + service_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Service is the name of the service to place in the gRPC HealthCheckRequest
+     * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+     * this is not specified, the default behavior is defined by gRPC.
+     * 
+ * + * string service = 2; + * + * @return The bytes for service. + */ + public com.google.protobuf.ByteString getServiceBytes() { + java.lang.Object ref = service_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + service_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Service is the name of the service to place in the gRPC HealthCheckRequest
+     * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+     * this is not specified, the default behavior is defined by gRPC.
+     * 
+ * + * string service = 2; + * + * @param value The service to set. + * @return This builder for chaining. + */ + public Builder setService(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + service_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Service is the name of the service to place in the gRPC HealthCheckRequest
+     * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+     * this is not specified, the default behavior is defined by gRPC.
+     * 
+ * + * string service = 2; + * + * @return This builder for chaining. + */ + public Builder clearService() { + + service_ = getDefaultInstance().getService(); + onChanged(); + return this; + } + /** + * + * + *
+     * Service is the name of the service to place in the gRPC HealthCheckRequest
+     * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+     * this is not specified, the default behavior is defined by gRPC.
+     * 
+ * + * string service = 2; + * + * @param value The bytes for service to set. + * @return This builder for chaining. + */ + public Builder setServiceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + service_ = 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.run.v2.GRPCAction) + } + + // @@protoc_insertion_point(class_scope:google.cloud.run.v2.GRPCAction) + private static final com.google.cloud.run.v2.GRPCAction DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.run.v2.GRPCAction(); + } + + public static com.google.cloud.run.v2.GRPCAction getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GRPCAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + 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.run.v2.GRPCAction getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GRPCActionOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GRPCActionOrBuilder.java new file mode 100644 index 000000000000..1fdb47b2f4a3 --- /dev/null +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GRPCActionOrBuilder.java @@ -0,0 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/k8s.min.proto + +package com.google.cloud.run.v2; + +public interface GRPCActionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GRPCAction) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Port number of the gRPC service. Number must be in the range 1 to 65535.
+   * If not specified, defaults to 8080.
+   * 
+ * + * int32 port = 1; + * + * @return The port. + */ + int getPort(); + + /** + * + * + *
+   * Service is the name of the service to place in the gRPC HealthCheckRequest
+   * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+   * this is not specified, the default behavior is defined by gRPC.
+   * 
+ * + * string service = 2; + * + * @return The service. + */ + java.lang.String getService(); + /** + * + * + *
+   * Service is the name of the service to place in the gRPC HealthCheckRequest
+   * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+   * this is not specified, the default behavior is defined by gRPC.
+   * 
+ * + * string service = 2; + * + * @return The bytes for service. + */ + com.google.protobuf.ByteString getServiceBytes(); +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequest.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequest.java index bc809c1d7aa0..33b2f2b6b474 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequest.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequest.java @@ -75,7 +75,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The full name of the Execution.
    * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
    * 
* * @@ -102,7 +103,8 @@ public java.lang.String getName() { *
    * Required. The full name of the Execution.
    * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
    * 
* * @@ -460,7 +462,8 @@ public Builder mergeFrom( *
      * Required. The full name of the Execution.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* * @@ -486,7 +489,8 @@ public java.lang.String getName() { *
      * Required. The full name of the Execution.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* * @@ -512,7 +516,8 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The full name of the Execution.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* * @@ -537,7 +542,8 @@ public Builder setName(java.lang.String value) { *
      * Required. The full name of the Execution.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* * @@ -558,7 +564,8 @@ public Builder clearName() { *
      * Required. The full name of the Execution.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequestOrBuilder.java index ced215d3f290..2880c5e2f385 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequestOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequestOrBuilder.java @@ -29,7 +29,8 @@ public interface GetExecutionRequestOrBuilder *
    * Required. The full name of the Execution.
    * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
    * 
* * @@ -45,7 +46,8 @@ public interface GetExecutionRequestOrBuilder *
    * Required. The full name of the Execution.
    * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
    * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequest.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequest.java index c82537e8e8c5..e26ad8270d77 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequest.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequest.java @@ -74,7 +74,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * @@ -100,7 +101,8 @@ public java.lang.String getName() { * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * @@ -455,7 +457,8 @@ public Builder mergeFrom( * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -480,7 +483,8 @@ public java.lang.String getName() { * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -505,7 +509,8 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -529,7 +534,8 @@ public Builder setName(java.lang.String value) { * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -549,7 +555,8 @@ public Builder clearName() { * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequestOrBuilder.java index 78d2469ac30d..8eec86d8704f 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequestOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequestOrBuilder.java @@ -28,7 +28,8 @@ public interface GetJobRequestOrBuilder * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * @@ -43,7 +44,8 @@ public interface GetJobRequestOrBuilder * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequest.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequest.java index 86bb5c6ee107..4e9f6daee58e 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequest.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequest.java @@ -74,7 +74,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
    * 
* * @@ -100,7 +101,8 @@ public java.lang.String getName() { * *
    * Required. The full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
    * 
* * @@ -457,7 +459,8 @@ public Builder mergeFrom( * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* * @@ -482,7 +485,8 @@ public java.lang.String getName() { * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* * @@ -507,7 +511,8 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* * @@ -531,7 +536,8 @@ public Builder setName(java.lang.String value) { * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* * @@ -551,7 +557,8 @@ public Builder clearName() { * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequestOrBuilder.java index 86a7618df64f..8b07337380c5 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequestOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequestOrBuilder.java @@ -28,7 +28,8 @@ public interface GetServiceRequestOrBuilder * *
    * Required. The full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
    * 
* * @@ -43,7 +44,8 @@ public interface GetServiceRequestOrBuilder * *
    * Required. The full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
    * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java index 18a11fdfc40c..4a3d8572d471 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java @@ -91,6 +91,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_run_v2_TCPSocketAction_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_run_v2_TCPSocketAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_GRPCAction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_GRPCAction_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -138,30 +142,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".v2.VersionToPath\022\024\n\014default_mode\030\003 \001(\005\"" + "A\n\rVersionToPath\022\021\n\004path\030\001 \001(\tB\003\340A\002\022\017\n\007v" + "ersion\030\002 \001(\t\022\014\n\004mode\030\003 \001(\005\"%\n\020CloudSqlIn" - + "stance\022\021\n\tinstances\030\001 \003(\t\"\364\001\n\005Probe\022\035\n\025i" + + "stance\022\021\n\tinstances\030\001 \003(\t\"\245\002\n\005Probe\022\035\n\025i" + "nitial_delay_seconds\030\001 \001(\005\022\027\n\017timeout_se" + "conds\030\002 \001(\005\022\026\n\016period_seconds\030\003 \001(\005\022\031\n\021f" + "ailure_threshold\030\004 \001(\005\0226\n\010http_get\030\005 \001(\013" + "2\".google.cloud.run.v2.HTTPGetActionH\000\022:" + "\n\ntcp_socket\030\006 \001(\0132$.google.cloud.run.v2" - + ".TCPSocketActionH\000B\014\n\nprobe_type\"T\n\rHTTP" - + "GetAction\022\014\n\004path\030\001 \001(\t\0225\n\014http_headers\030" - + "\004 \003(\0132\037.google.cloud.run.v2.HTTPHeader\"." - + "\n\nHTTPHeader\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\r\n\005value" - + "\030\002 \001(\t\"\037\n\017TCPSocketAction\022\014\n\004port\030\001 \001(\005B" - + "\366\003\n\027com.google.cloud.run.v2B\013K8sMinProto" - + "P\001Z6google.golang.org/genproto/googleapi" - + "s/cloud/run/v2;run\352Ax\n!cloudkms.googleap" - + "is.com/CryptoKey\022Sprojects/{project}/loc" - + "ations/{location}/keyRings/{key_ring}/cr" - + "yptoKeys/{crypto_key}\352AJ\n#secretmanager." - + "googleapis.com/Secret\022#projects/{project" - + "}/secrets/{secret}\352Ad\n*secretmanager.goo" - + "gleapis.com/SecretVersion\0226projects/{pro" - + "ject}/secrets/{secret}/versions/{version" - + "}\352Ad\n\"vpcaccess.googleapis.com/Connector" - + "\022>projects/{project}/locations/{location" - + "}/connectors/{connector}b\006proto3" + + ".TCPSocketActionH\000\022/\n\004grpc\030\007 \001(\0132\037.googl" + + "e.cloud.run.v2.GRPCActionH\000B\014\n\nprobe_typ" + + "e\"T\n\rHTTPGetAction\022\014\n\004path\030\001 \001(\t\0225\n\014http" + + "_headers\030\004 \003(\0132\037.google.cloud.run.v2.HTT" + + "PHeader\".\n\nHTTPHeader\022\021\n\004name\030\001 \001(\tB\003\340A\002" + + "\022\r\n\005value\030\002 \001(\t\"\037\n\017TCPSocketAction\022\014\n\004po" + + "rt\030\001 \001(\005\"+\n\nGRPCAction\022\014\n\004port\030\001 \001(\005\022\017\n\007" + + "service\030\002 \001(\tB\366\003\n\027com.google.cloud.run.v" + + "2B\013K8sMinProtoP\001Z6google.golang.org/genp" + + "roto/googleapis/cloud/run/v2;run\352Ax\n!clo" + + "udkms.googleapis.com/CryptoKey\022Sprojects" + + "/{project}/locations/{location}/keyRings" + + "/{key_ring}/cryptoKeys/{crypto_key}\352AJ\n#" + + "secretmanager.googleapis.com/Secret\022#pro" + + "jects/{project}/secrets/{secret}\352Ad\n*sec" + + "retmanager.googleapis.com/SecretVersion\022" + + "6projects/{project}/secrets/{secret}/ver" + + "sions/{version}\352Ad\n\"vpcaccess.googleapis" + + ".com/Connector\022>projects/{project}/locat" + + "ions/{location}/connectors/{connector}b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -288,6 +295,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FailureThreshold", "HttpGet", "TcpSocket", + "Grpc", "ProbeType", }); internal_static_google_cloud_run_v2_HTTPGetAction_descriptor = @@ -314,6 +322,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Port", }); + internal_static_google_cloud_run_v2_GRPCAction_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_run_v2_GRPCAction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_GRPCAction_descriptor, + new java.lang.String[] { + "Port", "Service", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequest.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequest.java index 208a4a70c96d..f7ed7c974302 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequest.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequest.java @@ -76,7 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The Execution from which the Executions should be listed.
    * To list all Executions across Jobs, use "-" instead of Job name.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * @@ -103,7 +104,8 @@ public java.lang.String getParent() { *
    * Required. The Execution from which the Executions should be listed.
    * To list all Executions across Jobs, use "-" instead of Job name.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * @@ -612,7 +614,8 @@ public Builder mergeFrom( *
      * Required. The Execution from which the Executions should be listed.
      * To list all Executions across Jobs, use "-" instead of Job name.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -638,7 +641,8 @@ public java.lang.String getParent() { *
      * Required. The Execution from which the Executions should be listed.
      * To list all Executions across Jobs, use "-" instead of Job name.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -664,7 +668,8 @@ public com.google.protobuf.ByteString getParentBytes() { *
      * Required. The Execution from which the Executions should be listed.
      * To list all Executions across Jobs, use "-" instead of Job name.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -689,7 +694,8 @@ public Builder setParent(java.lang.String value) { *
      * Required. The Execution from which the Executions should be listed.
      * To list all Executions across Jobs, use "-" instead of Job name.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -710,7 +716,8 @@ public Builder clearParent() { *
      * Required. The Execution from which the Executions should be listed.
      * To list all Executions across Jobs, use "-" instead of Job name.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequestOrBuilder.java index 813d80c54f02..0a882f98a3da 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequestOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequestOrBuilder.java @@ -29,7 +29,8 @@ public interface ListExecutionsRequestOrBuilder *
    * Required. The Execution from which the Executions should be listed.
    * To list all Executions across Jobs, use "-" instead of Job name.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * @@ -45,7 +46,8 @@ public interface ListExecutionsRequestOrBuilder *
    * Required. The Execution from which the Executions should be listed.
    * To list all Executions across Jobs, use "-" instead of Job name.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequest.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequest.java index 5e31540f8410..c66732af97a4 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequest.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequest.java @@ -75,7 +75,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The location and project to list resources on.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* * @@ -101,7 +102,8 @@ public java.lang.String getParent() { * *
    * Required. The location and project to list resources on.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* * @@ -608,7 +610,8 @@ public Builder mergeFrom( * *
      * Required. The location and project to list resources on.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * @@ -633,7 +636,8 @@ public java.lang.String getParent() { * *
      * Required. The location and project to list resources on.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * @@ -658,7 +662,8 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The location and project to list resources on.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * @@ -682,7 +687,8 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The location and project to list resources on.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * @@ -702,7 +708,8 @@ public Builder clearParent() { * *
      * Required. The location and project to list resources on.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequestOrBuilder.java index f0c11bcabdec..0d464b8b7bbd 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequestOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequestOrBuilder.java @@ -28,7 +28,8 @@ public interface ListJobsRequestOrBuilder * *
    * Required. The location and project to list resources on.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* * @@ -43,7 +44,8 @@ public interface ListJobsRequestOrBuilder * *
    * Required. The location and project to list resources on.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequest.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequest.java index 4f0bdf7fc1a0..3498beb4cb7f 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequest.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequest.java @@ -75,8 +75,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The location and project to list resources on.
-   * Location must be a valid GCP region, and may not be the "-" wildcard.
-   * Format: projects/{project}/locations/{location}
+   * Location must be a valid GCP region, and cannot be the "-" wildcard.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* * @@ -102,8 +103,9 @@ public java.lang.String getParent() { * *
    * Required. The location and project to list resources on.
-   * Location must be a valid GCP region, and may not be the "-" wildcard.
-   * Format: projects/{project}/locations/{location}
+   * Location must be a valid GCP region, and cannot be the "-" wildcard.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* * @@ -611,8 +613,9 @@ public Builder mergeFrom( * *
      * Required. The location and project to list resources on.
-     * Location must be a valid GCP region, and may not be the "-" wildcard.
-     * Format: projects/{project}/locations/{location}
+     * Location must be a valid GCP region, and cannot be the "-" wildcard.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * @@ -637,8 +640,9 @@ public java.lang.String getParent() { * *
      * Required. The location and project to list resources on.
-     * Location must be a valid GCP region, and may not be the "-" wildcard.
-     * Format: projects/{project}/locations/{location}
+     * Location must be a valid GCP region, and cannot be the "-" wildcard.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * @@ -663,8 +667,9 @@ public com.google.protobuf.ByteString getParentBytes() { * *
      * Required. The location and project to list resources on.
-     * Location must be a valid GCP region, and may not be the "-" wildcard.
-     * Format: projects/{project}/locations/{location}
+     * Location must be a valid GCP region, and cannot be the "-" wildcard.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * @@ -688,8 +693,9 @@ public Builder setParent(java.lang.String value) { * *
      * Required. The location and project to list resources on.
-     * Location must be a valid GCP region, and may not be the "-" wildcard.
-     * Format: projects/{project}/locations/{location}
+     * Location must be a valid GCP region, and cannot be the "-" wildcard.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * @@ -709,8 +715,9 @@ public Builder clearParent() { * *
      * Required. The location and project to list resources on.
-     * Location must be a valid GCP region, and may not be the "-" wildcard.
-     * Format: projects/{project}/locations/{location}
+     * Location must be a valid GCP region, and cannot be the "-" wildcard.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequestOrBuilder.java index e70688df53d7..ee4eb293bc71 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequestOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequestOrBuilder.java @@ -28,8 +28,9 @@ public interface ListServicesRequestOrBuilder * *
    * Required. The location and project to list resources on.
-   * Location must be a valid GCP region, and may not be the "-" wildcard.
-   * Format: projects/{project}/locations/{location}
+   * Location must be a valid GCP region, and cannot be the "-" wildcard.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* * @@ -44,8 +45,9 @@ public interface ListServicesRequestOrBuilder * *
    * Required. The location and project to list resources on.
-   * Location must be a valid GCP region, and may not be the "-" wildcard.
-   * Format: projects/{project}/locations/{location}
+   * Location must be a valid GCP region, and cannot be the "-" wildcard.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Probe.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Probe.java index 63e96b8b35af..759b940d7625 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Probe.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Probe.java @@ -73,6 +73,7 @@ public enum ProbeTypeCase com.google.protobuf.AbstractMessage.InternalOneOfEnum { HTTP_GET(5), TCP_SOCKET(6), + GRPC(7), PROBETYPE_NOT_SET(0); private final int value; @@ -95,6 +96,8 @@ public static ProbeTypeCase forNumber(int value) { return HTTP_GET; case 6: return TCP_SOCKET; + case 7: + return GRPC; case 0: return PROBETYPE_NOT_SET; default: @@ -202,7 +205,7 @@ public int getFailureThreshold() { * *
    * HTTPGet specifies the http request to perform.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -218,7 +221,7 @@ public boolean hasHttpGet() { * *
    * HTTPGet specifies the http request to perform.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -237,7 +240,7 @@ public com.google.cloud.run.v2.HTTPGetAction getHttpGet() { * *
    * HTTPGet specifies the http request to perform.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -256,7 +259,7 @@ public com.google.cloud.run.v2.HTTPGetActionOrBuilder getHttpGetOrBuilder() { * *
    * TCPSocket specifies an action involving a TCP port.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -272,7 +275,7 @@ public boolean hasTcpSocket() { * *
    * TCPSocket specifies an action involving a TCP port.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -291,7 +294,7 @@ public com.google.cloud.run.v2.TCPSocketAction getTcpSocket() { * *
    * TCPSocket specifies an action involving a TCP port.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -304,6 +307,60 @@ public com.google.cloud.run.v2.TCPSocketActionOrBuilder getTcpSocketOrBuilder() return com.google.cloud.run.v2.TCPSocketAction.getDefaultInstance(); } + public static final int GRPC_FIELD_NUMBER = 7; + /** + * + * + *
+   * GRPC specifies an action involving a gRPC port.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+   * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + * + * @return Whether the grpc field is set. + */ + @java.lang.Override + public boolean hasGrpc() { + return probeTypeCase_ == 7; + } + /** + * + * + *
+   * GRPC specifies an action involving a gRPC port.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+   * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + * + * @return The grpc. + */ + @java.lang.Override + public com.google.cloud.run.v2.GRPCAction getGrpc() { + if (probeTypeCase_ == 7) { + return (com.google.cloud.run.v2.GRPCAction) probeType_; + } + return com.google.cloud.run.v2.GRPCAction.getDefaultInstance(); + } + /** + * + * + *
+   * GRPC specifies an action involving a gRPC port.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+   * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + @java.lang.Override + public com.google.cloud.run.v2.GRPCActionOrBuilder getGrpcOrBuilder() { + if (probeTypeCase_ == 7) { + return (com.google.cloud.run.v2.GRPCAction) probeType_; + } + return com.google.cloud.run.v2.GRPCAction.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -336,6 +393,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (probeTypeCase_ == 6) { output.writeMessage(6, (com.google.cloud.run.v2.TCPSocketAction) probeType_); } + if (probeTypeCase_ == 7) { + output.writeMessage(7, (com.google.cloud.run.v2.GRPCAction) probeType_); + } getUnknownFields().writeTo(output); } @@ -367,6 +427,11 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 6, (com.google.cloud.run.v2.TCPSocketAction) probeType_); } + if (probeTypeCase_ == 7) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.run.v2.GRPCAction) probeType_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -394,6 +459,9 @@ public boolean equals(final java.lang.Object obj) { case 6: if (!getTcpSocket().equals(other.getTcpSocket())) return false; break; + case 7: + if (!getGrpc().equals(other.getGrpc())) return false; + break; case 0: default: } @@ -425,6 +493,10 @@ public int hashCode() { hash = (37 * hash) + TCP_SOCKET_FIELD_NUMBER; hash = (53 * hash) + getTcpSocket().hashCode(); break; + case 7: + hash = (37 * hash) + GRPC_FIELD_NUMBER; + hash = (53 * hash) + getGrpc().hashCode(); + break; case 0: default: } @@ -579,6 +651,9 @@ public Builder clear() { if (tcpSocketBuilder_ != null) { tcpSocketBuilder_.clear(); } + if (grpcBuilder_ != null) { + grpcBuilder_.clear(); + } probeTypeCase_ = 0; probeType_ = null; return this; @@ -625,6 +700,13 @@ public com.google.cloud.run.v2.Probe buildPartial() { result.probeType_ = tcpSocketBuilder_.build(); } } + if (probeTypeCase_ == 7) { + if (grpcBuilder_ == null) { + result.probeType_ = probeType_; + } else { + result.probeType_ = grpcBuilder_.build(); + } + } result.probeTypeCase_ = probeTypeCase_; onBuilt(); return result; @@ -698,6 +780,11 @@ public Builder mergeFrom(com.google.cloud.run.v2.Probe other) { mergeTcpSocket(other.getTcpSocket()); break; } + case GRPC: + { + mergeGrpc(other.getGrpc()); + break; + } case PROBETYPE_NOT_SET: { break; @@ -765,6 +852,12 @@ public Builder mergeFrom( probeTypeCase_ = 6; break; } // case 50 + case 58: + { + input.readMessage(getGrpcFieldBuilder().getBuilder(), extensionRegistry); + probeTypeCase_ = 7; + break; + } // case 58 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1053,7 +1146,7 @@ public Builder clearFailureThreshold() { * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -1069,7 +1162,7 @@ public boolean hasHttpGet() { * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -1095,7 +1188,7 @@ public com.google.cloud.run.v2.HTTPGetAction getHttpGet() { * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -1118,7 +1211,7 @@ public Builder setHttpGet(com.google.cloud.run.v2.HTTPGetAction value) { * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -1138,7 +1231,7 @@ public Builder setHttpGet(com.google.cloud.run.v2.HTTPGetAction.Builder builderF * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -1171,7 +1264,7 @@ public Builder mergeHttpGet(com.google.cloud.run.v2.HTTPGetAction value) { * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -1197,7 +1290,7 @@ public Builder clearHttpGet() { * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -1210,7 +1303,7 @@ public com.google.cloud.run.v2.HTTPGetAction.Builder getHttpGetBuilder() { * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -1231,7 +1324,7 @@ public com.google.cloud.run.v2.HTTPGetActionOrBuilder getHttpGetOrBuilder() { * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -1271,7 +1364,7 @@ public com.google.cloud.run.v2.HTTPGetActionOrBuilder getHttpGetOrBuilder() { * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -1287,7 +1380,7 @@ public boolean hasTcpSocket() { * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -1313,7 +1406,7 @@ public com.google.cloud.run.v2.TCPSocketAction getTcpSocket() { * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -1336,7 +1429,7 @@ public Builder setTcpSocket(com.google.cloud.run.v2.TCPSocketAction value) { * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -1356,7 +1449,7 @@ public Builder setTcpSocket(com.google.cloud.run.v2.TCPSocketAction.Builder buil * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -1389,7 +1482,7 @@ public Builder mergeTcpSocket(com.google.cloud.run.v2.TCPSocketAction value) { * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -1415,7 +1508,7 @@ public Builder clearTcpSocket() { * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -1428,7 +1521,7 @@ public com.google.cloud.run.v2.TCPSocketAction.Builder getTcpSocketBuilder() { * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -1449,7 +1542,7 @@ public com.google.cloud.run.v2.TCPSocketActionOrBuilder getTcpSocketOrBuilder() * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -1479,6 +1572,222 @@ public com.google.cloud.run.v2.TCPSocketActionOrBuilder getTcpSocketOrBuilder() return tcpSocketBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.GRPCAction, + com.google.cloud.run.v2.GRPCAction.Builder, + com.google.cloud.run.v2.GRPCActionOrBuilder> + grpcBuilder_; + /** + * + * + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + * + * @return Whether the grpc field is set. + */ + @java.lang.Override + public boolean hasGrpc() { + return probeTypeCase_ == 7; + } + /** + * + * + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + * + * @return The grpc. + */ + @java.lang.Override + public com.google.cloud.run.v2.GRPCAction getGrpc() { + if (grpcBuilder_ == null) { + if (probeTypeCase_ == 7) { + return (com.google.cloud.run.v2.GRPCAction) probeType_; + } + return com.google.cloud.run.v2.GRPCAction.getDefaultInstance(); + } else { + if (probeTypeCase_ == 7) { + return grpcBuilder_.getMessage(); + } + return com.google.cloud.run.v2.GRPCAction.getDefaultInstance(); + } + } + /** + * + * + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + public Builder setGrpc(com.google.cloud.run.v2.GRPCAction value) { + if (grpcBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + probeType_ = value; + onChanged(); + } else { + grpcBuilder_.setMessage(value); + } + probeTypeCase_ = 7; + return this; + } + /** + * + * + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + public Builder setGrpc(com.google.cloud.run.v2.GRPCAction.Builder builderForValue) { + if (grpcBuilder_ == null) { + probeType_ = builderForValue.build(); + onChanged(); + } else { + grpcBuilder_.setMessage(builderForValue.build()); + } + probeTypeCase_ = 7; + return this; + } + /** + * + * + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + public Builder mergeGrpc(com.google.cloud.run.v2.GRPCAction value) { + if (grpcBuilder_ == null) { + if (probeTypeCase_ == 7 + && probeType_ != com.google.cloud.run.v2.GRPCAction.getDefaultInstance()) { + probeType_ = + com.google.cloud.run.v2.GRPCAction.newBuilder( + (com.google.cloud.run.v2.GRPCAction) probeType_) + .mergeFrom(value) + .buildPartial(); + } else { + probeType_ = value; + } + onChanged(); + } else { + if (probeTypeCase_ == 7) { + grpcBuilder_.mergeFrom(value); + } else { + grpcBuilder_.setMessage(value); + } + } + probeTypeCase_ = 7; + return this; + } + /** + * + * + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + public Builder clearGrpc() { + if (grpcBuilder_ == null) { + if (probeTypeCase_ == 7) { + probeTypeCase_ = 0; + probeType_ = null; + onChanged(); + } + } else { + if (probeTypeCase_ == 7) { + probeTypeCase_ = 0; + probeType_ = null; + } + grpcBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + public com.google.cloud.run.v2.GRPCAction.Builder getGrpcBuilder() { + return getGrpcFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + @java.lang.Override + public com.google.cloud.run.v2.GRPCActionOrBuilder getGrpcOrBuilder() { + if ((probeTypeCase_ == 7) && (grpcBuilder_ != null)) { + return grpcBuilder_.getMessageOrBuilder(); + } else { + if (probeTypeCase_ == 7) { + return (com.google.cloud.run.v2.GRPCAction) probeType_; + } + return com.google.cloud.run.v2.GRPCAction.getDefaultInstance(); + } + } + /** + * + * + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.GRPCAction, + com.google.cloud.run.v2.GRPCAction.Builder, + com.google.cloud.run.v2.GRPCActionOrBuilder> + getGrpcFieldBuilder() { + if (grpcBuilder_ == null) { + if (!(probeTypeCase_ == 7)) { + probeType_ = com.google.cloud.run.v2.GRPCAction.getDefaultInstance(); + } + grpcBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.GRPCAction, + com.google.cloud.run.v2.GRPCAction.Builder, + com.google.cloud.run.v2.GRPCActionOrBuilder>( + (com.google.cloud.run.v2.GRPCAction) probeType_, getParentForChildren(), isClean()); + probeType_ = null; + } + probeTypeCase_ = 7; + onChanged(); + ; + return grpcBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ProbeOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ProbeOrBuilder.java index 161f8b43509e..40b0e47fcacd 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ProbeOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ProbeOrBuilder.java @@ -93,7 +93,7 @@ public interface ProbeOrBuilder * *
    * HTTPGet specifies the http request to perform.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -106,7 +106,7 @@ public interface ProbeOrBuilder * *
    * HTTPGet specifies the http request to perform.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -119,7 +119,7 @@ public interface ProbeOrBuilder * *
    * HTTPGet specifies the http request to perform.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -131,7 +131,7 @@ public interface ProbeOrBuilder * *
    * TCPSocket specifies an action involving a TCP port.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -144,7 +144,7 @@ public interface ProbeOrBuilder * *
    * TCPSocket specifies an action involving a TCP port.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -157,12 +157,50 @@ public interface ProbeOrBuilder * *
    * TCPSocket specifies an action involving a TCP port.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; */ com.google.cloud.run.v2.TCPSocketActionOrBuilder getTcpSocketOrBuilder(); + /** + * + * + *
+   * GRPC specifies an action involving a gRPC port.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+   * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + * + * @return Whether the grpc field is set. + */ + boolean hasGrpc(); + /** + * + * + *
+   * GRPC specifies an action involving a gRPC port.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+   * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + * + * @return The grpc. + */ + com.google.cloud.run.v2.GRPCAction getGrpc(); + /** + * + * + *
+   * GRPC specifies an action involving a gRPC port.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+   * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + com.google.cloud.run.v2.GRPCActionOrBuilder getGrpcOrBuilder(); + public com.google.cloud.run.v2.Probe.ProbeTypeCase getProbeTypeCase(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirements.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirements.java index 826e5128c9ab..c75555f25d05 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirements.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirements.java @@ -106,9 +106,9 @@ public int getLimitsCount() { * *
    * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
    * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    * 
* @@ -132,9 +132,9 @@ public java.util.Map getLimits() { * *
    * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
    * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    * 
* @@ -149,9 +149,9 @@ public java.util.Map getLimitsMap() { * *
    * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
    * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    * 
* @@ -170,9 +170,9 @@ public java.lang.String getLimitsOrDefault(java.lang.String key, java.lang.Strin * *
    * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
    * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    * 
* @@ -621,9 +621,9 @@ public int getLimitsCount() { * *
      * Only memory and CPU are supported. Note: The only
-     * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-     * least 2Gi of memory.
-     * The values of the map is string form of the 'quantity' k8s type:
+     * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+     * requires at least 2Gi of memory. The values of the map is string form of
+     * the 'quantity' k8s type:
      * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      * 
* @@ -647,9 +647,9 @@ public java.util.Map getLimits() { * *
      * Only memory and CPU are supported. Note: The only
-     * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-     * least 2Gi of memory.
-     * The values of the map is string form of the 'quantity' k8s type:
+     * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+     * requires at least 2Gi of memory. The values of the map is string form of
+     * the 'quantity' k8s type:
      * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      * 
* @@ -664,9 +664,9 @@ public java.util.Map getLimitsMap() { * *
      * Only memory and CPU are supported. Note: The only
-     * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-     * least 2Gi of memory.
-     * The values of the map is string form of the 'quantity' k8s type:
+     * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+     * requires at least 2Gi of memory. The values of the map is string form of
+     * the 'quantity' k8s type:
      * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      * 
* @@ -686,9 +686,9 @@ public java.lang.String getLimitsOrDefault( * *
      * Only memory and CPU are supported. Note: The only
-     * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-     * least 2Gi of memory.
-     * The values of the map is string form of the 'quantity' k8s type:
+     * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+     * requires at least 2Gi of memory. The values of the map is string form of
+     * the 'quantity' k8s type:
      * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      * 
* @@ -715,9 +715,9 @@ public Builder clearLimits() { * *
      * Only memory and CPU are supported. Note: The only
-     * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-     * least 2Gi of memory.
-     * The values of the map is string form of the 'quantity' k8s type:
+     * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+     * requires at least 2Gi of memory. The values of the map is string form of
+     * the 'quantity' k8s type:
      * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      * 
* @@ -740,9 +740,9 @@ public java.util.Map getMutableLimits() { * *
      * Only memory and CPU are supported. Note: The only
-     * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-     * least 2Gi of memory.
-     * The values of the map is string form of the 'quantity' k8s type:
+     * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+     * requires at least 2Gi of memory. The values of the map is string form of
+     * the 'quantity' k8s type:
      * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      * 
* @@ -764,9 +764,9 @@ public Builder putLimits(java.lang.String key, java.lang.String value) { * *
      * Only memory and CPU are supported. Note: The only
-     * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-     * least 2Gi of memory.
-     * The values of the map is string form of the 'quantity' k8s type:
+     * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+     * requires at least 2Gi of memory. The values of the map is string form of
+     * the 'quantity' k8s type:
      * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      * 
* diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirementsOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirementsOrBuilder.java index 34a5a4563c97..dcf88808e1e7 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirementsOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirementsOrBuilder.java @@ -28,9 +28,9 @@ public interface ResourceRequirementsOrBuilder * *
    * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
    * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    * 
* @@ -42,9 +42,9 @@ public interface ResourceRequirementsOrBuilder * *
    * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
    * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    * 
* @@ -59,9 +59,9 @@ public interface ResourceRequirementsOrBuilder * *
    * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
    * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    * 
* @@ -73,9 +73,9 @@ public interface ResourceRequirementsOrBuilder * *
    * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
    * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    * 
* @@ -92,9 +92,9 @@ java.lang.String getLimitsOrDefault( * *
    * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
    * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    * 
* diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequest.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequest.java index e186e174b517..5546404f4349 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequest.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequest.java @@ -75,7 +75,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * @@ -101,7 +102,8 @@ public java.lang.String getName() { * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * @@ -569,7 +571,8 @@ public Builder mergeFrom( * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -594,7 +597,8 @@ public java.lang.String getName() { * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -619,7 +623,8 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -643,7 +648,8 @@ public Builder setName(java.lang.String value) { * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * @@ -663,7 +669,8 @@ public Builder clearName() { * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequestOrBuilder.java index 3bd6518e5f1c..afed8f343f58 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequestOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequestOrBuilder.java @@ -28,7 +28,8 @@ public interface RunJobRequestOrBuilder * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * @@ -43,7 +44,8 @@ public interface RunJobRequestOrBuilder * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* * diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelector.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelector.java index ce3275006334..ba9a945c1762 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelector.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelector.java @@ -134,7 +134,8 @@ public com.google.protobuf.ByteString getSecretBytes() { * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest version, an integer for a specific version,
+   * or a version alias.
    * 
* * string version = 2 [(.google.api.resource_reference) = { ... } @@ -158,7 +159,8 @@ public java.lang.String getVersion() { * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest version, an integer for a specific version,
+   * or a version alias.
    * 
* * string version = 2 [(.google.api.resource_reference) = { ... } @@ -666,7 +668,8 @@ public Builder setSecretBytes(com.google.protobuf.ByteString value) { * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest version, an integer for a specific version,
+     * or a version alias.
      * 
* * string version = 2 [(.google.api.resource_reference) = { ... } @@ -689,7 +692,8 @@ public java.lang.String getVersion() { * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest version, an integer for a specific version,
+     * or a version alias.
      * 
* * string version = 2 [(.google.api.resource_reference) = { ... } @@ -712,7 +716,8 @@ public com.google.protobuf.ByteString getVersionBytes() { * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest version, an integer for a specific version,
+     * or a version alias.
      * 
* * string version = 2 [(.google.api.resource_reference) = { ... } @@ -734,7 +739,8 @@ public Builder setVersion(java.lang.String value) { * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest version, an integer for a specific version,
+     * or a version alias.
      * 
* * string version = 2 [(.google.api.resource_reference) = { ... } @@ -752,7 +758,8 @@ public Builder clearVersion() { * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest version, an integer for a specific version,
+     * or a version alias.
      * 
* * string version = 2 [(.google.api.resource_reference) = { ... } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelectorOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelectorOrBuilder.java index fa3ba53dcb18..f7e34c794448 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelectorOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelectorOrBuilder.java @@ -63,7 +63,8 @@ public interface SecretKeySelectorOrBuilder * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest version, an integer for a specific version,
+   * or a version alias.
    * 
* * string version = 2 [(.google.api.resource_reference) = { ... } @@ -76,7 +77,8 @@ public interface SecretKeySelectorOrBuilder * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest version, an integer for a specific version,
+   * or a version alias.
    * 
* * string version = 2 [(.google.api.resource_reference) = { ... } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketAction.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketAction.java index 59c4e2531f0d..6332c487a730 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketAction.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketAction.java @@ -72,6 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Port number to access on the container. Must be in the range 1 to 65535.
+   * If not specified, defaults to 8080.
    * 
* * int32 port = 1; @@ -416,6 +417,7 @@ public Builder mergeFrom( * *
      * Port number to access on the container. Must be in the range 1 to 65535.
+     * If not specified, defaults to 8080.
      * 
* * int32 port = 1; @@ -431,6 +433,7 @@ public int getPort() { * *
      * Port number to access on the container. Must be in the range 1 to 65535.
+     * If not specified, defaults to 8080.
      * 
* * int32 port = 1; @@ -449,6 +452,7 @@ public Builder setPort(int value) { * *
      * Port number to access on the container. Must be in the range 1 to 65535.
+     * If not specified, defaults to 8080.
      * 
* * int32 port = 1; diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketActionOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketActionOrBuilder.java index b2e1afc52b6e..48da67c94e4f 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketActionOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketActionOrBuilder.java @@ -28,6 +28,7 @@ public interface TCPSocketActionOrBuilder * *
    * Port number to access on the container. Must be in the range 1 to 65535.
+   * If not specified, defaults to 8080.
    * 
* * int32 port = 1; diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPath.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPath.java index c99a29204d7d..72386cf51f85 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPath.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPath.java @@ -125,7 +125,8 @@ public com.google.protobuf.ByteString getPathBytes() { * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest value, or an integer or a secret alias for a
+   * specific version.
    * 
* * string version = 2; @@ -149,7 +150,8 @@ public java.lang.String getVersion() { * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest value, or an integer or a secret alias for a
+   * specific version.
    * 
* * string version = 2; @@ -682,7 +684,8 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) { * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest value, or an integer or a secret alias for a
+     * specific version.
      * 
* * string version = 2; @@ -705,7 +708,8 @@ public java.lang.String getVersion() { * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest value, or an integer or a secret alias for a
+     * specific version.
      * 
* * string version = 2; @@ -728,7 +732,8 @@ public com.google.protobuf.ByteString getVersionBytes() { * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest value, or an integer or a secret alias for a
+     * specific version.
      * 
* * string version = 2; @@ -750,7 +755,8 @@ public Builder setVersion(java.lang.String value) { * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest value, or an integer or a secret alias for a
+     * specific version.
      * 
* * string version = 2; @@ -768,7 +774,8 @@ public Builder clearVersion() { * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest value, or an integer or a secret alias for a
+     * specific version.
      * 
* * string version = 2; diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPathOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPathOrBuilder.java index 4002f7ce3eb1..ed49be81d8b9 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPathOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPathOrBuilder.java @@ -53,7 +53,8 @@ public interface VersionToPathOrBuilder * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest value, or an integer or a secret alias for a
+   * specific version.
    * 
* * string version = 2; @@ -66,7 +67,8 @@ public interface VersionToPathOrBuilder * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest value, or an integer or a secret alias for a
+   * specific version.
    * 
* * string version = 2; diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccess.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccess.java index 3a1de9a6e951..60094d0a8d88 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccess.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccess.java @@ -235,7 +235,8 @@ private VpcEgress(int value) { * *
    * VPC Access connector name.
-   * Format: projects/{project}/locations/{location}/connectors/{connector}
+   * Format: projects/{project}/locations/{location}/connectors/{connector},
+   * where {project} can be project id or number.
    * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } @@ -259,7 +260,8 @@ public java.lang.String getConnector() { * *
    * VPC Access connector name.
-   * Format: projects/{project}/locations/{location}/connectors/{connector}
+   * Format: projects/{project}/locations/{location}/connectors/{connector},
+   * where {project} can be project id or number.
    * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } @@ -671,7 +673,8 @@ public Builder mergeFrom( * *
      * VPC Access connector name.
-     * Format: projects/{project}/locations/{location}/connectors/{connector}
+     * Format: projects/{project}/locations/{location}/connectors/{connector},
+     * where {project} can be project id or number.
      * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } @@ -694,7 +697,8 @@ public java.lang.String getConnector() { * *
      * VPC Access connector name.
-     * Format: projects/{project}/locations/{location}/connectors/{connector}
+     * Format: projects/{project}/locations/{location}/connectors/{connector},
+     * where {project} can be project id or number.
      * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } @@ -717,7 +721,8 @@ public com.google.protobuf.ByteString getConnectorBytes() { * *
      * VPC Access connector name.
-     * Format: projects/{project}/locations/{location}/connectors/{connector}
+     * Format: projects/{project}/locations/{location}/connectors/{connector},
+     * where {project} can be project id or number.
      * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } @@ -739,7 +744,8 @@ public Builder setConnector(java.lang.String value) { * *
      * VPC Access connector name.
-     * Format: projects/{project}/locations/{location}/connectors/{connector}
+     * Format: projects/{project}/locations/{location}/connectors/{connector},
+     * where {project} can be project id or number.
      * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } @@ -757,7 +763,8 @@ public Builder clearConnector() { * *
      * VPC Access connector name.
-     * Format: projects/{project}/locations/{location}/connectors/{connector}
+     * Format: projects/{project}/locations/{location}/connectors/{connector},
+     * where {project} can be project id or number.
      * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccessOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccessOrBuilder.java index 76469f43e4a6..a452db4b4907 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccessOrBuilder.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccessOrBuilder.java @@ -28,7 +28,8 @@ public interface VpcAccessOrBuilder * *
    * VPC Access connector name.
-   * Format: projects/{project}/locations/{location}/connectors/{connector}
+   * Format: projects/{project}/locations/{location}/connectors/{connector},
+   * where {project} can be project id or number.
    * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } @@ -41,7 +42,8 @@ public interface VpcAccessOrBuilder * *
    * VPC Access connector name.
-   * Format: projects/{project}/locations/{location}/connectors/{connector}
+   * Format: projects/{project}/locations/{location}/connectors/{connector},
+   * where {project} can be project id or number.
    * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto index 74f24df8459f..bfc65364739b 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto @@ -188,7 +188,7 @@ message Condition { // The reason for this condition. Depending on the condition type, // it will populate one of these fields. - // Successful conditions may not have a reason. + // Successful conditions cannot have a reason. oneof reasons { // A common (service-level) reason for this condition. CommonReason reason = 6; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto index 0710afb7d071..04644caea61b 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto @@ -34,8 +34,7 @@ option java_package = "com.google.cloud.run.v2"; // Cloud Run Execution Control Plane API. service Executions { option (google.api.default_host) = "run.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; // Gets information about an Execution. rpc GetExecution(GetExecutionRequest) returns (Execution) { @@ -54,8 +53,7 @@ service Executions { } // Deletes an Execution. - rpc DeleteExecution(DeleteExecutionRequest) - returns (google.longrunning.Operation) { + rpc DeleteExecution(DeleteExecutionRequest) returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v2/{name=projects/*/locations/*/jobs/*/executions/*}" }; @@ -71,10 +69,13 @@ service Executions { message GetExecutionRequest { // Required. The full name of the Execution. // Format: - // projects/{project}/locations/{location}/jobs/{job}/executions/{execution} + // projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, + // where {project} can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "run.googleapis.com/Execution" } + (google.api.resource_reference) = { + type: "run.googleapis.com/Execution" + } ]; } @@ -82,7 +83,8 @@ message GetExecutionRequest { message ListExecutionsRequest { // Required. The Execution from which the Executions should be listed. // To list all Executions across Jobs, use "-" instead of Job name. - // Format: projects/{project}/locations/{location}/jobs/{job} + // Format: projects/{project}/locations/{location}/jobs/{job}, where {project} + // can be project id or number. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -115,10 +117,13 @@ message ListExecutionsResponse { message DeleteExecutionRequest { // Required. The name of the Execution to delete. // Format: - // projects/{project}/locations/{location}/jobs/{job}/executions/{execution} + // projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, + // where {project} can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "run.googleapis.com/Execution" } + (google.api.resource_reference) = { + type: "run.googleapis.com/Execution" + } ]; // Indicates that the request should be validated without actually @@ -143,9 +148,8 @@ message Execution { // Output only. The unique name of this Execution. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Server assigned unique identifier for the Execution. The value - // is a UUID4 string and guaranteed to remain unchanged until the resource is - // deleted. + // Output only. Server assigned unique identifier for the Execution. The value is a UUID4 + // string and guaranteed to remain unchanged until the resource is deleted. string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. A number that monotonically increases every time the user @@ -166,37 +170,31 @@ message Execution { // KRM-style annotations for the resource. map annotations = 5; - // Output only. Represents time when the execution was acknowledged by the - // execution controller. It is not guaranteed to be set in happens-before - // order across separate operations. - google.protobuf.Timestamp create_time = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Represents time when the execution was acknowledged by the execution + // controller. It is not guaranteed to be set in happens-before order across + // separate operations. + google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Represents time when the execution started to run. // It is not guaranteed to be set in happens-before order across separate // operations. - google.protobuf.Timestamp start_time = 22 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp start_time = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Represents time when the execution was completed. It is not - // guaranteed to be set in happens-before order across separate operations. - google.protobuf.Timestamp completion_time = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Represents time when the execution was completed. It is not guaranteed to + // be set in happens-before order across separate operations. + google.protobuf.Timestamp completion_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last-modified time. - google.protobuf.Timestamp update_time = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. For a deleted resource, the deletion time. It is only // populated as a response to a Delete request. - google.protobuf.Timestamp delete_time = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp delete_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. For a deleted resource, the time after which it will be // permamently deleted. It is only populated as a response to a Delete // request. - google.protobuf.Timestamp expire_time = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp expire_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // Set the launch stage to a preview stage on write to allow use of preview // features in that stage. On read, describes whether the resource uses @@ -207,19 +205,21 @@ message Execution { // Output only. The name of the parent Job. string job = 12 [ (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { type: "run.googleapis.com/Job" } + (google.api.resource_reference) = { + type: "run.googleapis.com/Job" + } ]; - // Output only. Specifies the maximum desired number of tasks the execution - // should run at any given time. Must be <= task_count. The actual number of + // Output only. Specifies the maximum desired number of tasks the execution should + // run at any given time. Must be <= task_count. The actual number of // tasks running in steady state will be less than this number when // ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when // the work left to do is less than max parallelism. More info: // https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ int32 parallelism = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Specifies the desired number of tasks the execution should - // run. Setting to 1 means that parallelism is limited to 1 and the success of + // Output only. Specifies the desired number of tasks the execution should run. + // Setting to 1 means that parallelism is limited to 1 and the success of // that task signals the success of the execution. // More info: // https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ @@ -228,20 +228,17 @@ message Execution { // Output only. The template used to create tasks for this execution. TaskTemplate template = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Indicates whether the resource's reconciliation is still in - // progress. See comments in `Job.reconciling` for additional information on + // Output only. Indicates whether the resource's reconciliation is still in progress. + // See comments in `Job.reconciling` for additional information on // reconciliation process in Cloud Run. bool reconciling = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The Condition of this Execution, containing its readiness - // status, and detailed error information in case it did not reach the desired - // state. - repeated google.cloud.run.v2.Condition conditions = 17 - [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The Condition of this Execution, containing its readiness status, and + // detailed error information in case it did not reach the desired state. + repeated Condition conditions = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The generation of this Execution. See comments in - // `reconciling` for additional information on reconciliation process in Cloud - // Run. + // Output only. The generation of this Execution. See comments in `reconciling` for + // additional information on reconciliation process in Cloud Run. int64 observed_generation = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The number of actively running tasks. diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto index 8a158296ae4b..b5331f08b73d 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto @@ -106,7 +106,7 @@ service Jobs { }; } - // Get the IAM Access Control policy currently in effect for the given Job. + // Gets the IAM Access Control policy currently in effect for the given Job. // This result does not include any inherited policies. rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { option (google.api.http) = { @@ -137,7 +137,8 @@ service Jobs { // Request message for creating a Job. message CreateJobRequest { // Required. The location and project in which this Job should be created. - // Format: projects/{project}/locations/{location} + // Format: projects/{project}/locations/{location}, where {project} can be + // project id or number. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -160,7 +161,8 @@ message CreateJobRequest { // Request message for obtaining a Job by its full name. message GetJobRequest { // Required. The full name of the Job. - // Format: projects/{project}/locations/{location}/jobs/{job} + // Format: projects/{project}/locations/{location}/jobs/{job}, where {project} + // can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -187,7 +189,8 @@ message UpdateJobRequest { // Request message for retrieving a list of Jobs. message ListJobsRequest { // Required. The location and project to list resources on. - // Format: projects/{project}/locations/{location} + // Format: projects/{project}/locations/{location}, where {project} can be + // project id or number. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -219,7 +222,8 @@ message ListJobsResponse { // Request message to delete a Job by its full name. message DeleteJobRequest { // Required. The full name of the Job. - // Format: projects/{project}/locations/{location}/jobs/{job} + // Format: projects/{project}/locations/{location}/jobs/{job}, where {project} + // can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -239,7 +243,8 @@ message DeleteJobRequest { // Request message to create a new Execution of a Job. message RunJobRequest { // Required. The full name of the Job. - // Format: projects/{project}/locations/{location}/jobs/{job} + // Format: projects/{project}/locations/{location}/jobs/{job}, where {project} + // can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -331,7 +336,7 @@ message Job { google.api.LaunchStage launch_stage = 14; // Settings for the Binary Authorization feature. - google.cloud.run.v2.BinaryAuthorization binary_authorization = 15; + BinaryAuthorization binary_authorization = 15; // Required. The template used to create executions for this Job. ExecutionTemplate template = 16 [(google.api.field_behavior) = REQUIRED]; @@ -342,13 +347,13 @@ message Job { // Output only. The Condition of this Job, containing its readiness status, and // detailed error information in case it did not reach the desired state. - google.cloud.run.v2.Condition terminal_condition = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + Condition terminal_condition = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The Conditions of all other associated sub-resources. They contain // additional diagnostics information in case the Job does not reach its // desired state. See comments in `reconciling` for additional information on // reconciliation process in Cloud Run. - repeated google.cloud.run.v2.Condition conditions = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated Condition conditions = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Number of executions created for this job. int32 execution_count = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto index fac9952aeb2b..31c81bea1bb0 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto @@ -117,9 +117,9 @@ message Container { // ResourceRequirements describes the compute resource requirements. message ResourceRequirements { // Only memory and CPU are supported. Note: The only - // supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at - // least 2Gi of memory. - // The values of the map is string form of the 'quantity' k8s type: + // supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU + // requires at least 2Gi of memory. The values of the map is string form of + // the 'quantity' k8s type: // https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go map limits = 1; @@ -169,7 +169,8 @@ message SecretKeySelector { ]; // The Cloud Secret Manager secret version. - // Can be 'latest' for the latest value or an integer for a specific version. + // Can be 'latest' for the latest version, an integer for a specific version, + // or a version alias. string version = 2 [(google.api.resource_reference) = { type: "secretmanager.googleapis.com/SecretVersion" }]; @@ -261,7 +262,8 @@ message VersionToPath { string path = 1 [(google.api.field_behavior) = REQUIRED]; // The Cloud Secret Manager secret version. - // Can be 'latest' for the latest value or an integer for a specific version. + // Can be 'latest' for the latest value, or an integer or a secret alias for a + // specific version. string version = 2; // Integer octal mode bits to use on this file, must be a value between @@ -322,12 +324,16 @@ message Probe { oneof probe_type { // HTTPGet specifies the http request to perform. - // Exactly one of HTTPGet or TCPSocket must be specified. + // Exactly one of httpGet, tcpSocket, or grpc must be specified. HTTPGetAction http_get = 5; // TCPSocket specifies an action involving a TCP port. - // Exactly one of HTTPGet or TCPSocket must be specified. + // Exactly one of httpGet, tcpSocket, or grpc must be specified. TCPSocketAction tcp_socket = 6; + + // GRPC specifies an action involving a gRPC port. + // Exactly one of httpGet, tcpSocket, or grpc must be specified. + GRPCAction grpc = 7; } } @@ -352,5 +358,18 @@ message HTTPHeader { // TCPSocketAction describes an action based on opening a socket message TCPSocketAction { // Port number to access on the container. Must be in the range 1 to 65535. + // If not specified, defaults to 8080. int32 port = 1; } + +// GRPCAction describes an action involving a GRPC port. +message GRPCAction { + // Port number of the gRPC service. Number must be in the range 1 to 65535. + // If not specified, defaults to 8080. + int32 port = 1; + + // Service is the name of the service to place in the gRPC HealthCheckRequest + // (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If + // this is not specified, the default behavior is defined by gRPC. + string service = 2; +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto index 5980d31ed1bc..bf5b4e90458f 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto @@ -221,11 +221,11 @@ message Revision { ]; // Scaling settings for this revision. - google.cloud.run.v2.RevisionScaling scaling = 12; + RevisionScaling scaling = 12; // VPC Access configuration for this Revision. For more information, visit // https://cloud.google.com/run/docs/configuring/connecting-vpc. - google.cloud.run.v2.VpcAccess vpc_access = 13; + VpcAccess vpc_access = 13; // Sets the maximum number of requests that each serving instance can receive. int32 max_instance_request_concurrency = 34; @@ -240,13 +240,13 @@ message Revision { // Holds the single container that defines the unit of execution for this // Revision. - repeated google.cloud.run.v2.Container containers = 17; + repeated Container containers = 17; // A list of Volumes to make available to containers. - repeated google.cloud.run.v2.Volume volumes = 18; + repeated Volume volumes = 18; // The execution environment being used to host this Revision. - google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; + ExecutionEnvironment execution_environment = 20; // A reference to a customer managed encryption key (CMEK) to use to encrypt // this container image. For more information, go to @@ -262,7 +262,7 @@ message Revision { // Output only. The Condition of this Revision, containing its readiness status, and // detailed error information in case it did not reach a serving state. - repeated google.cloud.run.v2.Condition conditions = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated Condition conditions = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The generation of this Revision currently serving traffic. See comments in // `reconciling` for additional information on reconciliation process in Cloud diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto index 7389986d7d80..f20fb5eb68a5 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto @@ -42,11 +42,11 @@ message RevisionTemplate { map annotations = 3; // Scaling settings for this Revision. - google.cloud.run.v2.RevisionScaling scaling = 4; + RevisionScaling scaling = 4; // VPC Access configuration to use for this Revision. For more information, // visit https://cloud.google.com/run/docs/configuring/connecting-vpc. - google.cloud.run.v2.VpcAccess vpc_access = 6; + VpcAccess vpc_access = 6; // Max allowed time for an instance to respond to a request. google.protobuf.Duration timeout = 8; @@ -59,13 +59,13 @@ message RevisionTemplate { // Holds the single container that defines the unit of execution for this // Revision. - repeated google.cloud.run.v2.Container containers = 10; + repeated Container containers = 10; // A list of Volumes to make available to containers. - repeated google.cloud.run.v2.Volume volumes = 11; + repeated Volume volumes = 11; // The sandbox environment to host this Revision. - google.cloud.run.v2.ExecutionEnvironment execution_environment = 13; + ExecutionEnvironment execution_environment = 13; // A reference to a customer managed encryption key (CMEK) to use to encrypt // this container image. For more information, go to diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto index 5c3a05ae4b3b..2357a35b92c4 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto @@ -158,8 +158,8 @@ service Services { // Request message for creating a Service. message CreateServiceRequest { // Required. The location and project in which this service should be created. - // Format: projects/{project}/locations/{location} - // Only lowercase characters, digits, and hyphens. + // Format: projects/{project}/locations/{location}, where {project} can be + // project id or number. Only lowercase characters, digits, and hyphens. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -171,7 +171,7 @@ message CreateServiceRequest { Service service = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The unique identifier for the Service. It must begin with letter, - // and may not end with hyphen; must contain fewer than 50 characters. + // and cannot end with hyphen; must contain fewer than 50 characters. // The name of the service becomes {parent}/services/{service_id}. string service_id = 3 [(google.api.field_behavior) = REQUIRED]; @@ -198,8 +198,9 @@ message UpdateServiceRequest { // Request message for retrieving a list of Services. message ListServicesRequest { // Required. The location and project to list resources on. - // Location must be a valid GCP region, and may not be the "-" wildcard. - // Format: projects/{project}/locations/{location} + // Location must be a valid GCP region, and cannot be the "-" wildcard. + // Format: projects/{project}/locations/{location}, where {project} can be + // project id or number. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -231,7 +232,8 @@ message ListServicesResponse { // Request message for obtaining a Service by its full name. message GetServiceRequest { // Required. The full name of the Service. - // Format: projects/{project}/locations/{location}/services/{service} + // Format: projects/{project}/locations/{location}/services/{service}, where + // {project} can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -243,7 +245,8 @@ message GetServiceRequest { // Request message to delete a Service by its full name. message DeleteServiceRequest { // Required. The full name of the Service. - // Format: projects/{project}/locations/{location}/services/{service} + // Format: projects/{project}/locations/{location}/services/{service}, where + // {project} can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -342,7 +345,7 @@ message Service { // Provides the ingress settings for this Service. On output, returns the // currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no // revision is active. - google.cloud.run.v2.IngressTraffic ingress = 15; + IngressTraffic ingress = 15; // The launch stage as defined by [Google Cloud Platform // Launch Stages](https://cloud.google.com/terms/launch-stages). @@ -351,7 +354,7 @@ message Service { google.api.LaunchStage launch_stage = 16; // Settings for the Binary Authorization feature. - google.cloud.run.v2.BinaryAuthorization binary_authorization = 17; + BinaryAuthorization binary_authorization = 17; // Required. The template used to create revisions for this Service. RevisionTemplate template = 18 [(google.api.field_behavior) = REQUIRED]; @@ -359,7 +362,7 @@ message Service { // Specifies how to distribute traffic over a collection of Revisions // belonging to the Service. If traffic is empty or not provided, defaults to // 100% traffic to the latest `Ready` Revision. - repeated google.cloud.run.v2.TrafficTarget traffic = 19; + repeated TrafficTarget traffic = 19; // Output only. The generation of this Service currently serving traffic. See comments in // `reconciling` for additional information on reconciliation process in Cloud @@ -372,13 +375,13 @@ message Service { // detailed error information in case it did not reach a serving state. See // comments in `reconciling` for additional information on reconciliation // process in Cloud Run. - google.cloud.run.v2.Condition terminal_condition = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; + Condition terminal_condition = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The Conditions of all other associated sub-resources. They contain // additional diagnostics information in case the Service does not reach its // Serving state. See comments in `reconciling` for additional information on // reconciliation process in Cloud Run. - repeated google.cloud.run.v2.Condition conditions = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated Condition conditions = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Name of the latest revision that is serving traffic. See comments in // `reconciling` for additional information on reconciliation process in Cloud @@ -402,7 +405,7 @@ message Service { // Output only. Detailed status information for corresponding traffic targets. See comments // in `reconciling` for additional information on reconciliation process in // Cloud Run. - repeated google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated TrafficTargetStatus traffic_statuses = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The main URI in which this Service is serving traffic. string uri = 36 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto index 86ed7cb955a2..0fa6b03b9d8d 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto @@ -178,10 +178,10 @@ message Task { // Holds the single container that defines the unit of execution for this // task. - repeated google.cloud.run.v2.Container containers = 14; + repeated Container containers = 14; // A list of Volumes to make available to containers. - repeated google.cloud.run.v2.Volume volumes = 15; + repeated Volume volumes = 15; // Number of retries allowed per Task, before marking this Task failed. int32 max_retries = 16; @@ -198,7 +198,7 @@ message Task { string service_account = 18; // The execution environment being used to host this Task. - google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; + ExecutionEnvironment execution_environment = 20; // Output only. Indicates whether the resource's reconciliation is still in progress. // See comments in `Job.reconciling` for additional information on @@ -207,7 +207,7 @@ message Task { // Output only. The Condition of this Task, containing its readiness status, and // detailed error information in case it did not reach the desired state. - repeated google.cloud.run.v2.Condition conditions = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated Condition conditions = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The generation of this Task. See comments in `Job.reconciling` // for additional information on reconciliation process in Cloud Run. @@ -235,7 +235,7 @@ message Task { // Output only. VPC Access configuration to use for this Task. For more information, // visit https://cloud.google.com/run/docs/configuring/connecting-vpc. - google.cloud.run.v2.VpcAccess vpc_access = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; + VpcAccess vpc_access = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto index ae7ee47af5fa..b5b43fba24a8 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto @@ -31,10 +31,10 @@ option java_package = "com.google.cloud.run.v2"; message TaskTemplate { // Holds the single container that defines the unit of execution for this // task. - repeated google.cloud.run.v2.Container containers = 1; + repeated Container containers = 1; // A list of Volumes to make available to containers. - repeated google.cloud.run.v2.Volume volumes = 2; + repeated Volume volumes = 2; oneof retries { // Number of retries allowed per Task, before marking this Task failed. @@ -53,7 +53,7 @@ message TaskTemplate { string service_account = 5; // The execution environment being used to host this Task. - google.cloud.run.v2.ExecutionEnvironment execution_environment = 6; + ExecutionEnvironment execution_environment = 6; // A reference to a customer managed encryption key (CMEK) to use to encrypt // this container image. For more information, go to @@ -64,5 +64,5 @@ message TaskTemplate { // VPC Access configuration to use for this Task. For more information, // visit https://cloud.google.com/run/docs/configuring/connecting-vpc. - google.cloud.run.v2.VpcAccess vpc_access = 8; + VpcAccess vpc_access = 8; } diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto index 89748d5c70dd..0ee74eafa86e 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto @@ -41,7 +41,8 @@ message VpcAccess { } // VPC Access connector name. - // Format: projects/{project}/locations/{location}/connectors/{connector} + // Format: projects/{project}/locations/{location}/connectors/{connector}, + // where {project} can be project id or number. string connector = 1 [(google.api.resource_reference) = { type: "vpcaccess.googleapis.com/Connector" }];