diff --git a/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionsGrpc.java b/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionsGrpc.java deleted file mode 100644 index d5abff936d55..000000000000 --- a/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionsGrpc.java +++ /dev/null @@ -1,578 +0,0 @@ -/* - * 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. - */ -package com.google.cloud.run.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Cloud Run Execution Control Plane API. - *- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/run/v2/execution.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ExecutionsGrpc { - - private ExecutionsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.run.v2.Executions"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetExecutionRequest, com.google.cloud.run.v2.Execution> - getGetExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetExecution", - requestType = com.google.cloud.run.v2.GetExecutionRequest.class, - responseType = com.google.cloud.run.v2.Execution.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetExecutionRequest, com.google.cloud.run.v2.Execution> - getGetExecutionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetExecutionRequest, com.google.cloud.run.v2.Execution> - getGetExecutionMethod; - if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { - ExecutionsGrpc.getGetExecutionMethod = - getGetExecutionMethod = - io.grpc.MethodDescriptor - .
- * Cloud Run Execution Control Plane API. - *- */ - public abstract static class ExecutionsImplBase implements io.grpc.BindableService { - - /** - * - * - *
- * Gets information about an Execution. - *- */ - public void getExecution( - com.google.cloud.run.v2.GetExecutionRequest request, - io.grpc.stub.StreamObserver
- * Lists Executions from a Job. - *- */ - public void listExecutions( - com.google.cloud.run.v2.ListExecutionsRequest request, - io.grpc.stub.StreamObserver
- * Deletes an Execution. - *- */ - public void deleteExecution( - com.google.cloud.run.v2.DeleteExecutionRequest request, - io.grpc.stub.StreamObserver
- * Cloud Run Execution Control Plane API. - *- */ - public static final class ExecutionsStub extends io.grpc.stub.AbstractAsyncStub
- * Gets information about an Execution. - *- */ - public void getExecution( - com.google.cloud.run.v2.GetExecutionRequest request, - io.grpc.stub.StreamObserver
- * Lists Executions from a Job. - *- */ - public void listExecutions( - com.google.cloud.run.v2.ListExecutionsRequest request, - io.grpc.stub.StreamObserver
- * Deletes an Execution. - *- */ - public void deleteExecution( - com.google.cloud.run.v2.DeleteExecutionRequest request, - io.grpc.stub.StreamObserver
- * Cloud Run Execution Control Plane API. - *- */ - public static final class ExecutionsBlockingStub - extends io.grpc.stub.AbstractBlockingStub
- * Gets information about an Execution. - *- */ - public com.google.cloud.run.v2.Execution getExecution( - com.google.cloud.run.v2.GetExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetExecutionMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists Executions from a Job. - *- */ - public com.google.cloud.run.v2.ListExecutionsResponse listExecutions( - com.google.cloud.run.v2.ListExecutionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListExecutionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes an Execution. - *- */ - public com.google.longrunning.Operation deleteExecution( - com.google.cloud.run.v2.DeleteExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteExecutionMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
- * Cloud Run Execution Control Plane API. - *- */ - public static final class ExecutionsFutureStub - extends io.grpc.stub.AbstractFutureStub
- * Gets information about an Execution. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Lists Executions from a Job. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.run.v2.ListExecutionsResponse> - listExecutions(com.google.cloud.run.v2.ListExecutionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Deletes an Execution. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Cloud Run Job Control Plane API. - *- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/run/v2/job.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class JobsGrpc { - - private JobsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.run.v2.Jobs"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.CreateJobRequest, com.google.longrunning.Operation> - getCreateJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateJob", - requestType = com.google.cloud.run.v2.CreateJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.CreateJobRequest, com.google.longrunning.Operation> - getCreateJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.CreateJobRequest, com.google.longrunning.Operation> - getCreateJobMethod; - if ((getCreateJobMethod = JobsGrpc.getCreateJobMethod) == null) { - synchronized (JobsGrpc.class) { - if ((getCreateJobMethod = JobsGrpc.getCreateJobMethod) == null) { - JobsGrpc.getCreateJobMethod = - getCreateJobMethod = - io.grpc.MethodDescriptor - .
- * Cloud Run Job Control Plane API. - *- */ - public abstract static class JobsImplBase implements io.grpc.BindableService { - - /** - * - * - *
- * Creates a Job. - *- */ - public void createJob( - com.google.cloud.run.v2.CreateJobRequest request, - io.grpc.stub.StreamObserver
- * Gets information about a Job. - *- */ - public void getJob( - com.google.cloud.run.v2.GetJobRequest request, - io.grpc.stub.StreamObserver
- * Lists Jobs. - *- */ - public void listJobs( - com.google.cloud.run.v2.ListJobsRequest request, - io.grpc.stub.StreamObserver
- * Updates a Job. - *- */ - public void updateJob( - com.google.cloud.run.v2.UpdateJobRequest request, - io.grpc.stub.StreamObserver
- * Deletes a Job. - *- */ - public void deleteJob( - com.google.cloud.run.v2.DeleteJobRequest request, - io.grpc.stub.StreamObserver
- * Triggers creation of a new Execution of this Job. - *- */ - public void runJob( - com.google.cloud.run.v2.RunJobRequest request, - io.grpc.stub.StreamObserver
- * Get the IAM Access Control policy currently in effect for the given Job. - * This result does not include any inherited policies. - *- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver
- * Sets the IAM Access control policy for the specified Job. Overwrites - * any existing policy. - *- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver
- * Returns permissions that a caller has on the specified Project. - * There are no permissions required for making this API call. - *- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver
- * Cloud Run Job Control Plane API. - *- */ - public static final class JobsStub extends io.grpc.stub.AbstractAsyncStub
- * Creates a Job. - *- */ - public void createJob( - com.google.cloud.run.v2.CreateJobRequest request, - io.grpc.stub.StreamObserver
- * Gets information about a Job. - *- */ - public void getJob( - com.google.cloud.run.v2.GetJobRequest request, - io.grpc.stub.StreamObserver
- * Lists Jobs. - *- */ - public void listJobs( - com.google.cloud.run.v2.ListJobsRequest request, - io.grpc.stub.StreamObserver
- * Updates a Job. - *- */ - public void updateJob( - com.google.cloud.run.v2.UpdateJobRequest request, - io.grpc.stub.StreamObserver
- * Deletes a Job. - *- */ - public void deleteJob( - com.google.cloud.run.v2.DeleteJobRequest request, - io.grpc.stub.StreamObserver
- * Triggers creation of a new Execution of this Job. - *- */ - public void runJob( - com.google.cloud.run.v2.RunJobRequest request, - io.grpc.stub.StreamObserver
- * Get the IAM Access Control policy currently in effect for the given Job. - * This result does not include any inherited policies. - *- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver
- * Sets the IAM Access control policy for the specified Job. Overwrites - * any existing policy. - *- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver
- * Returns permissions that a caller has on the specified Project. - * There are no permissions required for making this API call. - *- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver
- * Cloud Run Job Control Plane API. - *- */ - public static final class JobsBlockingStub - extends io.grpc.stub.AbstractBlockingStub
- * Creates a Job. - *- */ - public com.google.longrunning.Operation createJob( - com.google.cloud.run.v2.CreateJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets information about a Job. - *- */ - public com.google.cloud.run.v2.Job getJob(com.google.cloud.run.v2.GetJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists Jobs. - *- */ - public com.google.cloud.run.v2.ListJobsResponse listJobs( - com.google.cloud.run.v2.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates a Job. - *- */ - public com.google.longrunning.Operation updateJob( - com.google.cloud.run.v2.UpdateJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes a Job. - *- */ - public com.google.longrunning.Operation deleteJob( - com.google.cloud.run.v2.DeleteJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Triggers creation of a new Execution of this Job. - *- */ - public com.google.longrunning.Operation runJob(com.google.cloud.run.v2.RunJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Get the IAM Access Control policy currently in effect for the given Job. - * This result does not include any inherited policies. - *- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Sets the IAM Access control policy for the specified Job. Overwrites - * any existing policy. - *- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Returns permissions that a caller has on the specified Project. - * There are no permissions required for making this API call. - *- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
- * Cloud Run Job Control Plane API. - *- */ - public static final class JobsFutureStub extends io.grpc.stub.AbstractFutureStub
- * Creates a Job. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Gets information about a Job. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Lists Jobs. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.run.v2.ListJobsResponse> - listJobs(com.google.cloud.run.v2.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Updates a Job. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a Job. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Triggers creation of a new Execution of this Job. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Get the IAM Access Control policy currently in effect for the given Job. - * This result does not include any inherited policies. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Sets the IAM Access control policy for the specified Job. Overwrites - * any existing policy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Returns permissions that a caller has on the specified Project. - * There are no permissions required for making this API call. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_JOB = 0; - private static final int METHODID_GET_JOB = 1; - private static final int METHODID_LIST_JOBS = 2; - private static final int METHODID_UPDATE_JOB = 3; - private static final int METHODID_DELETE_JOB = 4; - private static final int METHODID_RUN_JOB = 5; - private static final int METHODID_GET_IAM_POLICY = 6; - private static final int METHODID_SET_IAM_POLICY = 7; - private static final int METHODID_TEST_IAM_PERMISSIONS = 8; - - private static final class MethodHandlers
- * Cloud Run Revision Control Plane API. - *- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/run/v2/revision.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class RevisionsGrpc { - - private RevisionsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.run.v2.Revisions"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetRevisionRequest, com.google.cloud.run.v2.Revision> - getGetRevisionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRevision", - requestType = com.google.cloud.run.v2.GetRevisionRequest.class, - responseType = com.google.cloud.run.v2.Revision.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetRevisionRequest, com.google.cloud.run.v2.Revision> - getGetRevisionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetRevisionRequest, com.google.cloud.run.v2.Revision> - getGetRevisionMethod; - if ((getGetRevisionMethod = RevisionsGrpc.getGetRevisionMethod) == null) { - synchronized (RevisionsGrpc.class) { - if ((getGetRevisionMethod = RevisionsGrpc.getGetRevisionMethod) == null) { - RevisionsGrpc.getGetRevisionMethod = - getGetRevisionMethod = - io.grpc.MethodDescriptor - .
- * Cloud Run Revision Control Plane API. - *- */ - public abstract static class RevisionsImplBase implements io.grpc.BindableService { - - /** - * - * - *
- * Gets information about a Revision. - *- */ - public void getRevision( - com.google.cloud.run.v2.GetRevisionRequest request, - io.grpc.stub.StreamObserver
- * Lists Revisions from a given Service, or from a given location. - *- */ - public void listRevisions( - com.google.cloud.run.v2.ListRevisionsRequest request, - io.grpc.stub.StreamObserver
- * Deletes a Revision. - *- */ - public void deleteRevision( - com.google.cloud.run.v2.DeleteRevisionRequest request, - io.grpc.stub.StreamObserver
- * Cloud Run Revision Control Plane API. - *- */ - public static final class RevisionsStub extends io.grpc.stub.AbstractAsyncStub
- * Gets information about a Revision. - *- */ - public void getRevision( - com.google.cloud.run.v2.GetRevisionRequest request, - io.grpc.stub.StreamObserver
- * Lists Revisions from a given Service, or from a given location. - *- */ - public void listRevisions( - com.google.cloud.run.v2.ListRevisionsRequest request, - io.grpc.stub.StreamObserver
- * Deletes a Revision. - *- */ - public void deleteRevision( - com.google.cloud.run.v2.DeleteRevisionRequest request, - io.grpc.stub.StreamObserver
- * Cloud Run Revision Control Plane API. - *- */ - public static final class RevisionsBlockingStub - extends io.grpc.stub.AbstractBlockingStub
- * Gets information about a Revision. - *- */ - public com.google.cloud.run.v2.Revision getRevision( - com.google.cloud.run.v2.GetRevisionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRevisionMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists Revisions from a given Service, or from a given location. - *- */ - public com.google.cloud.run.v2.ListRevisionsResponse listRevisions( - com.google.cloud.run.v2.ListRevisionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRevisionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes a Revision. - *- */ - public com.google.longrunning.Operation deleteRevision( - com.google.cloud.run.v2.DeleteRevisionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRevisionMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
- * Cloud Run Revision Control Plane API. - *- */ - public static final class RevisionsFutureStub - extends io.grpc.stub.AbstractFutureStub
- * Gets information about a Revision. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Lists Revisions from a given Service, or from a given location. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.run.v2.ListRevisionsResponse> - listRevisions(com.google.cloud.run.v2.ListRevisionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRevisionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Deletes a Revision. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Cloud Run Service Control Plane API - *- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/run/v2/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ServicesGrpc { - - private ServicesGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.run.v2.Services"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.CreateServiceRequest, com.google.longrunning.Operation> - getCreateServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateService", - requestType = com.google.cloud.run.v2.CreateServiceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.CreateServiceRequest, com.google.longrunning.Operation> - getCreateServiceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.CreateServiceRequest, com.google.longrunning.Operation> - getCreateServiceMethod; - if ((getCreateServiceMethod = ServicesGrpc.getCreateServiceMethod) == null) { - synchronized (ServicesGrpc.class) { - if ((getCreateServiceMethod = ServicesGrpc.getCreateServiceMethod) == null) { - ServicesGrpc.getCreateServiceMethod = - getCreateServiceMethod = - io.grpc.MethodDescriptor - .
- * Cloud Run Service Control Plane API - *- */ - public abstract static class ServicesImplBase implements io.grpc.BindableService { - - /** - * - * - *
- * Creates a new Service in a given project and location. - *- */ - public void createService( - com.google.cloud.run.v2.CreateServiceRequest request, - io.grpc.stub.StreamObserver
- * Gets information about a Service. - *- */ - public void getService( - com.google.cloud.run.v2.GetServiceRequest request, - io.grpc.stub.StreamObserver
- * Lists Services. - *- */ - public void listServices( - com.google.cloud.run.v2.ListServicesRequest request, - io.grpc.stub.StreamObserver
- * Updates a Service. - *- */ - public void updateService( - com.google.cloud.run.v2.UpdateServiceRequest request, - io.grpc.stub.StreamObserver
- * Deletes a Service. - * This will cause the Service to stop serving traffic and will delete all - * revisions. - *- */ - public void deleteService( - com.google.cloud.run.v2.DeleteServiceRequest request, - io.grpc.stub.StreamObserver
- * Gets the IAM Access Control policy currently in effect for the given - * Cloud Run Service. This result does not include any inherited policies. - *- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver
- * Sets the IAM Access control policy for the specified Service. Overwrites - * any existing policy. - *- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver
- * Returns permissions that a caller has on the specified Project. - * There are no permissions required for making this API call. - *- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver
- * Cloud Run Service Control Plane API - *- */ - public static final class ServicesStub extends io.grpc.stub.AbstractAsyncStub
- * Creates a new Service in a given project and location. - *- */ - public void createService( - com.google.cloud.run.v2.CreateServiceRequest request, - io.grpc.stub.StreamObserver
- * Gets information about a Service. - *- */ - public void getService( - com.google.cloud.run.v2.GetServiceRequest request, - io.grpc.stub.StreamObserver
- * Lists Services. - *- */ - public void listServices( - com.google.cloud.run.v2.ListServicesRequest request, - io.grpc.stub.StreamObserver
- * Updates a Service. - *- */ - public void updateService( - com.google.cloud.run.v2.UpdateServiceRequest request, - io.grpc.stub.StreamObserver
- * Deletes a Service. - * This will cause the Service to stop serving traffic and will delete all - * revisions. - *- */ - public void deleteService( - com.google.cloud.run.v2.DeleteServiceRequest request, - io.grpc.stub.StreamObserver
- * Gets the IAM Access Control policy currently in effect for the given - * Cloud Run Service. This result does not include any inherited policies. - *- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver
- * Sets the IAM Access control policy for the specified Service. Overwrites - * any existing policy. - *- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver
- * Returns permissions that a caller has on the specified Project. - * There are no permissions required for making this API call. - *- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver
- * Cloud Run Service Control Plane API - *- */ - public static final class ServicesBlockingStub - extends io.grpc.stub.AbstractBlockingStub
- * Creates a new Service in a given project and location. - *- */ - public com.google.longrunning.Operation createService( - com.google.cloud.run.v2.CreateServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets information about a Service. - *- */ - public com.google.cloud.run.v2.Service getService( - com.google.cloud.run.v2.GetServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists Services. - *- */ - public com.google.cloud.run.v2.ListServicesResponse listServices( - com.google.cloud.run.v2.ListServicesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListServicesMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates a Service. - *- */ - public com.google.longrunning.Operation updateService( - com.google.cloud.run.v2.UpdateServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes a Service. - * This will cause the Service to stop serving traffic and will delete all - * revisions. - *- */ - public com.google.longrunning.Operation deleteService( - com.google.cloud.run.v2.DeleteServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets the IAM Access Control policy currently in effect for the given - * Cloud Run Service. This result does not include any inherited policies. - *- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Sets the IAM Access control policy for the specified Service. Overwrites - * any existing policy. - *- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Returns permissions that a caller has on the specified Project. - * There are no permissions required for making this API call. - *- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
- * Cloud Run Service Control Plane API - *- */ - public static final class ServicesFutureStub - extends io.grpc.stub.AbstractFutureStub
- * Creates a new Service in a given project and location. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Gets information about a Service. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Lists Services. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.run.v2.ListServicesResponse> - listServices(com.google.cloud.run.v2.ListServicesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListServicesMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Updates a Service. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a Service. - * This will cause the Service to stop serving traffic and will delete all - * revisions. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Gets the IAM Access Control policy currently in effect for the given - * Cloud Run Service. This result does not include any inherited policies. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Sets the IAM Access control policy for the specified Service. Overwrites - * any existing policy. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Returns permissions that a caller has on the specified Project. - * There are no permissions required for making this API call. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_SERVICE = 0; - private static final int METHODID_GET_SERVICE = 1; - private static final int METHODID_LIST_SERVICES = 2; - private static final int METHODID_UPDATE_SERVICE = 3; - private static final int METHODID_DELETE_SERVICE = 4; - private static final int METHODID_GET_IAM_POLICY = 5; - private static final int METHODID_SET_IAM_POLICY = 6; - private static final int METHODID_TEST_IAM_PERMISSIONS = 7; - - private static final class MethodHandlers
- * Cloud Run Task Control Plane API. - *- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/run/v2/task.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class TasksGrpc { - - private TasksGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.run.v2.Tasks"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetTaskRequest, com.google.cloud.run.v2.Task> - getGetTaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTask", - requestType = com.google.cloud.run.v2.GetTaskRequest.class, - responseType = com.google.cloud.run.v2.Task.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetTaskRequest, com.google.cloud.run.v2.Task> - getGetTaskMethod() { - io.grpc.MethodDescriptor
- * Cloud Run Task Control Plane API. - *- */ - public abstract static class TasksImplBase implements io.grpc.BindableService { - - /** - * - * - *
- * Gets information about a Task. - *- */ - public void getTask( - com.google.cloud.run.v2.GetTaskRequest request, - io.grpc.stub.StreamObserver
- * Lists Tasks from an Execution of a Job. - *- */ - public void listTasks( - com.google.cloud.run.v2.ListTasksRequest request, - io.grpc.stub.StreamObserver
- * Cloud Run Task Control Plane API. - *- */ - public static final class TasksStub extends io.grpc.stub.AbstractAsyncStub
- * Gets information about a Task. - *- */ - public void getTask( - com.google.cloud.run.v2.GetTaskRequest request, - io.grpc.stub.StreamObserver
- * Lists Tasks from an Execution of a Job. - *- */ - public void listTasks( - com.google.cloud.run.v2.ListTasksRequest request, - io.grpc.stub.StreamObserver
- * Cloud Run Task Control Plane API. - *- */ - public static final class TasksBlockingStub - extends io.grpc.stub.AbstractBlockingStub
- * Gets information about a Task. - *- */ - public com.google.cloud.run.v2.Task getTask(com.google.cloud.run.v2.GetTaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTaskMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists Tasks from an Execution of a Job. - *- */ - public com.google.cloud.run.v2.ListTasksResponse listTasks( - com.google.cloud.run.v2.ListTasksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTasksMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
- * Cloud Run Task Control Plane API. - *- */ - public static final class TasksFutureStub - extends io.grpc.stub.AbstractFutureStub
- * Gets information about a Task. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Lists Tasks from an Execution of a Job. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.run.v2.ListTasksResponse> - listTasks(com.google.cloud.run.v2.ListTasksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTasksMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_TASK = 0; - private static final int METHODID_LIST_TASKS = 1; - - private static final class MethodHandlers
- * Required. The full name of the Execution. - * Format: - * projects/{project}/locations/{location}/jobs/{job}/executions/{execution} - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The full name of the Execution. - * Format: - * projects/{project}/locations/{location}/jobs/{job}/executions/{execution} - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
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
deleted file mode 100644
index 78d2469ac30d..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequestOrBuilder.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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/job.proto
-
-package com.google.cloud.run.v2;
-
-public interface GetJobRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GetJobRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The full name of the Job. - * Format: projects/{project}/locations/{location}/jobs/{job} - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The full name of the Job. - * Format: projects/{project}/locations/{location}/jobs/{job} - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequestOrBuilder.java
deleted file mode 100644
index 370fcb971c76..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequestOrBuilder.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * 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/revision.proto
-
-package com.google.cloud.run.v2;
-
-public interface GetRevisionRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GetRevisionRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The full name of the Revision. - * Format: - * projects/{project}/locations/{location}/services/{service}/revisions/{revision} - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The full name of the Revision. - * Format: - * projects/{project}/locations/{location}/services/{service}/revisions/{revision} - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
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
deleted file mode 100644
index 86a7618df64f..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequestOrBuilder.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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/service.proto
-
-package com.google.cloud.run.v2;
-
-public interface GetServiceRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GetServiceRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The full name of the Service. - * Format: projects/{project}/locations/{location}/services/{service} - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The full name of the Service. - * Format: projects/{project}/locations/{location}/services/{service} - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequestOrBuilder.java
deleted file mode 100644
index be81363612a2..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequestOrBuilder.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * 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/task.proto
-
-package com.google.cloud.run.v2;
-
-public interface GetTaskRequestOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GetTaskRequest)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Required. The full name of the Task. - * Format: - * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task} - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The name.
- */
- java.lang.String getName();
- /**
- *
- *
- * - * Required. The full name of the Task. - * Format: - * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task} - *- * - *
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- *
- *
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString getNameBytes();
-}
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java
deleted file mode 100644
index 8c6298825459..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java
+++ /dev/null
@@ -1,341 +0,0 @@
-/*
- * 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/job.proto
-
-package com.google.cloud.run.v2;
-
-public final class JobProto {
- private JobProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_CreateJobRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_CreateJobRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_GetJobRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_GetJobRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_UpdateJobRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_ListJobsRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_ListJobsRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_ListJobsResponse_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_ListJobsResponse_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_DeleteJobRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_RunJobRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_RunJobRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Job_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Job_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Job_LabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Job_LabelsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Job_AnnotationsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Job_AnnotationsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_ExecutionReference_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_ExecutionReference_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n\035google/cloud/run/v2/job.proto\022\023google."
- + "cloud.run.v2\032\034google/api/annotations.pro"
- + "to\032\027google/api/client.proto\032\037google/api/"
- + "field_behavior.proto\032\035google/api/launch_"
- + "stage.proto\032\031google/api/resource.proto\032#"
- + "google/cloud/run/v2/condition.proto\032,goo"
- + "gle/cloud/run/v2/execution_template.prot"
- + "o\032)google/cloud/run/v2/vendor_settings.p"
- + "roto\032\036google/iam/v1/iam_policy.proto\032\032go"
- + "ogle/iam/v1/policy.proto\032#google/longrun"
- + "ning/operations.proto\032\037google/protobuf/t"
- + "imestamp.proto\"\232\001\n\020CreateJobRequest\022.\n\006p"
- + "arent\030\001 \001(\tB\036\340A\002\372A\030\022\026run.googleapis.com/"
- + "Job\022*\n\003job\030\002 \001(\0132\030.google.cloud.run.v2.J"
- + "obB\003\340A\002\022\023\n\006job_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalidate"
- + "_only\030\004 \001(\010\"=\n\rGetJobRequest\022,\n\004name\030\001 \001"
- + "(\tB\036\340A\002\372A\030\n\026run.googleapis.com/Job\"l\n\020Up"
- + "dateJobRequest\022*\n\003job\030\001 \001(\0132\030.google.clo"
- + "ud.run.v2.JobB\003\340A\002\022\025\n\rvalidate_only\030\003 \001("
- + "\010\022\025\n\rallow_missing\030\004 \001(\010\"~\n\017ListJobsRequ"
- + "est\022.\n\006parent\030\001 \001(\tB\036\340A\002\372A\030\022\026run.googlea"
- + "pis.com/Job\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t"
- + "oken\030\003 \001(\t\022\024\n\014show_deleted\030\004 \001(\010\"S\n\020List"
- + "JobsResponse\022&\n\004jobs\030\001 \003(\0132\030.google.clou"
- + "d.run.v2.Job\022\027\n\017next_page_token\030\002 \001(\t\"e\n"
- + "\020DeleteJobRequest\022,\n\004name\030\001 \001(\tB\036\340A\002\372A\030\n"
- + "\026run.googleapis.com/Job\022\025\n\rvalidate_only"
- + "\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"b\n\rRunJobRequest\022,\n"
- + "\004name\030\001 \001(\tB\036\340A\002\372A\030\n\026run.googleapis.com/"
- + "Job\022\025\n\rvalidate_only\030\002 \001(\010\022\014\n\004etag\030\003 \001(\t"
- + "\"\212\t\n\003Job\022\014\n\004name\030\001 \001(\t\022\020\n\003uid\030\002 \001(\tB\003\340A\003"
- + "\022\027\n\ngeneration\030\003 \001(\003B\003\340A\003\0224\n\006labels\030\004 \003("
- + "\0132$.google.cloud.run.v2.Job.LabelsEntry\022"
- + ">\n\013annotations\030\005 \003(\0132).google.cloud.run."
- + "v2.Job.AnnotationsEntry\0224\n\013create_time\030\006"
- + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n"
- + "\013update_time\030\007 \001(\0132\032.google.protobuf.Tim"
- + "estampB\003\340A\003\0224\n\013delete_time\030\010 \001(\0132\032.googl"
- + "e.protobuf.TimestampB\003\340A\003\0224\n\013expire_time"
- + "\030\t \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022"
- + "\024\n\007creator\030\n \001(\tB\003\340A\003\022\032\n\rlast_modifier\030\013"
- + " \001(\tB\003\340A\003\022\016\n\006client\030\014 \001(\t\022\026\n\016client_vers"
- + "ion\030\r \001(\t\022-\n\014launch_stage\030\016 \001(\0162\027.google"
- + ".api.LaunchStage\022F\n\024binary_authorization"
- + "\030\017 \001(\0132(.google.cloud.run.v2.BinaryAutho"
- + "rization\022=\n\010template\030\020 \001(\0132&.google.clou"
- + "d.run.v2.ExecutionTemplateB\003\340A\002\022 \n\023obser"
- + "ved_generation\030\021 \001(\003B\003\340A\003\022?\n\022terminal_co"
- + "ndition\030\022 \001(\0132\036.google.cloud.run.v2.Cond"
- + "itionB\003\340A\003\0227\n\nconditions\030\023 \003(\0132\036.google."
- + "cloud.run.v2.ConditionB\003\340A\003\022\034\n\017execution"
- + "_count\030\024 \001(\005B\003\340A\003\022N\n\030latest_created_exec"
- + "ution\030\026 \001(\0132\'.google.cloud.run.v2.Execut"
- + "ionReferenceB\003\340A\003\022\030\n\013reconciling\030\027 \001(\010B\003"
- + "\340A\003\022\021\n\004etag\030c \001(\tB\003\340A\003\032-\n\013LabelsEntry\022\013\n"
- + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020Annotat"
- + "ionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028"
- + "\001:R\352AO\n\026run.googleapis.com/Job\0222projects"
- + "/{project}/locations/{location}/jobs/{jo"
- + "b}R\001\001\"\253\001\n\022ExecutionReference\022/\n\004name\030\001 \001"
- + "(\tB!\372A\036\n\034run.googleapis.com/Execution\022/\n"
- + "\013create_time\030\002 \001(\0132\032.google.protobuf.Tim"
- + "estamp\0223\n\017completion_time\030\003 \001(\0132\032.google"
- + ".protobuf.Timestamp2\314\013\n\004Jobs\022\251\001\n\tCreateJ"
- + "ob\022%.google.cloud.run.v2.CreateJobReques"
- + "t\032\035.google.longrunning.Operation\"V\202\323\344\223\002/"
- + "\"(/v2/{parent=projects/*/locations/*}/jo"
- + "bs:\003job\332A\021parent,job,job_id\312A\n\n\003Job\022\003Job"
- + "\022\177\n\006GetJob\022\".google.cloud.run.v2.GetJobR"
- + "equest\032\030.google.cloud.run.v2.Job\"7\202\323\344\223\002*"
- + "\022(/v2/{name=projects/*/locations/*/jobs/"
- + "*}\332A\004name\022\222\001\n\010ListJobs\022$.google.cloud.ru"
- + "n.v2.ListJobsRequest\032%.google.cloud.run."
- + "v2.ListJobsResponse\"9\202\323\344\223\002*\022(/v2/{parent"
- + "=projects/*/locations/*}/jobs\332A\006parent\022\237"
- + "\001\n\tUpdateJob\022%.google.cloud.run.v2.Updat"
- + "eJobRequest\032\035.google.longrunning.Operati"
- + "on\"L\202\323\344\223\00232,/v2/{job.name=projects/*/loc"
- + "ations/*/jobs/*}:\003job\332A\003job\312A\n\n\003Job\022\003Job"
- + "\022\227\001\n\tDeleteJob\022%.google.cloud.run.v2.Del"
- + "eteJobRequest\032\035.google.longrunning.Opera"
- + "tion\"D\202\323\344\223\002**(/v2/{name=projects/*/locat"
- + "ions/*/jobs/*}\332A\004name\312A\n\n\003Job\022\003Job\022\244\001\n\006R"
- + "unJob\022\".google.cloud.run.v2.RunJobReques"
- + "t\032\035.google.longrunning.Operation\"W\202\323\344\223\0021"
- + "\",/v2/{name=projects/*/locations/*/jobs/"
- + "*}:run:\001*\332A\004name\312A\026\n\tExecution\022\tExecutio"
- + "n\022\214\001\n\014GetIamPolicy\022\".google.iam.v1.GetIa"
- + "mPolicyRequest\032\025.google.iam.v1.Policy\"A\202"
- + "\323\344\223\002;\0229/v2/{resource=projects/*/location"
- + "s/*/jobs/*}:getIamPolicy\022\217\001\n\014SetIamPolic"
- + "y\022\".google.iam.v1.SetIamPolicyRequest\032\025."
- + "google.iam.v1.Policy\"D\202\323\344\223\002>\"9/v2/{resou"
- + "rce=projects/*/locations/*/jobs/*}:setIa"
- + "mPolicy:\001*\022\265\001\n\022TestIamPermissions\022(.goog"
- + "le.iam.v1.TestIamPermissionsRequest\032).go"
- + "ogle.iam.v1.TestIamPermissionsResponse\"J"
- + "\202\323\344\223\002D\"?/v2/{resource=projects/*/locatio"
- + "ns/*/jobs/*}:testIamPermissions:\001*\032F\312A\022r"
- + "un.googleapis.com\322A.https://www.googleap"
- + "is.com/auth/cloud-platformB]\n\027com.google"
- + ".cloud.run.v2B\010JobProtoP\001Z6google.golang"
- + ".org/genproto/googleapis/cloud/run/v2;ru"
- + "nb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.api.ClientProto.getDescriptor(),
- com.google.api.FieldBehaviorProto.getDescriptor(),
- com.google.api.LaunchStageProto.getDescriptor(),
- com.google.api.ResourceProto.getDescriptor(),
- com.google.cloud.run.v2.ConditionProto.getDescriptor(),
- com.google.cloud.run.v2.ExecutionTemplateProto.getDescriptor(),
- com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(),
- com.google.iam.v1.IamPolicyProto.getDescriptor(),
- com.google.iam.v1.PolicyProto.getDescriptor(),
- com.google.longrunning.OperationsProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- });
- internal_static_google_cloud_run_v2_CreateJobRequest_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_run_v2_CreateJobRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_CreateJobRequest_descriptor,
- new java.lang.String[] {
- "Parent", "Job", "JobId", "ValidateOnly",
- });
- internal_static_google_cloud_run_v2_GetJobRequest_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_cloud_run_v2_GetJobRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_GetJobRequest_descriptor,
- new java.lang.String[] {
- "Name",
- });
- internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_cloud_run_v2_UpdateJobRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor,
- new java.lang.String[] {
- "Job", "ValidateOnly", "AllowMissing",
- });
- internal_static_google_cloud_run_v2_ListJobsRequest_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_google_cloud_run_v2_ListJobsRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_ListJobsRequest_descriptor,
- new java.lang.String[] {
- "Parent", "PageSize", "PageToken", "ShowDeleted",
- });
- internal_static_google_cloud_run_v2_ListJobsResponse_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_google_cloud_run_v2_ListJobsResponse_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_ListJobsResponse_descriptor,
- new java.lang.String[] {
- "Jobs", "NextPageToken",
- });
- internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor =
- getDescriptor().getMessageTypes().get(5);
- internal_static_google_cloud_run_v2_DeleteJobRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor,
- new java.lang.String[] {
- "Name", "ValidateOnly", "Etag",
- });
- internal_static_google_cloud_run_v2_RunJobRequest_descriptor =
- getDescriptor().getMessageTypes().get(6);
- internal_static_google_cloud_run_v2_RunJobRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_RunJobRequest_descriptor,
- new java.lang.String[] {
- "Name", "ValidateOnly", "Etag",
- });
- internal_static_google_cloud_run_v2_Job_descriptor = getDescriptor().getMessageTypes().get(7);
- internal_static_google_cloud_run_v2_Job_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Job_descriptor,
- new java.lang.String[] {
- "Name",
- "Uid",
- "Generation",
- "Labels",
- "Annotations",
- "CreateTime",
- "UpdateTime",
- "DeleteTime",
- "ExpireTime",
- "Creator",
- "LastModifier",
- "Client",
- "ClientVersion",
- "LaunchStage",
- "BinaryAuthorization",
- "Template",
- "ObservedGeneration",
- "TerminalCondition",
- "Conditions",
- "ExecutionCount",
- "LatestCreatedExecution",
- "Reconciling",
- "Etag",
- });
- internal_static_google_cloud_run_v2_Job_LabelsEntry_descriptor =
- internal_static_google_cloud_run_v2_Job_descriptor.getNestedTypes().get(0);
- internal_static_google_cloud_run_v2_Job_LabelsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Job_LabelsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_cloud_run_v2_Job_AnnotationsEntry_descriptor =
- internal_static_google_cloud_run_v2_Job_descriptor.getNestedTypes().get(1);
- internal_static_google_cloud_run_v2_Job_AnnotationsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Job_AnnotationsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_cloud_run_v2_ExecutionReference_descriptor =
- getDescriptor().getMessageTypes().get(8);
- internal_static_google_cloud_run_v2_ExecutionReference_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_ExecutionReference_descriptor,
- new java.lang.String[] {
- "Name", "CreateTime", "CompletionTime",
- });
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.ClientProto.defaultHost);
- registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
- registry.add(com.google.api.AnnotationsProto.http);
- registry.add(com.google.api.ClientProto.methodSignature);
- registry.add(com.google.api.ClientProto.oauthScopes);
- registry.add(com.google.api.ResourceProto.resource);
- registry.add(com.google.api.ResourceProto.resourceReference);
- registry.add(com.google.longrunning.OperationsProto.operationInfo);
- com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
- descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
- com.google.api.ClientProto.getDescriptor();
- com.google.api.FieldBehaviorProto.getDescriptor();
- com.google.api.LaunchStageProto.getDescriptor();
- com.google.api.ResourceProto.getDescriptor();
- com.google.cloud.run.v2.ConditionProto.getDescriptor();
- com.google.cloud.run.v2.ExecutionTemplateProto.getDescriptor();
- com.google.cloud.run.v2.VendorSettingsProto.getDescriptor();
- com.google.iam.v1.IamPolicyProto.getDescriptor();
- com.google.iam.v1.PolicyProto.getDescriptor();
- com.google.longrunning.OperationsProto.getDescriptor();
- com.google.protobuf.TimestampProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
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
deleted file mode 100644
index 18a11fdfc40c..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java
+++ /dev/null
@@ -1,329 +0,0 @@
-/*
- * 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 final class K8sMinProto {
- private K8sMinProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Container_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Container_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_ResourceRequirements_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_ResourceRequirements_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_EnvVar_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_EnvVar_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_EnvVarSource_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_EnvVarSource_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_SecretKeySelector_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_SecretKeySelector_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_ContainerPort_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_ContainerPort_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_VolumeMount_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_VolumeMount_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Volume_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Volume_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_SecretVolumeSource_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_VersionToPath_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_VersionToPath_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_CloudSqlInstance_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Probe_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Probe_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_HTTPGetAction_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_HTTPGetAction_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_HTTPHeader_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_HTTPHeader_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_TCPSocketAction_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_TCPSocketAction_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n!google/cloud/run/v2/k8s.min.proto\022\023goo"
- + "gle.cloud.run.v2\032\037google/api/field_behav"
- + "ior.proto\032\031google/api/resource.proto\"\234\003\n"
- + "\tContainer\022\014\n\004name\030\001 \001(\t\022\022\n\005image\030\002 \001(\tB"
- + "\003\340A\002\022\017\n\007command\030\003 \003(\t\022\014\n\004args\030\004 \003(\t\022(\n\003e"
- + "nv\030\005 \003(\0132\033.google.cloud.run.v2.EnvVar\022<\n"
- + "\tresources\030\006 \001(\0132).google.cloud.run.v2.R"
- + "esourceRequirements\0221\n\005ports\030\007 \003(\0132\".goo"
- + "gle.cloud.run.v2.ContainerPort\0227\n\rvolume"
- + "_mounts\030\010 \003(\0132 .google.cloud.run.v2.Volu"
- + "meMount\022\023\n\013working_dir\030\t \001(\t\0222\n\016liveness"
- + "_probe\030\n \001(\0132\032.google.cloud.run.v2.Probe"
- + "\0221\n\rstartup_probe\030\013 \001(\0132\032.google.cloud.r"
- + "un.v2.Probe\"\236\001\n\024ResourceRequirements\022E\n\006"
- + "limits\030\001 \003(\01325.google.cloud.run.v2.Resou"
- + "rceRequirements.LimitsEntry\022\020\n\010cpu_idle\030"
- + "\002 \001(\010\032-\n\013LimitsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val"
- + "ue\030\002 \001(\t:\0028\001\"q\n\006EnvVar\022\021\n\004name\030\001 \001(\tB\003\340A"
- + "\002\022\017\n\005value\030\002 \001(\tH\000\0229\n\014value_source\030\003 \001(\013"
- + "2!.google.cloud.run.v2.EnvVarSourceH\000B\010\n"
- + "\006values\"N\n\014EnvVarSource\022>\n\016secret_key_re"
- + "f\030\001 \001(\0132&.google.cloud.run.v2.SecretKeyS"
- + "elector\"\222\001\n\021SecretKeySelector\022;\n\006secret\030"
- + "\001 \001(\tB+\340A\002\372A%\n#secretmanager.googleapis."
- + "com/Secret\022@\n\007version\030\002 \001(\tB/\372A,\n*secret"
- + "manager.googleapis.com/SecretVersion\"5\n\r"
- + "ContainerPort\022\014\n\004name\030\001 \001(\t\022\026\n\016container"
- + "_port\030\003 \001(\005\"9\n\013VolumeMount\022\021\n\004name\030\001 \001(\t"
- + "B\003\340A\002\022\027\n\nmount_path\030\003 \001(\tB\003\340A\002\"\252\001\n\006Volum"
- + "e\022\021\n\004name\030\001 \001(\tB\003\340A\002\0229\n\006secret\030\002 \001(\0132\'.g"
- + "oogle.cloud.run.v2.SecretVolumeSourceH\000\022"
- + "C\n\022cloud_sql_instance\030\003 \001(\0132%.google.clo"
- + "ud.run.v2.CloudSqlInstanceH\000B\r\n\013volume_t"
- + "ype\"r\n\022SecretVolumeSource\022\023\n\006secret\030\001 \001("
- + "\tB\003\340A\002\0221\n\005items\030\002 \003(\0132\".google.cloud.run"
- + ".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"
- + "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"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.FieldBehaviorProto.getDescriptor(),
- com.google.api.ResourceProto.getDescriptor(),
- });
- internal_static_google_cloud_run_v2_Container_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_run_v2_Container_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Container_descriptor,
- new java.lang.String[] {
- "Name",
- "Image",
- "Command",
- "Args",
- "Env",
- "Resources",
- "Ports",
- "VolumeMounts",
- "WorkingDir",
- "LivenessProbe",
- "StartupProbe",
- });
- internal_static_google_cloud_run_v2_ResourceRequirements_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_cloud_run_v2_ResourceRequirements_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_ResourceRequirements_descriptor,
- new java.lang.String[] {
- "Limits", "CpuIdle",
- });
- internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_descriptor =
- internal_static_google_cloud_run_v2_ResourceRequirements_descriptor.getNestedTypes().get(0);
- internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_cloud_run_v2_EnvVar_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_cloud_run_v2_EnvVar_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_EnvVar_descriptor,
- new java.lang.String[] {
- "Name", "Value", "ValueSource", "Values",
- });
- internal_static_google_cloud_run_v2_EnvVarSource_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_google_cloud_run_v2_EnvVarSource_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_EnvVarSource_descriptor,
- new java.lang.String[] {
- "SecretKeyRef",
- });
- internal_static_google_cloud_run_v2_SecretKeySelector_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_google_cloud_run_v2_SecretKeySelector_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_SecretKeySelector_descriptor,
- new java.lang.String[] {
- "Secret", "Version",
- });
- internal_static_google_cloud_run_v2_ContainerPort_descriptor =
- getDescriptor().getMessageTypes().get(5);
- internal_static_google_cloud_run_v2_ContainerPort_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_ContainerPort_descriptor,
- new java.lang.String[] {
- "Name", "ContainerPort",
- });
- internal_static_google_cloud_run_v2_VolumeMount_descriptor =
- getDescriptor().getMessageTypes().get(6);
- internal_static_google_cloud_run_v2_VolumeMount_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_VolumeMount_descriptor,
- new java.lang.String[] {
- "Name", "MountPath",
- });
- internal_static_google_cloud_run_v2_Volume_descriptor =
- getDescriptor().getMessageTypes().get(7);
- internal_static_google_cloud_run_v2_Volume_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Volume_descriptor,
- new java.lang.String[] {
- "Name", "Secret", "CloudSqlInstance", "VolumeType",
- });
- internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor =
- getDescriptor().getMessageTypes().get(8);
- internal_static_google_cloud_run_v2_SecretVolumeSource_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor,
- new java.lang.String[] {
- "Secret", "Items", "DefaultMode",
- });
- internal_static_google_cloud_run_v2_VersionToPath_descriptor =
- getDescriptor().getMessageTypes().get(9);
- internal_static_google_cloud_run_v2_VersionToPath_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_VersionToPath_descriptor,
- new java.lang.String[] {
- "Path", "Version", "Mode",
- });
- internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor =
- getDescriptor().getMessageTypes().get(10);
- internal_static_google_cloud_run_v2_CloudSqlInstance_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor,
- new java.lang.String[] {
- "Instances",
- });
- internal_static_google_cloud_run_v2_Probe_descriptor =
- getDescriptor().getMessageTypes().get(11);
- internal_static_google_cloud_run_v2_Probe_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Probe_descriptor,
- new java.lang.String[] {
- "InitialDelaySeconds",
- "TimeoutSeconds",
- "PeriodSeconds",
- "FailureThreshold",
- "HttpGet",
- "TcpSocket",
- "ProbeType",
- });
- internal_static_google_cloud_run_v2_HTTPGetAction_descriptor =
- getDescriptor().getMessageTypes().get(12);
- internal_static_google_cloud_run_v2_HTTPGetAction_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_HTTPGetAction_descriptor,
- new java.lang.String[] {
- "Path", "HttpHeaders",
- });
- internal_static_google_cloud_run_v2_HTTPHeader_descriptor =
- getDescriptor().getMessageTypes().get(13);
- internal_static_google_cloud_run_v2_HTTPHeader_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_HTTPHeader_descriptor,
- new java.lang.String[] {
- "Name", "Value",
- });
- internal_static_google_cloud_run_v2_TCPSocketAction_descriptor =
- getDescriptor().getMessageTypes().get(14);
- internal_static_google_cloud_run_v2_TCPSocketAction_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_TCPSocketAction_descriptor,
- new java.lang.String[] {
- "Port",
- });
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
- registry.add(com.google.api.ResourceProto.resourceDefinition);
- registry.add(com.google.api.ResourceProto.resourceReference);
- com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
- descriptor, registry);
- com.google.api.FieldBehaviorProto.getDescriptor();
- com.google.api.ResourceProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
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
deleted file mode 100644
index 34a5a4563c97..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirementsOrBuilder.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- * 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 ResourceRequirementsOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ResourceRequirements)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * 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: - * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go - *- * - *
map<string, string> limits = 1;
- */
- 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: - * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go - *- * - *
map<string, string> limits = 1;
- */
- boolean containsLimits(java.lang.String key);
- /** Use {@link #getLimitsMap()} instead. */
- @java.lang.Deprecated
- java.util.Map- * 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: - * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go - *- * - *
map<string, string> limits = 1;
- */
- java.util.Map- * 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: - * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go - *- * - *
map<string, string> limits = 1;
- */
-
- /* nullable */
- java.lang.String getLimitsOrDefault(
- java.lang.String key,
- /* nullable */
- java.lang.String defaultValue);
- /**
- *
- *
- * - * 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: - * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go - *- * - *
map<string, string> limits = 1;
- */
- java.lang.String getLimitsOrThrow(java.lang.String key);
-
- /**
- *
- *
- * - * Determines whether CPU should be throttled or not outside of requests. - *- * - *
bool cpu_idle = 2;
- *
- * @return The cpuIdle.
- */
- boolean getCpuIdle();
-}
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java
deleted file mode 100644
index 9e62e90a7b21..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java
+++ /dev/null
@@ -1,271 +0,0 @@
-/*
- * 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/revision.proto
-
-package com.google.cloud.run.v2;
-
-public final class RevisionProto {
- private RevisionProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_GetRevisionRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_GetRevisionRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_ListRevisionsRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_ListRevisionsResponse_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_DeleteRevisionRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Revision_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Revision_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Revision_LabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Revision_LabelsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n\"google/cloud/run/v2/revision.proto\022\023go"
- + "ogle.cloud.run.v2\032\034google/api/annotation"
- + "s.proto\032\027google/api/client.proto\032\037google"
- + "/api/field_behavior.proto\032\035google/api/la"
- + "unch_stage.proto\032\031google/api/resource.pr"
- + "oto\032\030google/api/routing.proto\032#google/cl"
- + "oud/run/v2/condition.proto\032!google/cloud"
- + "/run/v2/k8s.min.proto\032)google/cloud/run/"
- + "v2/vendor_settings.proto\032#google/longrun"
- + "ning/operations.proto\032\036google/protobuf/d"
- + "uration.proto\032\037google/protobuf/timestamp"
- + ".proto\"G\n\022GetRevisionRequest\0221\n\004name\030\001 \001"
- + "(\tB#\340A\002\372A\035\n\033run.googleapis.com/Revision\""
- + "\210\001\n\024ListRevisionsRequest\0223\n\006parent\030\001 \001(\t"
- + "B#\340A\002\372A\035\022\033run.googleapis.com/Revision\022\021\n"
- + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014"
- + "show_deleted\030\004 \001(\010\"b\n\025ListRevisionsRespo"
- + "nse\0220\n\trevisions\030\001 \003(\0132\035.google.cloud.ru"
- + "n.v2.Revision\022\027\n\017next_page_token\030\002 \001(\t\"o"
- + "\n\025DeleteRevisionRequest\0221\n\004name\030\001 \001(\tB#\340"
- + "A\002\372A\035\n\033run.googleapis.com/Revision\022\025\n\rva"
- + "lidate_only\030\002 \001(\010\022\014\n\004etag\030\003 \001(\t\"\301\n\n\010Revi"
- + "sion\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\020\n\003uid\030\002 \001(\tB\003\340A"
- + "\003\022\027\n\ngeneration\030\003 \001(\003B\003\340A\003\0229\n\006labels\030\004 \003"
- + "(\0132).google.cloud.run.v2.Revision.Labels"
- + "Entry\022C\n\013annotations\030\005 \003(\0132..google.clou"
- + "d.run.v2.Revision.AnnotationsEntry\0224\n\013cr"
- + "eate_time\030\006 \001(\0132\032.google.protobuf.Timest"
- + "ampB\003\340A\003\0224\n\013update_time\030\007 \001(\0132\032.google.p"
- + "rotobuf.TimestampB\003\340A\003\0224\n\013delete_time\030\010 "
- + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013"
- + "expire_time\030\t \001(\0132\032.google.protobuf.Time"
- + "stampB\003\340A\003\022-\n\014launch_stage\030\n \001(\0162\027.googl"
- + "e.api.LaunchStage\0223\n\007service\030\013 \001(\tB\"\340A\003\372"
- + "A\034\n\032run.googleapis.com/Service\0225\n\007scalin"
- + "g\030\014 \001(\0132$.google.cloud.run.v2.RevisionSc"
- + "aling\0222\n\nvpc_access\030\r \001(\0132\036.google.cloud"
- + ".run.v2.VpcAccess\022(\n max_instance_reques"
- + "t_concurrency\030\" \001(\005\022*\n\007timeout\030\017 \001(\0132\031.g"
- + "oogle.protobuf.Duration\022\027\n\017service_accou"
- + "nt\030\020 \001(\t\0222\n\ncontainers\030\021 \003(\0132\036.google.cl"
- + "oud.run.v2.Container\022,\n\007volumes\030\022 \003(\0132\033."
- + "google.cloud.run.v2.Volume\022H\n\025execution_"
- + "environment\030\024 \001(\0162).google.cloud.run.v2."
- + "ExecutionEnvironment\022>\n\016encryption_key\030\025"
- + " \001(\tB&\372A#\n!cloudkms.googleapis.com/Crypt"
- + "oKey\022\030\n\013reconciling\030\036 \001(\010B\003\340A\003\0227\n\ncondit"
- + "ions\030\037 \003(\0132\036.google.cloud.run.v2.Conditi"
- + "onB\003\340A\003\022 \n\023observed_generation\030 \001(\003B\003\340A"
- + "\003\022\024\n\007log_uri\030! \001(\tB\003\340A\003\022\021\n\004etag\030c \001(\tB\003\340"
- + "A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
- + "\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001"
- + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001:t\352Aq\n\033run.googleap"
- + "is.com/Revision\022Oprojects/{project}/loca"
- + "tions/{location}/services/{service}/revi"
- + "sions/{revision}R\001\0012\205\006\n\tRevisions\022\322\001\n\013Ge"
- + "tRevision\022\'.google.cloud.run.v2.GetRevis"
- + "ionRequest\032\035.google.cloud.run.v2.Revisio"
- + "n\"{\202\323\344\223\002:\0228/v2/{name=projects/*/location"
- + "s/*/services/*/revisions/*}\212\323\344\223\002.\022,\n\004nam"
- + "e\022$projects/*/locations/{location=*}/**\332"
- + "A\004name\022\347\001\n\rListRevisions\022).google.cloud."
- + "run.v2.ListRevisionsRequest\032*.google.clo"
- + "ud.run.v2.ListRevisionsResponse\"\177\202\323\344\223\002:\022"
- + "8/v2/{parent=projects/*/locations/*/serv"
- + "ices/*}/revisions\212\323\344\223\0020\022.\n\006parent\022$proje"
- + "cts/*/locations/{location=*}/**\332A\006parent"
- + "\022\360\001\n\016DeleteRevision\022*.google.cloud.run.v"
- + "2.DeleteRevisionRequest\032\035.google.longrun"
- + "ning.Operation\"\222\001\202\323\344\223\002:*8/v2/{name=proje"
- + "cts/*/locations/*/services/*/revisions/*"
- + "}\212\323\344\223\002.\022,\n\004name\022$projects/*/locations/{l"
- + "ocation=*}/**\332A\004name\312A\024\n\010Revision\022\010Revis"
- + "ion\032F\312A\022run.googleapis.com\322A.https://www"
- + ".googleapis.com/auth/cloud-platformBb\n\027c"
- + "om.google.cloud.run.v2B\rRevisionProtoP\001Z"
- + "6google.golang.org/genproto/googleapis/c"
- + "loud/run/v2;runb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.api.ClientProto.getDescriptor(),
- com.google.api.FieldBehaviorProto.getDescriptor(),
- com.google.api.LaunchStageProto.getDescriptor(),
- com.google.api.ResourceProto.getDescriptor(),
- com.google.api.RoutingProto.getDescriptor(),
- com.google.cloud.run.v2.ConditionProto.getDescriptor(),
- com.google.cloud.run.v2.K8sMinProto.getDescriptor(),
- com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(),
- com.google.longrunning.OperationsProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- });
- internal_static_google_cloud_run_v2_GetRevisionRequest_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_run_v2_GetRevisionRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_GetRevisionRequest_descriptor,
- new java.lang.String[] {
- "Name",
- });
- internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_cloud_run_v2_ListRevisionsRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor,
- new java.lang.String[] {
- "Parent", "PageSize", "PageToken", "ShowDeleted",
- });
- internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_cloud_run_v2_ListRevisionsResponse_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor,
- new java.lang.String[] {
- "Revisions", "NextPageToken",
- });
- internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_google_cloud_run_v2_DeleteRevisionRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor,
- new java.lang.String[] {
- "Name", "ValidateOnly", "Etag",
- });
- internal_static_google_cloud_run_v2_Revision_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_google_cloud_run_v2_Revision_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Revision_descriptor,
- new java.lang.String[] {
- "Name",
- "Uid",
- "Generation",
- "Labels",
- "Annotations",
- "CreateTime",
- "UpdateTime",
- "DeleteTime",
- "ExpireTime",
- "LaunchStage",
- "Service",
- "Scaling",
- "VpcAccess",
- "MaxInstanceRequestConcurrency",
- "Timeout",
- "ServiceAccount",
- "Containers",
- "Volumes",
- "ExecutionEnvironment",
- "EncryptionKey",
- "Reconciling",
- "Conditions",
- "ObservedGeneration",
- "LogUri",
- "Etag",
- });
- internal_static_google_cloud_run_v2_Revision_LabelsEntry_descriptor =
- internal_static_google_cloud_run_v2_Revision_descriptor.getNestedTypes().get(0);
- internal_static_google_cloud_run_v2_Revision_LabelsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Revision_LabelsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_descriptor =
- internal_static_google_cloud_run_v2_Revision_descriptor.getNestedTypes().get(1);
- internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.ClientProto.defaultHost);
- registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
- registry.add(com.google.api.AnnotationsProto.http);
- registry.add(com.google.api.ClientProto.methodSignature);
- registry.add(com.google.api.ClientProto.oauthScopes);
- registry.add(com.google.api.ResourceProto.resource);
- registry.add(com.google.api.ResourceProto.resourceReference);
- registry.add(com.google.api.RoutingProto.routing);
- registry.add(com.google.longrunning.OperationsProto.operationInfo);
- com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
- descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
- com.google.api.ClientProto.getDescriptor();
- com.google.api.FieldBehaviorProto.getDescriptor();
- com.google.api.LaunchStageProto.getDescriptor();
- com.google.api.ResourceProto.getDescriptor();
- com.google.api.RoutingProto.getDescriptor();
- com.google.cloud.run.v2.ConditionProto.getDescriptor();
- com.google.cloud.run.v2.K8sMinProto.getDescriptor();
- com.google.cloud.run.v2.VendorSettingsProto.getDescriptor();
- com.google.longrunning.OperationsProto.getDescriptor();
- com.google.protobuf.DurationProto.getDescriptor();
- com.google.protobuf.TimestampProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java
deleted file mode 100644
index b25c31923964..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java
+++ /dev/null
@@ -1,136 +0,0 @@
-/*
- * 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/revision_template.proto
-
-package com.google.cloud.run.v2;
-
-public final class RevisionTemplateProto {
- private RevisionTemplateProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_RevisionTemplate_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_RevisionTemplate_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n+google/cloud/run/v2/revision_template."
- + "proto\022\023google.cloud.run.v2\032\031google/api/r"
- + "esource.proto\032!google/cloud/run/v2/k8s.m"
- + "in.proto\032)google/cloud/run/v2/vendor_set"
- + "tings.proto\032\036google/protobuf/duration.pr"
- + "oto\"\377\005\n\020RevisionTemplate\0222\n\010revision\030\001 \001"
- + "(\tB \372A\035\n\033run.googleapis.com/Revision\022A\n\006"
- + "labels\030\002 \003(\01321.google.cloud.run.v2.Revis"
- + "ionTemplate.LabelsEntry\022K\n\013annotations\030\003"
- + " \003(\01326.google.cloud.run.v2.RevisionTempl"
- + "ate.AnnotationsEntry\0225\n\007scaling\030\004 \001(\0132$."
- + "google.cloud.run.v2.RevisionScaling\0222\n\nv"
- + "pc_access\030\006 \001(\0132\036.google.cloud.run.v2.Vp"
- + "cAccess\022*\n\007timeout\030\010 \001(\0132\031.google.protob"
- + "uf.Duration\022\027\n\017service_account\030\t \001(\t\0222\n\n"
- + "containers\030\n \003(\0132\036.google.cloud.run.v2.C"
- + "ontainer\022,\n\007volumes\030\013 \003(\0132\033.google.cloud"
- + ".run.v2.Volume\022H\n\025execution_environment\030"
- + "\r \001(\0162).google.cloud.run.v2.ExecutionEnv"
- + "ironment\022>\n\016encryption_key\030\016 \001(\tB&\372A#\n!c"
- + "loudkms.googleapis.com/CryptoKey\022(\n max_"
- + "instance_request_concurrency\030\017 \001(\005\032-\n\013La"
- + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028"
- + "\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va"
- + "lue\030\002 \001(\t:\0028\001Bj\n\027com.google.cloud.run.v2"
- + "B\025RevisionTemplateProtoP\001Z6google.golang"
- + ".org/genproto/googleapis/cloud/run/v2;ru"
- + "nb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.ResourceProto.getDescriptor(),
- com.google.cloud.run.v2.K8sMinProto.getDescriptor(),
- com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- });
- internal_static_google_cloud_run_v2_RevisionTemplate_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_run_v2_RevisionTemplate_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_RevisionTemplate_descriptor,
- new java.lang.String[] {
- "Revision",
- "Labels",
- "Annotations",
- "Scaling",
- "VpcAccess",
- "Timeout",
- "ServiceAccount",
- "Containers",
- "Volumes",
- "ExecutionEnvironment",
- "EncryptionKey",
- "MaxInstanceRequestConcurrency",
- });
- internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_descriptor =
- internal_static_google_cloud_run_v2_RevisionTemplate_descriptor.getNestedTypes().get(0);
- internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_descriptor =
- internal_static_google_cloud_run_v2_RevisionTemplate_descriptor.getNestedTypes().get(1);
- internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.ResourceProto.resourceReference);
- com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
- descriptor, registry);
- com.google.api.ResourceProto.getDescriptor();
- com.google.cloud.run.v2.K8sMinProto.getDescriptor();
- com.google.cloud.run.v2.VendorSettingsProto.getDescriptor();
- com.google.protobuf.DurationProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java
deleted file mode 100644
index 13250613bb93..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java
+++ /dev/null
@@ -1,337 +0,0 @@
-/*
- * 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/service.proto
-
-package com.google.cloud.run.v2;
-
-public final class ServiceProto {
- private ServiceProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_CreateServiceRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_CreateServiceRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_UpdateServiceRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_ListServicesRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_ListServicesRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_ListServicesResponse_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_ListServicesResponse_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_GetServiceRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_GetServiceRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_DeleteServiceRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Service_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Service_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Service_LabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Service_LabelsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Service_AnnotationsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Service_AnnotationsEntry_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n!google/cloud/run/v2/service.proto\022\023goo"
- + "gle.cloud.run.v2\032\034google/api/annotations"
- + ".proto\032\027google/api/client.proto\032\037google/"
- + "api/field_behavior.proto\032\035google/api/lau"
- + "nch_stage.proto\032\031google/api/resource.pro"
- + "to\032\030google/api/routing.proto\032#google/clo"
- + "ud/run/v2/condition.proto\032+google/cloud/"
- + "run/v2/revision_template.proto\032(google/c"
- + "loud/run/v2/traffic_target.proto\032)google"
- + "/cloud/run/v2/vendor_settings.proto\032\036goo"
- + "gle/iam/v1/iam_policy.proto\032\032google/iam/"
- + "v1/policy.proto\032#google/longrunning/oper"
- + "ations.proto\032\037google/protobuf/timestamp."
- + "proto\"\256\001\n\024CreateServiceRequest\0222\n\006parent"
- + "\030\001 \001(\tB\"\340A\002\372A\034\022\032run.googleapis.com/Servi"
- + "ce\0222\n\007service\030\002 \001(\0132\034.google.cloud.run.v"
- + "2.ServiceB\003\340A\002\022\027\n\nservice_id\030\003 \001(\tB\003\340A\002\022"
- + "\025\n\rvalidate_only\030\004 \001(\010\"x\n\024UpdateServiceR"
- + "equest\0222\n\007service\030\001 \001(\0132\034.google.cloud.r"
- + "un.v2.ServiceB\003\340A\002\022\025\n\rvalidate_only\030\003 \001("
- + "\010\022\025\n\rallow_missing\030\004 \001(\010\"\206\001\n\023ListService"
- + "sRequest\0222\n\006parent\030\001 \001(\tB\"\340A\002\372A\034\022\032run.go"
- + "ogleapis.com/Service\022\021\n\tpage_size\030\002 \001(\005\022"
- + "\022\n\npage_token\030\003 \001(\t\022\024\n\014show_deleted\030\004 \001("
- + "\010\"_\n\024ListServicesResponse\022.\n\010services\030\001 "
- + "\003(\0132\034.google.cloud.run.v2.Service\022\027\n\017nex"
- + "t_page_token\030\002 \001(\t\"E\n\021GetServiceRequest\022"
- + "0\n\004name\030\001 \001(\tB\"\340A\002\372A\034\n\032run.googleapis.co"
- + "m/Service\"m\n\024DeleteServiceRequest\0220\n\004nam"
- + "e\030\001 \001(\tB\"\340A\002\372A\034\n\032run.googleapis.com/Serv"
- + "ice\022\025\n\rvalidate_only\030\002 \001(\010\022\014\n\004etag\030\003 \001(\t"
- + "\"\230\013\n\007Service\022\014\n\004name\030\001 \001(\t\022\023\n\013descriptio"
- + "n\030\002 \001(\t\022\020\n\003uid\030\003 \001(\tB\003\340A\003\022\027\n\ngeneration\030"
- + "\004 \001(\003B\003\340A\003\0228\n\006labels\030\005 \003(\0132(.google.clou"
- + "d.run.v2.Service.LabelsEntry\022B\n\013annotati"
- + "ons\030\006 \003(\0132-.google.cloud.run.v2.Service."
- + "AnnotationsEntry\0224\n\013create_time\030\007 \001(\0132\032."
- + "google.protobuf.TimestampB\003\340A\003\0224\n\013update"
- + "_time\030\010 \001(\0132\032.google.protobuf.TimestampB"
- + "\003\340A\003\0224\n\013delete_time\030\t \001(\0132\032.google.proto"
- + "buf.TimestampB\003\340A\003\0224\n\013expire_time\030\n \001(\0132"
- + "\032.google.protobuf.TimestampB\003\340A\003\022\024\n\007crea"
- + "tor\030\013 \001(\tB\003\340A\003\022\032\n\rlast_modifier\030\014 \001(\tB\003\340"
- + "A\003\022\016\n\006client\030\r \001(\t\022\026\n\016client_version\030\016 \001"
- + "(\t\0224\n\007ingress\030\017 \001(\0162#.google.cloud.run.v"
- + "2.IngressTraffic\022-\n\014launch_stage\030\020 \001(\0162\027"
- + ".google.api.LaunchStage\022F\n\024binary_author"
- + "ization\030\021 \001(\0132(.google.cloud.run.v2.Bina"
- + "ryAuthorization\022<\n\010template\030\022 \001(\0132%.goog"
- + "le.cloud.run.v2.RevisionTemplateB\003\340A\002\0223\n"
- + "\007traffic\030\023 \003(\0132\".google.cloud.run.v2.Tra"
- + "fficTarget\022 \n\023observed_generation\030\036 \001(\003B"
- + "\003\340A\003\022?\n\022terminal_condition\030\037 \001(\0132\036.googl"
- + "e.cloud.run.v2.ConditionB\003\340A\003\0227\n\nconditi"
- + "ons\030 \003(\0132\036.google.cloud.run.v2.Conditio"
- + "nB\003\340A\003\022B\n\025latest_ready_revision\030! \001(\tB#\340"
- + "A\003\372A\035\n\033run.googleapis.com/Revision\022D\n\027la"
- + "test_created_revision\030\" \001(\tB#\340A\003\372A\035\n\033run"
- + ".googleapis.com/Revision\022G\n\020traffic_stat"
- + "uses\030# \003(\0132(.google.cloud.run.v2.Traffic"
- + "TargetStatusB\003\340A\003\022\020\n\003uri\030$ \001(\tB\003\340A\003\022\030\n\013r"
- + "econciling\030b \001(\010B\003\340A\003\022\021\n\004etag\030c \001(\tB\003\340A\003"
- + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 "
- + "\001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t"
- + "\022\r\n\005value\030\002 \001(\t:\0028\001:^\352A[\n\032run.googleapis"
- + ".com/Service\022:projects/{project}/locatio"
- + "ns/{location}/services/{service}R\001\0012\267\r\n\010"
- + "Services\022\375\001\n\rCreateService\022).google.clou"
- + "d.run.v2.CreateServiceRequest\032\035.google.l"
- + "ongrunning.Operation\"\241\001\202\323\344\223\0027\",/v2/{pare"
- + "nt=projects/*/locations/*}/services:\007ser"
- + "vice\212\323\344\223\002-\022+\n\006parent\022!projects/*/locatio"
- + "ns/{location=*}\332A\031parent,service,service"
- + "_id\312A\022\n\007Service\022\007Service\022\303\001\n\nGetService\022"
- + "&.google.cloud.run.v2.GetServiceRequest\032"
- + "\034.google.cloud.run.v2.Service\"o\202\323\344\223\002.\022,/"
- + "v2/{name=projects/*/locations/*/services"
- + "/*}\212\323\344\223\002.\022,\n\004name\022$projects/*/locations/"
- + "{location=*}/**\332A\004name\022\325\001\n\014ListServices\022"
- + "(.google.cloud.run.v2.ListServicesReques"
- + "t\032).google.cloud.run.v2.ListServicesResp"
- + "onse\"p\202\323\344\223\002.\022,/v2/{parent=projects/*/loc"
- + "ations/*}/services\212\323\344\223\002-\022+\n\006parent\022!proj"
- + "ects/*/locations/{location=*}\332A\006parent\022\374"
- + "\001\n\rUpdateService\022).google.cloud.run.v2.U"
- + "pdateServiceRequest\032\035.google.longrunning"
- + ".Operation\"\240\001\202\323\344\223\002?24/v2/{service.name=p"
- + "rojects/*/locations/*/services/*}:\007servi"
- + "ce\212\323\344\223\0026\0224\n\014service.name\022$projects/*/loc"
- + "ations/{location=*}/**\332A\007service\312A\022\n\007Ser"
- + "vice\022\007Service\022\340\001\n\rDeleteService\022).google"
- + ".cloud.run.v2.DeleteServiceRequest\032\035.goo"
- + "gle.longrunning.Operation\"\204\001\202\323\344\223\002.*,/v2/"
- + "{name=projects/*/locations/*/services/*}"
- + "\212\323\344\223\002.\022,\n\004name\022$projects/*/locations/{lo"
- + "cation=*}/**\332A\004name\312A\022\n\007Service\022\007Service"
- + "\022\220\001\n\014GetIamPolicy\022\".google.iam.v1.GetIam"
- + "PolicyRequest\032\025.google.iam.v1.Policy\"E\202\323"
- + "\344\223\002?\022=/v2/{resource=projects/*/locations"
- + "/*/services/*}:getIamPolicy\022\223\001\n\014SetIamPo"
- + "licy\022\".google.iam.v1.SetIamPolicyRequest"
- + "\032\025.google.iam.v1.Policy\"H\202\323\344\223\002B\"=/v2/{re"
- + "source=projects/*/locations/*/services/*"
- + "}:setIamPolicy:\001*\022\271\001\n\022TestIamPermissions"
- + "\022(.google.iam.v1.TestIamPermissionsReque"
- + "st\032).google.iam.v1.TestIamPermissionsRes"
- + "ponse\"N\202\323\344\223\002H\"C/v2/{resource=projects/*/"
- + "locations/*/services/*}:testIamPermissio"
- + "ns:\001*\032F\312A\022run.googleapis.com\322A.https://w"
- + "ww.googleapis.com/auth/cloud-platformBa\n"
- + "\027com.google.cloud.run.v2B\014ServiceProtoP\001"
- + "Z6google.golang.org/genproto/googleapis/"
- + "cloud/run/v2;runb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.api.ClientProto.getDescriptor(),
- com.google.api.FieldBehaviorProto.getDescriptor(),
- com.google.api.LaunchStageProto.getDescriptor(),
- com.google.api.ResourceProto.getDescriptor(),
- com.google.api.RoutingProto.getDescriptor(),
- com.google.cloud.run.v2.ConditionProto.getDescriptor(),
- com.google.cloud.run.v2.RevisionTemplateProto.getDescriptor(),
- com.google.cloud.run.v2.TrafficTargetProto.getDescriptor(),
- com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(),
- com.google.iam.v1.IamPolicyProto.getDescriptor(),
- com.google.iam.v1.PolicyProto.getDescriptor(),
- com.google.longrunning.OperationsProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- });
- internal_static_google_cloud_run_v2_CreateServiceRequest_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_run_v2_CreateServiceRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_CreateServiceRequest_descriptor,
- new java.lang.String[] {
- "Parent", "Service", "ServiceId", "ValidateOnly",
- });
- internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_cloud_run_v2_UpdateServiceRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor,
- new java.lang.String[] {
- "Service", "ValidateOnly", "AllowMissing",
- });
- internal_static_google_cloud_run_v2_ListServicesRequest_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_cloud_run_v2_ListServicesRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_ListServicesRequest_descriptor,
- new java.lang.String[] {
- "Parent", "PageSize", "PageToken", "ShowDeleted",
- });
- internal_static_google_cloud_run_v2_ListServicesResponse_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_google_cloud_run_v2_ListServicesResponse_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_ListServicesResponse_descriptor,
- new java.lang.String[] {
- "Services", "NextPageToken",
- });
- internal_static_google_cloud_run_v2_GetServiceRequest_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_google_cloud_run_v2_GetServiceRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_GetServiceRequest_descriptor,
- new java.lang.String[] {
- "Name",
- });
- internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor =
- getDescriptor().getMessageTypes().get(5);
- internal_static_google_cloud_run_v2_DeleteServiceRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor,
- new java.lang.String[] {
- "Name", "ValidateOnly", "Etag",
- });
- internal_static_google_cloud_run_v2_Service_descriptor =
- getDescriptor().getMessageTypes().get(6);
- internal_static_google_cloud_run_v2_Service_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Service_descriptor,
- new java.lang.String[] {
- "Name",
- "Description",
- "Uid",
- "Generation",
- "Labels",
- "Annotations",
- "CreateTime",
- "UpdateTime",
- "DeleteTime",
- "ExpireTime",
- "Creator",
- "LastModifier",
- "Client",
- "ClientVersion",
- "Ingress",
- "LaunchStage",
- "BinaryAuthorization",
- "Template",
- "Traffic",
- "ObservedGeneration",
- "TerminalCondition",
- "Conditions",
- "LatestReadyRevision",
- "LatestCreatedRevision",
- "TrafficStatuses",
- "Uri",
- "Reconciling",
- "Etag",
- });
- internal_static_google_cloud_run_v2_Service_LabelsEntry_descriptor =
- internal_static_google_cloud_run_v2_Service_descriptor.getNestedTypes().get(0);
- internal_static_google_cloud_run_v2_Service_LabelsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Service_LabelsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_cloud_run_v2_Service_AnnotationsEntry_descriptor =
- internal_static_google_cloud_run_v2_Service_descriptor.getNestedTypes().get(1);
- internal_static_google_cloud_run_v2_Service_AnnotationsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Service_AnnotationsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.ClientProto.defaultHost);
- registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
- registry.add(com.google.api.AnnotationsProto.http);
- registry.add(com.google.api.ClientProto.methodSignature);
- registry.add(com.google.api.ClientProto.oauthScopes);
- registry.add(com.google.api.ResourceProto.resource);
- registry.add(com.google.api.ResourceProto.resourceReference);
- registry.add(com.google.api.RoutingProto.routing);
- registry.add(com.google.longrunning.OperationsProto.operationInfo);
- com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
- descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
- com.google.api.ClientProto.getDescriptor();
- com.google.api.FieldBehaviorProto.getDescriptor();
- com.google.api.LaunchStageProto.getDescriptor();
- com.google.api.ResourceProto.getDescriptor();
- com.google.api.RoutingProto.getDescriptor();
- com.google.cloud.run.v2.ConditionProto.getDescriptor();
- com.google.cloud.run.v2.RevisionTemplateProto.getDescriptor();
- com.google.cloud.run.v2.TrafficTargetProto.getDescriptor();
- com.google.cloud.run.v2.VendorSettingsProto.getDescriptor();
- com.google.iam.v1.IamPolicyProto.getDescriptor();
- com.google.iam.v1.PolicyProto.getDescriptor();
- com.google.longrunning.OperationsProto.getDescriptor();
- com.google.protobuf.TimestampProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
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
deleted file mode 100644
index b2e1afc52b6e..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketActionOrBuilder.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * 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 TCPSocketActionOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.TCPSocketAction)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- * - * Port number to access on the container. Must be in the range 1 to 65535. - *- * - *
int32 port = 1;
- *
- * @return The port.
- */
- int getPort();
-}
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java
deleted file mode 100644
index 2a9591ab1460..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java
+++ /dev/null
@@ -1,258 +0,0 @@
-/*
- * 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/task.proto
-
-package com.google.cloud.run.v2;
-
-public final class TaskProto {
- private TaskProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_GetTaskRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_GetTaskRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_ListTasksRequest_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_ListTasksRequest_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_ListTasksResponse_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_ListTasksResponse_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Task_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Task_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Task_LabelsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Task_LabelsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_Task_AnnotationsEntry_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_Task_AnnotationsEntry_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_TaskAttemptResult_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n\036google/cloud/run/v2/task.proto\022\023google"
- + ".cloud.run.v2\032\034google/api/annotations.pr"
- + "oto\032\027google/api/client.proto\032\037google/api"
- + "/field_behavior.proto\032\031google/api/resour"
- + "ce.proto\032#google/cloud/run/v2/condition."
- + "proto\032!google/cloud/run/v2/k8s.min.proto"
- + "\032)google/cloud/run/v2/vendor_settings.pr"
- + "oto\032\036google/protobuf/duration.proto\032\037goo"
- + "gle/protobuf/timestamp.proto\032\027google/rpc"
- + "/status.proto\"?\n\016GetTaskRequest\022-\n\004name\030"
- + "\001 \001(\tB\037\340A\002\372A\031\n\027run.googleapis.com/Task\"\200"
- + "\001\n\020ListTasksRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002"
- + "\372A\031\022\027run.googleapis.com/Task\022\021\n\tpage_siz"
- + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014show_dele"
- + "ted\030\004 \001(\010\"V\n\021ListTasksResponse\022(\n\005tasks\030"
- + "\001 \003(\0132\031.google.cloud.run.v2.Task\022\027\n\017next"
- + "_page_token\030\002 \001(\t\"\303\013\n\004Task\022\021\n\004name\030\001 \001(\t"
- + "B\003\340A\003\022\020\n\003uid\030\002 \001(\tB\003\340A\003\022\027\n\ngeneration\030\003 "
- + "\001(\003B\003\340A\003\0225\n\006labels\030\004 \003(\0132%.google.cloud."
- + "run.v2.Task.LabelsEntry\022?\n\013annotations\030\005"
- + " \003(\0132*.google.cloud.run.v2.Task.Annotati"
- + "onsEntry\0224\n\013create_time\030\006 \001(\0132\032.google.p"
- + "rotobuf.TimestampB\003\340A\003\0223\n\nstart_time\030\033 \001"
- + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0228\n\017c"
- + "ompletion_time\030\007 \001(\0132\032.google.protobuf.T"
- + "imestampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.goo"
- + "gle.protobuf.TimestampB\003\340A\003\0224\n\013delete_ti"
- + "me\030\t \001(\0132\032.google.protobuf.TimestampB\003\340A"
- + "\003\0224\n\013expire_time\030\n \001(\0132\032.google.protobuf"
- + ".TimestampB\003\340A\003\022+\n\003job\030\014 \001(\tB\036\340A\003\372A\030\n\026ru"
- + "n.googleapis.com/Job\0227\n\texecution\030\r \001(\tB"
- + "$\340A\003\372A\036\n\034run.googleapis.com/Execution\0222\n"
- + "\ncontainers\030\016 \003(\0132\036.google.cloud.run.v2."
- + "Container\022,\n\007volumes\030\017 \003(\0132\033.google.clou"
- + "d.run.v2.Volume\022\023\n\013max_retries\030\020 \001(\005\022*\n\007"
- + "timeout\030\021 \001(\0132\031.google.protobuf.Duration"
- + "\022\027\n\017service_account\030\022 \001(\t\022H\n\025execution_e"
- + "nvironment\030\024 \001(\0162).google.cloud.run.v2.E"
- + "xecutionEnvironment\022\030\n\013reconciling\030\025 \001(\010"
- + "B\003\340A\003\0227\n\nconditions\030\026 \003(\0132\036.google.cloud"
- + ".run.v2.ConditionB\003\340A\003\022 \n\023observed_gener"
- + "ation\030\027 \001(\003B\003\340A\003\022\022\n\005index\030\030 \001(\005B\003\340A\003\022\024\n\007"
- + "retried\030\031 \001(\005B\003\340A\003\022H\n\023last_attempt_resul"
- + "t\030\032 \001(\0132&.google.cloud.run.v2.TaskAttemp"
- + "tResultB\003\340A\003\022A\n\016encryption_key\030\034 \001(\tB)\340A"
- + "\003\372A#\n!cloudkms.googleapis.com/CryptoKey\022"
- + "7\n\nvpc_access\030\035 \001(\0132\036.google.cloud.run.v"
- + "2.VpcAccessB\003\340A\003\022\021\n\004etag\030c \001(\tB\003\340A\003\032-\n\013L"
- + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002"
- + "8\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v"
- + "alue\030\002 \001(\t:\0028\001:w\352At\n\027run.googleapis.com/"
- + "Task\022Vprojects/{project}/locations/{loca"
- + "tion}/jobs/{job}/executions/{execution}/"
- + "tasks/{task}R\001\001\"T\n\021TaskAttemptResult\022\'\n\006"
- + "status\030\001 \001(\0132\022.google.rpc.StatusB\003\340A\003\022\026\n"
- + "\texit_code\030\002 \001(\005B\003\340A\0032\226\003\n\005Tasks\022\227\001\n\007GetT"
- + "ask\022#.google.cloud.run.v2.GetTaskRequest"
- + "\032\031.google.cloud.run.v2.Task\"L\202\323\344\223\002?\022=/v2"
- + "/{name=projects/*/locations/*/jobs/*/exe"
- + "cutions/*/tasks/*}\332A\004name\022\252\001\n\tListTasks\022"
- + "%.google.cloud.run.v2.ListTasksRequest\032&"
- + ".google.cloud.run.v2.ListTasksResponse\"N"
- + "\202\323\344\223\002?\022=/v2/{parent=projects/*/locations"
- + "/*/jobs/*/executions/*}/tasks\332A\006parent\032F"
- + "\312A\022run.googleapis.com\322A.https://www.goog"
- + "leapis.com/auth/cloud-platformB^\n\027com.go"
- + "ogle.cloud.run.v2B\tTaskProtoP\001Z6google.g"
- + "olang.org/genproto/googleapis/cloud/run/"
- + "v2;runb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.api.ClientProto.getDescriptor(),
- com.google.api.FieldBehaviorProto.getDescriptor(),
- com.google.api.ResourceProto.getDescriptor(),
- com.google.cloud.run.v2.ConditionProto.getDescriptor(),
- com.google.cloud.run.v2.K8sMinProto.getDescriptor(),
- com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- com.google.rpc.StatusProto.getDescriptor(),
- });
- internal_static_google_cloud_run_v2_GetTaskRequest_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_run_v2_GetTaskRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_GetTaskRequest_descriptor,
- new java.lang.String[] {
- "Name",
- });
- internal_static_google_cloud_run_v2_ListTasksRequest_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_cloud_run_v2_ListTasksRequest_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_ListTasksRequest_descriptor,
- new java.lang.String[] {
- "Parent", "PageSize", "PageToken", "ShowDeleted",
- });
- internal_static_google_cloud_run_v2_ListTasksResponse_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_cloud_run_v2_ListTasksResponse_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_ListTasksResponse_descriptor,
- new java.lang.String[] {
- "Tasks", "NextPageToken",
- });
- internal_static_google_cloud_run_v2_Task_descriptor = getDescriptor().getMessageTypes().get(3);
- internal_static_google_cloud_run_v2_Task_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Task_descriptor,
- new java.lang.String[] {
- "Name",
- "Uid",
- "Generation",
- "Labels",
- "Annotations",
- "CreateTime",
- "StartTime",
- "CompletionTime",
- "UpdateTime",
- "DeleteTime",
- "ExpireTime",
- "Job",
- "Execution",
- "Containers",
- "Volumes",
- "MaxRetries",
- "Timeout",
- "ServiceAccount",
- "ExecutionEnvironment",
- "Reconciling",
- "Conditions",
- "ObservedGeneration",
- "Index",
- "Retried",
- "LastAttemptResult",
- "EncryptionKey",
- "VpcAccess",
- "Etag",
- });
- internal_static_google_cloud_run_v2_Task_LabelsEntry_descriptor =
- internal_static_google_cloud_run_v2_Task_descriptor.getNestedTypes().get(0);
- internal_static_google_cloud_run_v2_Task_LabelsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Task_LabelsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_cloud_run_v2_Task_AnnotationsEntry_descriptor =
- internal_static_google_cloud_run_v2_Task_descriptor.getNestedTypes().get(1);
- internal_static_google_cloud_run_v2_Task_AnnotationsEntry_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_Task_AnnotationsEntry_descriptor,
- new java.lang.String[] {
- "Key", "Value",
- });
- internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_google_cloud_run_v2_TaskAttemptResult_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor,
- new java.lang.String[] {
- "Status", "ExitCode",
- });
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.ClientProto.defaultHost);
- registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
- registry.add(com.google.api.AnnotationsProto.http);
- registry.add(com.google.api.ClientProto.methodSignature);
- registry.add(com.google.api.ClientProto.oauthScopes);
- registry.add(com.google.api.ResourceProto.resource);
- registry.add(com.google.api.ResourceProto.resourceReference);
- com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
- descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
- com.google.api.ClientProto.getDescriptor();
- com.google.api.FieldBehaviorProto.getDescriptor();
- com.google.api.ResourceProto.getDescriptor();
- com.google.cloud.run.v2.ConditionProto.getDescriptor();
- com.google.cloud.run.v2.K8sMinProto.getDescriptor();
- com.google.cloud.run.v2.VendorSettingsProto.getDescriptor();
- com.google.protobuf.DurationProto.getDescriptor();
- com.google.protobuf.TimestampProto.getDescriptor();
- com.google.rpc.StatusProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java
deleted file mode 100644
index 1a3f06c96328..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*
- * 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/task_template.proto
-
-package com.google.cloud.run.v2;
-
-public final class TaskTemplateProto {
- private TaskTemplateProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_TaskTemplate_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_TaskTemplate_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n\'google/cloud/run/v2/task_template.prot"
- + "o\022\023google.cloud.run.v2\032\031google/api/resou"
- + "rce.proto\032!google/cloud/run/v2/k8s.min.p"
- + "roto\032)google/cloud/run/v2/vendor_setting"
- + "s.proto\032\036google/protobuf/duration.proto\""
- + "\225\003\n\014TaskTemplate\0222\n\ncontainers\030\001 \003(\0132\036.g"
- + "oogle.cloud.run.v2.Container\022,\n\007volumes\030"
- + "\002 \003(\0132\033.google.cloud.run.v2.Volume\022\025\n\013ma"
- + "x_retries\030\003 \001(\005H\000\022*\n\007timeout\030\004 \001(\0132\031.goo"
- + "gle.protobuf.Duration\022\027\n\017service_account"
- + "\030\005 \001(\t\022H\n\025execution_environment\030\006 \001(\0162)."
- + "google.cloud.run.v2.ExecutionEnvironment"
- + "\022>\n\016encryption_key\030\007 \001(\tB&\372A#\n!cloudkms."
- + "googleapis.com/CryptoKey\0222\n\nvpc_access\030\010"
- + " \001(\0132\036.google.cloud.run.v2.VpcAccessB\t\n\007"
- + "retriesBf\n\027com.google.cloud.run.v2B\021Task"
- + "TemplateProtoP\001Z6google.golang.org/genpr"
- + "oto/googleapis/cloud/run/v2;runb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.ResourceProto.getDescriptor(),
- com.google.cloud.run.v2.K8sMinProto.getDescriptor(),
- com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- });
- internal_static_google_cloud_run_v2_TaskTemplate_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_run_v2_TaskTemplate_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_TaskTemplate_descriptor,
- new java.lang.String[] {
- "Containers",
- "Volumes",
- "MaxRetries",
- "Timeout",
- "ServiceAccount",
- "ExecutionEnvironment",
- "EncryptionKey",
- "VpcAccess",
- "Retries",
- });
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.ResourceProto.resourceReference);
- com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
- descriptor, registry);
- com.google.api.ResourceProto.getDescriptor();
- com.google.cloud.run.v2.K8sMinProto.getDescriptor();
- com.google.cloud.run.v2.VendorSettingsProto.getDescriptor();
- com.google.protobuf.DurationProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java
deleted file mode 100644
index fba638e7548e..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * 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/traffic_target.proto
-
-package com.google.cloud.run.v2;
-
-public final class TrafficTargetProto {
- private TrafficTargetProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_TrafficTarget_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_TrafficTarget_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_TrafficTargetStatus_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n(google/cloud/run/v2/traffic_target.pro"
- + "to\022\023google.cloud.run.v2\032\031google/api/reso"
- + "urce.proto\"\241\001\n\rTrafficTarget\022>\n\004type\030\001 \001"
- + "(\01620.google.cloud.run.v2.TrafficTargetAl"
- + "locationType\0222\n\010revision\030\002 \001(\tB \372A\035\n\033run"
- + ".googleapis.com/Revision\022\017\n\007percent\030\003 \001("
- + "\005\022\013\n\003tag\030\004 \001(\t\"\264\001\n\023TrafficTargetStatus\022>"
- + "\n\004type\030\001 \001(\01620.google.cloud.run.v2.Traff"
- + "icTargetAllocationType\0222\n\010revision\030\002 \001(\t"
- + "B \372A\035\n\033run.googleapis.com/Revision\022\017\n\007pe"
- + "rcent\030\003 \001(\005\022\013\n\003tag\030\004 \001(\t\022\013\n\003uri\030\005 \001(\t*\245\001"
- + "\n\033TrafficTargetAllocationType\022.\n*TRAFFIC"
- + "_TARGET_ALLOCATION_TYPE_UNSPECIFIED\020\000\022)\n"
- + "%TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST\020\001"
- + "\022+\n\'TRAFFIC_TARGET_ALLOCATION_TYPE_REVIS"
- + "ION\020\002Bg\n\027com.google.cloud.run.v2B\022Traffi"
- + "cTargetProtoP\001Z6google.golang.org/genpro"
- + "to/googleapis/cloud/run/v2;runb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.ResourceProto.getDescriptor(),
- });
- internal_static_google_cloud_run_v2_TrafficTarget_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_run_v2_TrafficTarget_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_TrafficTarget_descriptor,
- new java.lang.String[] {
- "Type", "Revision", "Percent", "Tag",
- });
- internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_cloud_run_v2_TrafficTargetStatus_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor,
- new java.lang.String[] {
- "Type", "Revision", "Percent", "Tag", "Uri",
- });
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.ResourceProto.resourceReference);
- com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
- descriptor, registry);
- com.google.api.ResourceProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java
deleted file mode 100644
index 5bd17cb63901..000000000000
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
- * 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/vendor_settings.proto
-
-package com.google.cloud.run.v2;
-
-public final class VendorSettingsProto {
- private VendorSettingsProto() {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
- }
-
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_VpcAccess_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_VpcAccess_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_BinaryAuthorization_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_cloud_run_v2_RevisionScaling_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_cloud_run_v2_RevisionScaling_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
- return descriptor;
- }
-
- private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
- static {
- java.lang.String[] descriptorData = {
- "\n)google/cloud/run/v2/vendor_settings.pr"
- + "oto\022\023google.cloud.run.v2\032\031google/api/res"
- + "ource.proto\"\324\001\n\tVpcAccess\022:\n\tconnector\030\001"
- + " \001(\tB\'\372A$\n\"vpcaccess.googleapis.com/Conn"
- + "ector\0228\n\006egress\030\002 \001(\0162(.google.cloud.run"
- + ".v2.VpcAccess.VpcEgress\"Q\n\tVpcEgress\022\032\n\026"
- + "VPC_EGRESS_UNSPECIFIED\020\000\022\017\n\013ALL_TRAFFIC\020"
- + "\001\022\027\n\023PRIVATE_RANGES_ONLY\020\002\"a\n\023BinaryAuth"
- + "orization\022\025\n\013use_default\030\001 \001(\010H\000\022 \n\030brea"
- + "kglass_justification\030\002 \001(\tB\021\n\017binauthz_m"
- + "ethod\"I\n\017RevisionScaling\022\032\n\022min_instance"
- + "_count\030\001 \001(\005\022\032\n\022max_instance_count\030\002 \001(\005"
- + "*\231\001\n\016IngressTraffic\022\037\n\033INGRESS_TRAFFIC_U"
- + "NSPECIFIED\020\000\022\027\n\023INGRESS_TRAFFIC_ALL\020\001\022!\n"
- + "\035INGRESS_TRAFFIC_INTERNAL_ONLY\020\002\022*\n&INGR"
- + "ESS_TRAFFIC_INTERNAL_LOAD_BALANCER\020\003*}\n\024"
- + "ExecutionEnvironment\022%\n!EXECUTION_ENVIRO"
- + "NMENT_UNSPECIFIED\020\000\022\036\n\032EXECUTION_ENVIRON"
- + "MENT_GEN1\020\001\022\036\n\032EXECUTION_ENVIRONMENT_GEN"
- + "2\020\002Bh\n\027com.google.cloud.run.v2B\023VendorSe"
- + "ttingsProtoP\001Z6google.golang.org/genprot"
- + "o/googleapis/cloud/run/v2;runb\006proto3"
- };
- descriptor =
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.ResourceProto.getDescriptor(),
- });
- internal_static_google_cloud_run_v2_VpcAccess_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_google_cloud_run_v2_VpcAccess_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_VpcAccess_descriptor,
- new java.lang.String[] {
- "Connector", "Egress",
- });
- internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_google_cloud_run_v2_BinaryAuthorization_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor,
- new java.lang.String[] {
- "UseDefault", "BreakglassJustification", "BinauthzMethod",
- });
- internal_static_google_cloud_run_v2_RevisionScaling_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_google_cloud_run_v2_RevisionScaling_fieldAccessorTable =
- new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_cloud_run_v2_RevisionScaling_descriptor,
- new java.lang.String[] {
- "MinInstanceCount", "MaxInstanceCount",
- });
- com.google.protobuf.ExtensionRegistry registry =
- com.google.protobuf.ExtensionRegistry.newInstance();
- registry.add(com.google.api.ResourceProto.resourceReference);
- com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
- descriptor, registry);
- com.google.api.ResourceProto.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsClient.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsClient.java
similarity index 98%
rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsClient.java
rename to owl-bot-staging/java-run/v2/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/owl-bot-staging/java-run/v2/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 UnaryCallableSample 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/JobsSettings.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsSettings.java
similarity index 99%
rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsSettings.java
rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsSettings.java
index 78e72c47639c..e6ead91c5d31 100644
--- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsSettings.java
+++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsSettings.java
@@ -29,6 +29,7 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.run.v2.stub.JobsStubSettings;
diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsClient.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsClient.java
similarity index 100%
rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsClient.java
rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsClient.java
diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsSettings.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsSettings.java
similarity index 99%
rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsSettings.java
rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsSettings.java
index dbd1ffd7778e..c4c945574b84 100644
--- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsSettings.java
+++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsSettings.java
@@ -29,6 +29,7 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.run.v2.stub.RevisionsStubSettings;
diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesClient.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesClient.java
similarity index 97%
rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesClient.java
rename to owl-bot-staging/java-run/v2/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/owl-bot-staging/java-run/v2/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
+ * Cloud Run Execution Control Plane API.
+ *
+ */
+@javax.annotation.Generated(
+ value = "by gRPC proto compiler",
+ comments = "Source: google/cloud/run/v2/execution.proto")
+@io.grpc.stub.annotations.GrpcGenerated
+public final class ExecutionsGrpc {
+
+ private ExecutionsGrpc() {}
+
+ public static final String SERVICE_NAME = "google.cloud.run.v2.Executions";
+
+ // Static method descriptors that strictly reflect the proto.
+ private static volatile io.grpc.MethodDescriptor
+ * Cloud Run Execution Control Plane API.
+ *
+ */
+ public static abstract class ExecutionsImplBase implements io.grpc.BindableService {
+
+ /**
+ *
+ * Gets information about an Execution.
+ *
+ */
+ public void getExecution(com.google.cloud.run.v2.GetExecutionRequest request,
+ io.grpc.stub.StreamObserver
+ * Lists Executions from a Job.
+ *
+ */
+ public void listExecutions(com.google.cloud.run.v2.ListExecutionsRequest request,
+ io.grpc.stub.StreamObserver