- * CloudDeploy service creates and manages Continuous Delivery operations - * on Google Cloud Platform via Skaffold (https://skaffold.dev). - *- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/deploy/v1/cloud_deploy.proto") -public final class CloudDeployGrpc { - - private CloudDeployGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.deploy.v1.CloudDeploy"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest, - com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse> - getListDeliveryPipelinesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDeliveryPipelines", - requestType = com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.class, - responseType = com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest, - com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse> - getListDeliveryPipelinesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest, - com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse> - getListDeliveryPipelinesMethod; - if ((getListDeliveryPipelinesMethod = CloudDeployGrpc.getListDeliveryPipelinesMethod) == null) { - synchronized (CloudDeployGrpc.class) { - if ((getListDeliveryPipelinesMethod = CloudDeployGrpc.getListDeliveryPipelinesMethod) - == null) { - CloudDeployGrpc.getListDeliveryPipelinesMethod = - getListDeliveryPipelinesMethod = - io.grpc.MethodDescriptor - .
- * CloudDeploy service creates and manages Continuous Delivery operations - * on Google Cloud Platform via Skaffold (https://skaffold.dev). - *- */ - public abstract static class CloudDeployImplBase implements io.grpc.BindableService { - - /** - * - * - *
- * Lists DeliveryPipelines in a given project and location. - *- */ - public void listDeliveryPipelines( - com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest request, - io.grpc.stub.StreamObserver
- * Gets details of a single DeliveryPipeline. - *- */ - public void getDeliveryPipeline( - com.google.cloud.deploy.v1.GetDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver
- * Creates a new DeliveryPipeline in a given project and location. - *- */ - public void createDeliveryPipeline( - com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single DeliveryPipeline. - *- */ - public void updateDeliveryPipeline( - com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single DeliveryPipeline. - *- */ - public void deleteDeliveryPipeline( - com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver
- * Lists Targets in a given project and location. - *- */ - public void listTargets( - com.google.cloud.deploy.v1.ListTargetsRequest request, - io.grpc.stub.StreamObserver
- * Gets details of a single Target. - *- */ - public void getTarget( - com.google.cloud.deploy.v1.GetTargetRequest request, - io.grpc.stub.StreamObserver
- * Creates a new Target in a given project and location. - *- */ - public void createTarget( - com.google.cloud.deploy.v1.CreateTargetRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single Target. - *- */ - public void updateTarget( - com.google.cloud.deploy.v1.UpdateTargetRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single Target. - *- */ - public void deleteTarget( - com.google.cloud.deploy.v1.DeleteTargetRequest request, - io.grpc.stub.StreamObserver
- * Lists Releases in a given project and location. - *- */ - public void listReleases( - com.google.cloud.deploy.v1.ListReleasesRequest request, - io.grpc.stub.StreamObserver
- * Gets details of a single Release. - *- */ - public void getRelease( - com.google.cloud.deploy.v1.GetReleaseRequest request, - io.grpc.stub.StreamObserver
- * Creates a new Release in a given project and location. - *- */ - public void createRelease( - com.google.cloud.deploy.v1.CreateReleaseRequest request, - io.grpc.stub.StreamObserver
- * Approves a Rollout. - *- */ - public void approveRollout( - com.google.cloud.deploy.v1.ApproveRolloutRequest request, - io.grpc.stub.StreamObserver
- * Lists Rollouts in a given project and location. - *- */ - public void listRollouts( - com.google.cloud.deploy.v1.ListRolloutsRequest request, - io.grpc.stub.StreamObserver
- * Gets details of a single Rollout. - *- */ - public void getRollout( - com.google.cloud.deploy.v1.GetRolloutRequest request, - io.grpc.stub.StreamObserver
- * Creates a new Rollout in a given project and location. - *- */ - public void createRollout( - com.google.cloud.deploy.v1.CreateRolloutRequest request, - io.grpc.stub.StreamObserver
- * Gets the configuration for a location. - *- */ - public void getConfig( - com.google.cloud.deploy.v1.GetConfigRequest request, - io.grpc.stub.StreamObserver
- * CloudDeploy service creates and manages Continuous Delivery operations - * on Google Cloud Platform via Skaffold (https://skaffold.dev). - *- */ - public static final class CloudDeployStub - extends io.grpc.stub.AbstractAsyncStub
- * Lists DeliveryPipelines in a given project and location. - *- */ - public void listDeliveryPipelines( - com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest request, - io.grpc.stub.StreamObserver
- * Gets details of a single DeliveryPipeline. - *- */ - public void getDeliveryPipeline( - com.google.cloud.deploy.v1.GetDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver
- * Creates a new DeliveryPipeline in a given project and location. - *- */ - public void createDeliveryPipeline( - com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single DeliveryPipeline. - *- */ - public void updateDeliveryPipeline( - com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single DeliveryPipeline. - *- */ - public void deleteDeliveryPipeline( - com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest request, - io.grpc.stub.StreamObserver
- * Lists Targets in a given project and location. - *- */ - public void listTargets( - com.google.cloud.deploy.v1.ListTargetsRequest request, - io.grpc.stub.StreamObserver
- * Gets details of a single Target. - *- */ - public void getTarget( - com.google.cloud.deploy.v1.GetTargetRequest request, - io.grpc.stub.StreamObserver
- * Creates a new Target in a given project and location. - *- */ - public void createTarget( - com.google.cloud.deploy.v1.CreateTargetRequest request, - io.grpc.stub.StreamObserver
- * Updates the parameters of a single Target. - *- */ - public void updateTarget( - com.google.cloud.deploy.v1.UpdateTargetRequest request, - io.grpc.stub.StreamObserver
- * Deletes a single Target. - *- */ - public void deleteTarget( - com.google.cloud.deploy.v1.DeleteTargetRequest request, - io.grpc.stub.StreamObserver
- * Lists Releases in a given project and location. - *- */ - public void listReleases( - com.google.cloud.deploy.v1.ListReleasesRequest request, - io.grpc.stub.StreamObserver
- * Gets details of a single Release. - *- */ - public void getRelease( - com.google.cloud.deploy.v1.GetReleaseRequest request, - io.grpc.stub.StreamObserver
- * Creates a new Release in a given project and location. - *- */ - public void createRelease( - com.google.cloud.deploy.v1.CreateReleaseRequest request, - io.grpc.stub.StreamObserver
- * Approves a Rollout. - *- */ - public void approveRollout( - com.google.cloud.deploy.v1.ApproveRolloutRequest request, - io.grpc.stub.StreamObserver
- * Lists Rollouts in a given project and location. - *- */ - public void listRollouts( - com.google.cloud.deploy.v1.ListRolloutsRequest request, - io.grpc.stub.StreamObserver
- * Gets details of a single Rollout. - *- */ - public void getRollout( - com.google.cloud.deploy.v1.GetRolloutRequest request, - io.grpc.stub.StreamObserver
- * Creates a new Rollout in a given project and location. - *- */ - public void createRollout( - com.google.cloud.deploy.v1.CreateRolloutRequest request, - io.grpc.stub.StreamObserver
- * Gets the configuration for a location. - *- */ - public void getConfig( - com.google.cloud.deploy.v1.GetConfigRequest request, - io.grpc.stub.StreamObserver
- * CloudDeploy service creates and manages Continuous Delivery operations - * on Google Cloud Platform via Skaffold (https://skaffold.dev). - *- */ - public static final class CloudDeployBlockingStub - extends io.grpc.stub.AbstractBlockingStub
- * Lists DeliveryPipelines in a given project and location. - *- */ - public com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse listDeliveryPipelines( - com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDeliveryPipelinesMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets details of a single DeliveryPipeline. - *- */ - public com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipeline( - com.google.cloud.deploy.v1.GetDeliveryPipelineRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDeliveryPipelineMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates a new DeliveryPipeline in a given project and location. - *- */ - public com.google.longrunning.Operation createDeliveryPipeline( - com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDeliveryPipelineMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates the parameters of a single DeliveryPipeline. - *- */ - public com.google.longrunning.Operation updateDeliveryPipeline( - com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDeliveryPipelineMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes a single DeliveryPipeline. - *- */ - public com.google.longrunning.Operation deleteDeliveryPipeline( - com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDeliveryPipelineMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists Targets in a given project and location. - *- */ - public com.google.cloud.deploy.v1.ListTargetsResponse listTargets( - com.google.cloud.deploy.v1.ListTargetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTargetsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets details of a single Target. - *- */ - public com.google.cloud.deploy.v1.Target getTarget( - com.google.cloud.deploy.v1.GetTargetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTargetMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates a new Target in a given project and location. - *- */ - public com.google.longrunning.Operation createTarget( - com.google.cloud.deploy.v1.CreateTargetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTargetMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Updates the parameters of a single Target. - *- */ - public com.google.longrunning.Operation updateTarget( - com.google.cloud.deploy.v1.UpdateTargetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTargetMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Deletes a single Target. - *- */ - public com.google.longrunning.Operation deleteTarget( - com.google.cloud.deploy.v1.DeleteTargetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTargetMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists Releases in a given project and location. - *- */ - public com.google.cloud.deploy.v1.ListReleasesResponse listReleases( - com.google.cloud.deploy.v1.ListReleasesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListReleasesMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets details of a single Release. - *- */ - public com.google.cloud.deploy.v1.Release getRelease( - com.google.cloud.deploy.v1.GetReleaseRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetReleaseMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates a new Release in a given project and location. - *- */ - public com.google.longrunning.Operation createRelease( - com.google.cloud.deploy.v1.CreateReleaseRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateReleaseMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Approves a Rollout. - *- */ - public com.google.cloud.deploy.v1.ApproveRolloutResponse approveRollout( - com.google.cloud.deploy.v1.ApproveRolloutRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getApproveRolloutMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Lists Rollouts in a given project and location. - *- */ - public com.google.cloud.deploy.v1.ListRolloutsResponse listRollouts( - com.google.cloud.deploy.v1.ListRolloutsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRolloutsMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets details of a single Rollout. - *- */ - public com.google.cloud.deploy.v1.Rollout getRollout( - com.google.cloud.deploy.v1.GetRolloutRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRolloutMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Creates a new Rollout in a given project and location. - *- */ - public com.google.longrunning.Operation createRollout( - com.google.cloud.deploy.v1.CreateRolloutRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRolloutMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Gets the configuration for a location. - *- */ - public com.google.cloud.deploy.v1.Config getConfig( - com.google.cloud.deploy.v1.GetConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConfigMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
- * CloudDeploy service creates and manages Continuous Delivery operations - * on Google Cloud Platform via Skaffold (https://skaffold.dev). - *- */ - public static final class CloudDeployFutureStub - extends io.grpc.stub.AbstractFutureStub
- * Lists DeliveryPipelines in a given project and location. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse> - listDeliveryPipelines(com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDeliveryPipelinesMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets details of a single DeliveryPipeline. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.deploy.v1.DeliveryPipeline> - getDeliveryPipeline(com.google.cloud.deploy.v1.GetDeliveryPipelineRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDeliveryPipelineMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Creates a new DeliveryPipeline in a given project and location. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Updates the parameters of a single DeliveryPipeline. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a single DeliveryPipeline. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Lists Targets in a given project and location. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.deploy.v1.ListTargetsResponse> - listTargets(com.google.cloud.deploy.v1.ListTargetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTargetsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets details of a single Target. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Creates a new Target in a given project and location. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Updates the parameters of a single Target. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Deletes a single Target. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Lists Releases in a given project and location. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.deploy.v1.ListReleasesResponse> - listReleases(com.google.cloud.deploy.v1.ListReleasesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListReleasesMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets details of a single Release. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Creates a new Release in a given project and location. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Approves a Rollout. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.deploy.v1.ApproveRolloutResponse> - approveRollout(com.google.cloud.deploy.v1.ApproveRolloutRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getApproveRolloutMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Lists Rollouts in a given project and location. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.deploy.v1.ListRolloutsResponse> - listRollouts(com.google.cloud.deploy.v1.ListRolloutsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRolloutsMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Gets details of a single Rollout. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Creates a new Rollout in a given project and location. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Gets the configuration for a location. - *- */ - public com.google.common.util.concurrent.ListenableFuture
{@code
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
- * String parent =
- * DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (DeliveryPipeline element :
* cloudDeployClient.listDeliveryPipelines(parent).iterateAll()) {
* // doThingsWith(element);
@@ -229,9 +228,7 @@ public final ListDeliveryPipelinesPagedResponse listDeliveryPipelines(String par
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListDeliveryPipelinesRequest request =
* ListDeliveryPipelinesRequest.newBuilder()
- * .setParent(
- * DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]")
- * .toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -262,9 +259,7 @@ public final ListDeliveryPipelinesPagedResponse listDeliveryPipelines(
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListDeliveryPipelinesRequest request =
* ListDeliveryPipelinesRequest.newBuilder()
- * .setParent(
- * DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]")
- * .toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -294,9 +289,7 @@ public final ListDeliveryPipelinesPagedResponse listDeliveryPipelines(
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListDeliveryPipelinesRequest request =
* ListDeliveryPipelinesRequest.newBuilder()
- * .setParent(
- * DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]")
- * .toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -467,8 +460,7 @@ public final OperationFuture createDelivery
*
* {@code
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
- * String parent =
- * DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* DeliveryPipeline deliveryPipeline = DeliveryPipeline.newBuilder().build();
* String deliveryPipelineId = "deliveryPipelineId-632411535";
* DeliveryPipeline response =
@@ -505,9 +497,7 @@ public final OperationFuture createDelivery
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateDeliveryPipelineRequest request =
* CreateDeliveryPipelineRequest.newBuilder()
- * .setParent(
- * DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]")
- * .toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setDeliveryPipelineId("deliveryPipelineId-632411535")
* .setDeliveryPipeline(DeliveryPipeline.newBuilder().build())
* .setRequestId("requestId693933066")
@@ -535,9 +525,7 @@ public final OperationFuture createDelivery
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateDeliveryPipelineRequest request =
* CreateDeliveryPipelineRequest.newBuilder()
- * .setParent(
- * DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]")
- * .toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setDeliveryPipelineId("deliveryPipelineId-632411535")
* .setDeliveryPipeline(DeliveryPipeline.newBuilder().build())
* .setRequestId("requestId693933066")
@@ -565,9 +553,7 @@ public final OperationFuture createDelivery
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateDeliveryPipelineRequest request =
* CreateDeliveryPipelineRequest.newBuilder()
- * .setParent(
- * DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]")
- * .toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setDeliveryPipelineId("deliveryPipelineId-632411535")
* .setDeliveryPipeline(DeliveryPipeline.newBuilder().build())
* .setRequestId("requestId693933066")
@@ -880,7 +866,7 @@ public final ListTargetsPagedResponse listTargets(LocationName parent) {
*
* {@code
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
- * String parent = TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Target element : cloudDeployClient.listTargets(parent).iterateAll()) {
* // doThingsWith(element);
* }
@@ -906,7 +892,7 @@ public final ListTargetsPagedResponse listTargets(String parent) {
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListTargetsRequest request =
* ListTargetsRequest.newBuilder()
- * .setParent(TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -935,7 +921,7 @@ public final ListTargetsPagedResponse listTargets(ListTargetsRequest request) {
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListTargetsRequest request =
* ListTargetsRequest.newBuilder()
- * .setParent(TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -964,7 +950,7 @@ public final ListTargetsPagedResponse listTargets(ListTargetsRequest request) {
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* ListTargetsRequest request =
* ListTargetsRequest.newBuilder()
- * .setParent(TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .setFilter("filter-1274492040")
@@ -1119,7 +1105,7 @@ public final OperationFuture createTargetAsync(
*
* {@code
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
- * String parent = TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString();
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Target target = Target.newBuilder().build();
* String targetId = "targetId-441951604";
* Target response = cloudDeployClient.createTargetAsync(parent, target, targetId).get();
@@ -1153,7 +1139,7 @@ public final OperationFuture createTargetAsync(
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateTargetRequest request =
* CreateTargetRequest.newBuilder()
- * .setParent(TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setTargetId("targetId-441951604")
* .setTarget(Target.newBuilder().build())
* .setRequestId("requestId693933066")
@@ -1181,7 +1167,7 @@ public final OperationFuture createTargetAsync(
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateTargetRequest request =
* CreateTargetRequest.newBuilder()
- * .setParent(TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setTargetId("targetId-441951604")
* .setTarget(Target.newBuilder().build())
* .setRequestId("requestId693933066")
@@ -1209,7 +1195,7 @@ public final OperationFuture createTargetAsync(
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* CreateTargetRequest request =
* CreateTargetRequest.newBuilder()
- * .setParent(TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString())
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setTargetId("targetId-441951604")
* .setTarget(Target.newBuilder().build())
* .setRequestId("requestId693933066")
@@ -2512,11 +2498,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
public static class ListDeliveryPipelinesPagedResponse
extends AbstractPagedListResponse<
- ListDeliveryPipelinesRequest,
- ListDeliveryPipelinesResponse,
- DeliveryPipeline,
- ListDeliveryPipelinesPage,
- ListDeliveryPipelinesFixedSizeCollection> {
+ ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, DeliveryPipeline,
+ ListDeliveryPipelinesPage, ListDeliveryPipelinesFixedSizeCollection> {
public static ApiFuture createAsync(
PageContext
@@ -2537,9 +2520,7 @@ private ListDeliveryPipelinesPagedResponse(ListDeliveryPipelinesPage page) {
public static class ListDeliveryPipelinesPage
extends AbstractPage<
- ListDeliveryPipelinesRequest,
- ListDeliveryPipelinesResponse,
- DeliveryPipeline,
+ ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, DeliveryPipeline,
ListDeliveryPipelinesPage> {
private ListDeliveryPipelinesPage(
@@ -2572,11 +2553,8 @@ public ApiFuture createPageAsync(
public static class ListDeliveryPipelinesFixedSizeCollection
extends AbstractFixedSizeCollection<
- ListDeliveryPipelinesRequest,
- ListDeliveryPipelinesResponse,
- DeliveryPipeline,
- ListDeliveryPipelinesPage,
- ListDeliveryPipelinesFixedSizeCollection> {
+ ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, DeliveryPipeline,
+ ListDeliveryPipelinesPage, ListDeliveryPipelinesFixedSizeCollection> {
private ListDeliveryPipelinesFixedSizeCollection(
List pages, int collectionSize) {
@@ -2596,10 +2574,7 @@ protected ListDeliveryPipelinesFixedSizeCollection createCollection(
public static class ListTargetsPagedResponse
extends AbstractPagedListResponse<
- ListTargetsRequest,
- ListTargetsResponse,
- Target,
- ListTargetsPage,
+ ListTargetsRequest, ListTargetsResponse, Target, ListTargetsPage,
ListTargetsFixedSizeCollection> {
public static ApiFuture createAsync(
@@ -2646,10 +2621,7 @@ public ApiFuture createPageAsync(
public static class ListTargetsFixedSizeCollection
extends AbstractFixedSizeCollection<
- ListTargetsRequest,
- ListTargetsResponse,
- Target,
- ListTargetsPage,
+ ListTargetsRequest, ListTargetsResponse, Target, ListTargetsPage,
ListTargetsFixedSizeCollection> {
private ListTargetsFixedSizeCollection(List pages, int collectionSize) {
@@ -2669,10 +2641,7 @@ protected ListTargetsFixedSizeCollection createCollection(
public static class ListReleasesPagedResponse
extends AbstractPagedListResponse<
- ListReleasesRequest,
- ListReleasesResponse,
- Release,
- ListReleasesPage,
+ ListReleasesRequest, ListReleasesResponse, Release, ListReleasesPage,
ListReleasesFixedSizeCollection> {
public static ApiFuture createAsync(
@@ -2721,10 +2690,7 @@ public ApiFuture createPageAsync(
public static class ListReleasesFixedSizeCollection
extends AbstractFixedSizeCollection<
- ListReleasesRequest,
- ListReleasesResponse,
- Release,
- ListReleasesPage,
+ ListReleasesRequest, ListReleasesResponse, Release, ListReleasesPage,
ListReleasesFixedSizeCollection> {
private ListReleasesFixedSizeCollection(List pages, int collectionSize) {
@@ -2744,10 +2710,7 @@ protected ListReleasesFixedSizeCollection createCollection(
public static class ListRolloutsPagedResponse
extends AbstractPagedListResponse<
- ListRolloutsRequest,
- ListRolloutsResponse,
- Rollout,
- ListRolloutsPage,
+ ListRolloutsRequest, ListRolloutsResponse, Rollout, ListRolloutsPage,
ListRolloutsFixedSizeCollection> {
public static ApiFuture createAsync(
@@ -2796,10 +2759,7 @@ public ApiFuture createPageAsync(
public static class ListRolloutsFixedSizeCollection
extends AbstractFixedSizeCollection<
- ListRolloutsRequest,
- ListRolloutsResponse,
- Rollout,
- ListRolloutsPage,
+ ListRolloutsRequest, ListRolloutsResponse, Rollout, ListRolloutsPage,
ListRolloutsFixedSizeCollection> {
private ListRolloutsFixedSizeCollection(List pages, int collectionSize) {
diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java
similarity index 97%
rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java
rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java
index b1eea4f..97524ea 100644
--- a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java
+++ b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java
@@ -31,6 +31,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.deploy.v1.stub.CloudDeployStubSettings;
@@ -47,9 +48,9 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (clouddeploy.googleapis.com) and default port (443) are used.
- *
- Credentials are acquired automatically through Application Default Credentials.
- *
- Retries are configured for idempotent methods but not for non-idempotent methods.
+ *
- The default service address (clouddeploy.googleapis.com) and default port (443) are used.
+ *
- Credentials are acquired automatically through Application Default Credentials.
+ *
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
*
* The builder of this class is recursive, so contained classes are themselves builders. When
@@ -76,8 +77,7 @@ public class CloudDeploySettings extends ClientSettings {
/** Returns the object with the settings used for calls to listDeliveryPipelines. */
public PagedCallSettings<
- ListDeliveryPipelinesRequest,
- ListDeliveryPipelinesResponse,
+ ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>
listDeliveryPipelinesSettings() {
return ((CloudDeployStubSettings) getStubSettings()).listDeliveryPipelinesSettings();
@@ -321,8 +321,7 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listDeliveryPipelines. */
public PagedCallSettings.Builder<
- ListDeliveryPipelinesRequest,
- ListDeliveryPipelinesResponse,
+ ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>
listDeliveryPipelinesSettings() {
return getStubSettingsBuilder().listDeliveryPipelinesSettings();
diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/gapic_metadata.json
similarity index 100%
rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/gapic_metadata.json
rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/gapic_metadata.json
diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java
similarity index 100%
rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java
rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java
diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStub.java b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStub.java
similarity index 100%
rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStub.java
rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStub.java
diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java
similarity index 98%
rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java
rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java
index d4aff8d..f537036 100644
--- a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java
+++ b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java
@@ -94,9 +94,9 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (clouddeploy.googleapis.com) and default port (443) are used.
- *
- Credentials are acquired automatically through Application Default Credentials.
- *
- Retries are configured for idempotent methods but not for non-idempotent methods.
+ *
- The default service address (clouddeploy.googleapis.com) and default port (443) are used.
+ *
- Credentials are acquired automatically through Application Default Credentials.
+ *
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
*
* The builder of this class is recursive, so contained classes are themselves builders. When
@@ -126,8 +126,7 @@ public class CloudDeployStubSettings extends StubSettingsbuilder().add("https://www.googleapis.com/auth/cloud-platform").build();
private final PagedCallSettings<
- ListDeliveryPipelinesRequest,
- ListDeliveryPipelinesResponse,
+ ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>
listDeliveryPipelinesSettings;
private final UnaryCallSettings
@@ -326,13 +325,11 @@ public Iterable extractResources(ListRolloutsResponse payload) {
};
private static final PagedListResponseFactory<
- ListDeliveryPipelinesRequest,
- ListDeliveryPipelinesResponse,
+ ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>
LIST_DELIVERY_PIPELINES_PAGE_STR_FACT =
new PagedListResponseFactory<
- ListDeliveryPipelinesRequest,
- ListDeliveryPipelinesResponse,
+ ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>() {
@Override
public ApiFuture getFuturePagedResponse(
@@ -402,8 +399,7 @@ public ApiFuture getFuturePagedResponse(
/** Returns the object with the settings used for calls to listDeliveryPipelines. */
public PagedCallSettings<
- ListDeliveryPipelinesRequest,
- ListDeliveryPipelinesResponse,
+ ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>
listDeliveryPipelinesSettings() {
return listDeliveryPipelinesSettings;
@@ -660,8 +656,7 @@ protected CloudDeployStubSettings(Builder settingsBuilder) throws IOException {
public static class Builder extends StubSettings.Builder {
private final ImmutableList> unaryMethodSettingsBuilders;
private final PagedCallSettings.Builder<
- ListDeliveryPipelinesRequest,
- ListDeliveryPipelinesResponse,
+ ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>
listDeliveryPipelinesSettings;
private final UnaryCallSettings.Builder
@@ -1181,8 +1176,7 @@ public Builder applyToAllUnaryMethods(
/** Returns the builder for the settings used for calls to listDeliveryPipelines. */
public PagedCallSettings.Builder<
- ListDeliveryPipelinesRequest,
- ListDeliveryPipelinesResponse,
+ ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse,
ListDeliveryPipelinesPagedResponse>
listDeliveryPipelinesSettings() {
return listDeliveryPipelinesSettings;
diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployCallableFactory.java b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployCallableFactory.java
similarity index 100%
rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployCallableFactory.java
rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployCallableFactory.java
diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java
similarity index 99%
rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java
rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java
index 2050e20..5668a3d 100644
--- a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java
+++ b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java
@@ -64,6 +64,7 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
+import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;
diff --git a/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientTest.java b/owl-bot-staging/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientTest.java
similarity index 100%
rename from google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientTest.java
rename to owl-bot-staging/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientTest.java
diff --git a/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeploy.java b/owl-bot-staging/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeploy.java
similarity index 100%
rename from google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeploy.java
rename to owl-bot-staging/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeploy.java
diff --git a/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeployImpl.java b/owl-bot-staging/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeployImpl.java
similarity index 100%
rename from google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeployImpl.java
rename to owl-bot-staging/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeployImpl.java
diff --git a/owl-bot-staging/v1/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java
new file mode 100644
index 0000000..a1b3e4c
--- /dev/null
+++ b/owl-bot-staging/v1/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java
@@ -0,0 +1,1770 @@
+package com.google.cloud.deploy.v1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ * CloudDeploy service creates and manages Continuous Delivery operations
+ * on Google Cloud Platform via Skaffold (https://skaffold.dev).
+ *
+ */
+@javax.annotation.Generated(
+ value = "by gRPC proto compiler",
+ comments = "Source: google/cloud/deploy/v1/cloud_deploy.proto")
+@io.grpc.stub.annotations.GrpcGenerated
+public final class CloudDeployGrpc {
+
+ private CloudDeployGrpc() {}
+
+ public static final String SERVICE_NAME = "google.cloud.deploy.v1.CloudDeploy";
+
+ // Static method descriptors that strictly reflect the proto.
+ private static volatile io.grpc.MethodDescriptor getListDeliveryPipelinesMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListDeliveryPipelines",
+ requestType = com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.class,
+ responseType = com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getListDeliveryPipelinesMethod() {
+ io.grpc.MethodDescriptor getListDeliveryPipelinesMethod;
+ if ((getListDeliveryPipelinesMethod = CloudDeployGrpc.getListDeliveryPipelinesMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getListDeliveryPipelinesMethod = CloudDeployGrpc.getListDeliveryPipelinesMethod) == null) {
+ CloudDeployGrpc.getListDeliveryPipelinesMethod = getListDeliveryPipelinesMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDeliveryPipelines"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListDeliveryPipelines"))
+ .build();
+ }
+ }
+ }
+ return getListDeliveryPipelinesMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetDeliveryPipelineMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetDeliveryPipeline",
+ requestType = com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.class,
+ responseType = com.google.cloud.deploy.v1.DeliveryPipeline.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetDeliveryPipelineMethod() {
+ io.grpc.MethodDescriptor getGetDeliveryPipelineMethod;
+ if ((getGetDeliveryPipelineMethod = CloudDeployGrpc.getGetDeliveryPipelineMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getGetDeliveryPipelineMethod = CloudDeployGrpc.getGetDeliveryPipelineMethod) == null) {
+ CloudDeployGrpc.getGetDeliveryPipelineMethod = getGetDeliveryPipelineMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDeliveryPipeline"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.GetDeliveryPipelineRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.DeliveryPipeline.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetDeliveryPipeline"))
+ .build();
+ }
+ }
+ }
+ return getGetDeliveryPipelineMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getCreateDeliveryPipelineMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateDeliveryPipeline",
+ requestType = com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getCreateDeliveryPipelineMethod() {
+ io.grpc.MethodDescriptor getCreateDeliveryPipelineMethod;
+ if ((getCreateDeliveryPipelineMethod = CloudDeployGrpc.getCreateDeliveryPipelineMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getCreateDeliveryPipelineMethod = CloudDeployGrpc.getCreateDeliveryPipelineMethod) == null) {
+ CloudDeployGrpc.getCreateDeliveryPipelineMethod = getCreateDeliveryPipelineMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDeliveryPipeline"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CreateDeliveryPipeline"))
+ .build();
+ }
+ }
+ }
+ return getCreateDeliveryPipelineMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getUpdateDeliveryPipelineMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "UpdateDeliveryPipeline",
+ requestType = com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getUpdateDeliveryPipelineMethod() {
+ io.grpc.MethodDescriptor getUpdateDeliveryPipelineMethod;
+ if ((getUpdateDeliveryPipelineMethod = CloudDeployGrpc.getUpdateDeliveryPipelineMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getUpdateDeliveryPipelineMethod = CloudDeployGrpc.getUpdateDeliveryPipelineMethod) == null) {
+ CloudDeployGrpc.getUpdateDeliveryPipelineMethod = getUpdateDeliveryPipelineMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDeliveryPipeline"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("UpdateDeliveryPipeline"))
+ .build();
+ }
+ }
+ }
+ return getUpdateDeliveryPipelineMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getDeleteDeliveryPipelineMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteDeliveryPipeline",
+ requestType = com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getDeleteDeliveryPipelineMethod() {
+ io.grpc.MethodDescriptor getDeleteDeliveryPipelineMethod;
+ if ((getDeleteDeliveryPipelineMethod = CloudDeployGrpc.getDeleteDeliveryPipelineMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getDeleteDeliveryPipelineMethod = CloudDeployGrpc.getDeleteDeliveryPipelineMethod) == null) {
+ CloudDeployGrpc.getDeleteDeliveryPipelineMethod = getDeleteDeliveryPipelineMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDeliveryPipeline"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("DeleteDeliveryPipeline"))
+ .build();
+ }
+ }
+ }
+ return getDeleteDeliveryPipelineMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getListTargetsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListTargets",
+ requestType = com.google.cloud.deploy.v1.ListTargetsRequest.class,
+ responseType = com.google.cloud.deploy.v1.ListTargetsResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getListTargetsMethod() {
+ io.grpc.MethodDescriptor getListTargetsMethod;
+ if ((getListTargetsMethod = CloudDeployGrpc.getListTargetsMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getListTargetsMethod = CloudDeployGrpc.getListTargetsMethod) == null) {
+ CloudDeployGrpc.getListTargetsMethod = getListTargetsMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTargets"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.ListTargetsRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.ListTargetsResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListTargets"))
+ .build();
+ }
+ }
+ }
+ return getListTargetsMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetTargetMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetTarget",
+ requestType = com.google.cloud.deploy.v1.GetTargetRequest.class,
+ responseType = com.google.cloud.deploy.v1.Target.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetTargetMethod() {
+ io.grpc.MethodDescriptor getGetTargetMethod;
+ if ((getGetTargetMethod = CloudDeployGrpc.getGetTargetMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getGetTargetMethod = CloudDeployGrpc.getGetTargetMethod) == null) {
+ CloudDeployGrpc.getGetTargetMethod = getGetTargetMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTarget"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.GetTargetRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.Target.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetTarget"))
+ .build();
+ }
+ }
+ }
+ return getGetTargetMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getCreateTargetMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateTarget",
+ requestType = com.google.cloud.deploy.v1.CreateTargetRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getCreateTargetMethod() {
+ io.grpc.MethodDescriptor getCreateTargetMethod;
+ if ((getCreateTargetMethod = CloudDeployGrpc.getCreateTargetMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getCreateTargetMethod = CloudDeployGrpc.getCreateTargetMethod) == null) {
+ CloudDeployGrpc.getCreateTargetMethod = getCreateTargetMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTarget"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.CreateTargetRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CreateTarget"))
+ .build();
+ }
+ }
+ }
+ return getCreateTargetMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getUpdateTargetMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "UpdateTarget",
+ requestType = com.google.cloud.deploy.v1.UpdateTargetRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getUpdateTargetMethod() {
+ io.grpc.MethodDescriptor getUpdateTargetMethod;
+ if ((getUpdateTargetMethod = CloudDeployGrpc.getUpdateTargetMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getUpdateTargetMethod = CloudDeployGrpc.getUpdateTargetMethod) == null) {
+ CloudDeployGrpc.getUpdateTargetMethod = getUpdateTargetMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTarget"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.UpdateTargetRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("UpdateTarget"))
+ .build();
+ }
+ }
+ }
+ return getUpdateTargetMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getDeleteTargetMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteTarget",
+ requestType = com.google.cloud.deploy.v1.DeleteTargetRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getDeleteTargetMethod() {
+ io.grpc.MethodDescriptor getDeleteTargetMethod;
+ if ((getDeleteTargetMethod = CloudDeployGrpc.getDeleteTargetMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getDeleteTargetMethod = CloudDeployGrpc.getDeleteTargetMethod) == null) {
+ CloudDeployGrpc.getDeleteTargetMethod = getDeleteTargetMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTarget"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.DeleteTargetRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("DeleteTarget"))
+ .build();
+ }
+ }
+ }
+ return getDeleteTargetMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getListReleasesMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListReleases",
+ requestType = com.google.cloud.deploy.v1.ListReleasesRequest.class,
+ responseType = com.google.cloud.deploy.v1.ListReleasesResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getListReleasesMethod() {
+ io.grpc.MethodDescriptor getListReleasesMethod;
+ if ((getListReleasesMethod = CloudDeployGrpc.getListReleasesMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getListReleasesMethod = CloudDeployGrpc.getListReleasesMethod) == null) {
+ CloudDeployGrpc.getListReleasesMethod = getListReleasesMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReleases"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.ListReleasesRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.ListReleasesResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListReleases"))
+ .build();
+ }
+ }
+ }
+ return getListReleasesMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetReleaseMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetRelease",
+ requestType = com.google.cloud.deploy.v1.GetReleaseRequest.class,
+ responseType = com.google.cloud.deploy.v1.Release.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetReleaseMethod() {
+ io.grpc.MethodDescriptor getGetReleaseMethod;
+ if ((getGetReleaseMethod = CloudDeployGrpc.getGetReleaseMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getGetReleaseMethod = CloudDeployGrpc.getGetReleaseMethod) == null) {
+ CloudDeployGrpc.getGetReleaseMethod = getGetReleaseMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRelease"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.GetReleaseRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.Release.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetRelease"))
+ .build();
+ }
+ }
+ }
+ return getGetReleaseMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getCreateReleaseMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateRelease",
+ requestType = com.google.cloud.deploy.v1.CreateReleaseRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getCreateReleaseMethod() {
+ io.grpc.MethodDescriptor getCreateReleaseMethod;
+ if ((getCreateReleaseMethod = CloudDeployGrpc.getCreateReleaseMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getCreateReleaseMethod = CloudDeployGrpc.getCreateReleaseMethod) == null) {
+ CloudDeployGrpc.getCreateReleaseMethod = getCreateReleaseMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRelease"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.CreateReleaseRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CreateRelease"))
+ .build();
+ }
+ }
+ }
+ return getCreateReleaseMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getApproveRolloutMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ApproveRollout",
+ requestType = com.google.cloud.deploy.v1.ApproveRolloutRequest.class,
+ responseType = com.google.cloud.deploy.v1.ApproveRolloutResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getApproveRolloutMethod() {
+ io.grpc.MethodDescriptor getApproveRolloutMethod;
+ if ((getApproveRolloutMethod = CloudDeployGrpc.getApproveRolloutMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getApproveRolloutMethod = CloudDeployGrpc.getApproveRolloutMethod) == null) {
+ CloudDeployGrpc.getApproveRolloutMethod = getApproveRolloutMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ApproveRollout"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.ApproveRolloutRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.ApproveRolloutResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ApproveRollout"))
+ .build();
+ }
+ }
+ }
+ return getApproveRolloutMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getListRolloutsMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListRollouts",
+ requestType = com.google.cloud.deploy.v1.ListRolloutsRequest.class,
+ responseType = com.google.cloud.deploy.v1.ListRolloutsResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getListRolloutsMethod() {
+ io.grpc.MethodDescriptor getListRolloutsMethod;
+ if ((getListRolloutsMethod = CloudDeployGrpc.getListRolloutsMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getListRolloutsMethod = CloudDeployGrpc.getListRolloutsMethod) == null) {
+ CloudDeployGrpc.getListRolloutsMethod = getListRolloutsMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRollouts"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.ListRolloutsRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.ListRolloutsResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("ListRollouts"))
+ .build();
+ }
+ }
+ }
+ return getListRolloutsMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetRolloutMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetRollout",
+ requestType = com.google.cloud.deploy.v1.GetRolloutRequest.class,
+ responseType = com.google.cloud.deploy.v1.Rollout.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetRolloutMethod() {
+ io.grpc.MethodDescriptor getGetRolloutMethod;
+ if ((getGetRolloutMethod = CloudDeployGrpc.getGetRolloutMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getGetRolloutMethod = CloudDeployGrpc.getGetRolloutMethod) == null) {
+ CloudDeployGrpc.getGetRolloutMethod = getGetRolloutMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRollout"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.GetRolloutRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.Rollout.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetRollout"))
+ .build();
+ }
+ }
+ }
+ return getGetRolloutMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getCreateRolloutMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateRollout",
+ requestType = com.google.cloud.deploy.v1.CreateRolloutRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getCreateRolloutMethod() {
+ io.grpc.MethodDescriptor getCreateRolloutMethod;
+ if ((getCreateRolloutMethod = CloudDeployGrpc.getCreateRolloutMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getCreateRolloutMethod = CloudDeployGrpc.getCreateRolloutMethod) == null) {
+ CloudDeployGrpc.getCreateRolloutMethod = getCreateRolloutMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRollout"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.CreateRolloutRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("CreateRollout"))
+ .build();
+ }
+ }
+ }
+ return getCreateRolloutMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetConfigMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetConfig",
+ requestType = com.google.cloud.deploy.v1.GetConfigRequest.class,
+ responseType = com.google.cloud.deploy.v1.Config.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetConfigMethod() {
+ io.grpc.MethodDescriptor getGetConfigMethod;
+ if ((getGetConfigMethod = CloudDeployGrpc.getGetConfigMethod) == null) {
+ synchronized (CloudDeployGrpc.class) {
+ if ((getGetConfigMethod = CloudDeployGrpc.getGetConfigMethod) == null) {
+ CloudDeployGrpc.getGetConfigMethod = getGetConfigMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConfig"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.GetConfigRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.cloud.deploy.v1.Config.getDefaultInstance()))
+ .setSchemaDescriptor(new CloudDeployMethodDescriptorSupplier("GetConfig"))
+ .build();
+ }
+ }
+ }
+ return getGetConfigMethod;
+ }
+
+ /**
+ * Creates a new async stub that supports all call types for the service
+ */
+ public static CloudDeployStub newStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public CloudDeployStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new CloudDeployStub(channel, callOptions);
+ }
+ };
+ return CloudDeployStub.newStub(factory, channel);
+ }
+
+ /**
+ * Creates a new blocking-style stub that supports unary and streaming output calls on the service
+ */
+ public static CloudDeployBlockingStub newBlockingStub(
+ io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public CloudDeployBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new CloudDeployBlockingStub(channel, callOptions);
+ }
+ };
+ return CloudDeployBlockingStub.newStub(factory, channel);
+ }
+
+ /**
+ * Creates a new ListenableFuture-style stub that supports unary calls on the service
+ */
+ public static CloudDeployFutureStub newFutureStub(
+ io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public CloudDeployFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new CloudDeployFutureStub(channel, callOptions);
+ }
+ };
+ return CloudDeployFutureStub.newStub(factory, channel);
+ }
+
+ /**
+ *
+ * CloudDeploy service creates and manages Continuous Delivery operations
+ * on Google Cloud Platform via Skaffold (https://skaffold.dev).
+ *
+ */
+ public static abstract class CloudDeployImplBase implements io.grpc.BindableService {
+
+ /**
+ *
+ * Lists DeliveryPipelines in a given project and location.
+ *
+ */
+ public void listDeliveryPipelines(com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDeliveryPipelinesMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Gets details of a single DeliveryPipeline.
+ *
+ */
+ public void getDeliveryPipeline(com.google.cloud.deploy.v1.GetDeliveryPipelineRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDeliveryPipelineMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Creates a new DeliveryPipeline in a given project and location.
+ *
+ */
+ public void createDeliveryPipeline(com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDeliveryPipelineMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Updates the parameters of a single DeliveryPipeline.
+ *
+ */
+ public void updateDeliveryPipeline(com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDeliveryPipelineMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Deletes a single DeliveryPipeline.
+ *
+ */
+ public void deleteDeliveryPipeline(com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDeliveryPipelineMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Lists Targets in a given project and location.
+ *
+ */
+ public void listTargets(com.google.cloud.deploy.v1.ListTargetsRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTargetsMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Gets details of a single Target.
+ *
+ */
+ public void getTarget(com.google.cloud.deploy.v1.GetTargetRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTargetMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Creates a new Target in a given project and location.
+ *
+ */
+ public void createTarget(com.google.cloud.deploy.v1.CreateTargetRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTargetMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Updates the parameters of a single Target.
+ *
+ */
+ public void updateTarget(com.google.cloud.deploy.v1.UpdateTargetRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTargetMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Deletes a single Target.
+ *
+ */
+ public void deleteTarget(com.google.cloud.deploy.v1.DeleteTargetRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTargetMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Lists Releases in a given project and location.
+ *
+ */
+ public void listReleases(com.google.cloud.deploy.v1.ListReleasesRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListReleasesMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Gets details of a single Release.
+ *
+ */
+ public void getRelease(com.google.cloud.deploy.v1.GetReleaseRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetReleaseMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Creates a new Release in a given project and location.
+ *
+ */
+ public void createRelease(com.google.cloud.deploy.v1.CreateReleaseRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateReleaseMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Approves a Rollout.
+ *
+ */
+ public void approveRollout(com.google.cloud.deploy.v1.ApproveRolloutRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getApproveRolloutMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Lists Rollouts in a given project and location.
+ *
+ */
+ public void listRollouts(com.google.cloud.deploy.v1.ListRolloutsRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRolloutsMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Gets details of a single Rollout.
+ *
+ */
+ public void getRollout(com.google.cloud.deploy.v1.GetRolloutRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRolloutMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Creates a new Rollout in a given project and location.
+ *
+ */
+ public void createRollout(com.google.cloud.deploy.v1.CreateRolloutRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRolloutMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Gets the configuration for a location.
+ *
+ */
+ public void getConfig(com.google.cloud.deploy.v1.GetConfigRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConfigMethod(), responseObserver);
+ }
+
+ @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
+ return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
+ .addMethod(
+ getListDeliveryPipelinesMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest,
+ com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse>(
+ this, METHODID_LIST_DELIVERY_PIPELINES)))
+ .addMethod(
+ getGetDeliveryPipelineMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.GetDeliveryPipelineRequest,
+ com.google.cloud.deploy.v1.DeliveryPipeline>(
+ this, METHODID_GET_DELIVERY_PIPELINE)))
+ .addMethod(
+ getCreateDeliveryPipelineMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_CREATE_DELIVERY_PIPELINE)))
+ .addMethod(
+ getUpdateDeliveryPipelineMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_UPDATE_DELIVERY_PIPELINE)))
+ .addMethod(
+ getDeleteDeliveryPipelineMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_DELETE_DELIVERY_PIPELINE)))
+ .addMethod(
+ getListTargetsMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.ListTargetsRequest,
+ com.google.cloud.deploy.v1.ListTargetsResponse>(
+ this, METHODID_LIST_TARGETS)))
+ .addMethod(
+ getGetTargetMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.GetTargetRequest,
+ com.google.cloud.deploy.v1.Target>(
+ this, METHODID_GET_TARGET)))
+ .addMethod(
+ getCreateTargetMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.CreateTargetRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_CREATE_TARGET)))
+ .addMethod(
+ getUpdateTargetMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.UpdateTargetRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_UPDATE_TARGET)))
+ .addMethod(
+ getDeleteTargetMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.DeleteTargetRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_DELETE_TARGET)))
+ .addMethod(
+ getListReleasesMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.ListReleasesRequest,
+ com.google.cloud.deploy.v1.ListReleasesResponse>(
+ this, METHODID_LIST_RELEASES)))
+ .addMethod(
+ getGetReleaseMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.GetReleaseRequest,
+ com.google.cloud.deploy.v1.Release>(
+ this, METHODID_GET_RELEASE)))
+ .addMethod(
+ getCreateReleaseMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.CreateReleaseRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_CREATE_RELEASE)))
+ .addMethod(
+ getApproveRolloutMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.ApproveRolloutRequest,
+ com.google.cloud.deploy.v1.ApproveRolloutResponse>(
+ this, METHODID_APPROVE_ROLLOUT)))
+ .addMethod(
+ getListRolloutsMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.ListRolloutsRequest,
+ com.google.cloud.deploy.v1.ListRolloutsResponse>(
+ this, METHODID_LIST_ROLLOUTS)))
+ .addMethod(
+ getGetRolloutMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.GetRolloutRequest,
+ com.google.cloud.deploy.v1.Rollout>(
+ this, METHODID_GET_ROLLOUT)))
+ .addMethod(
+ getCreateRolloutMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.CreateRolloutRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_CREATE_ROLLOUT)))
+ .addMethod(
+ getGetConfigMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.deploy.v1.GetConfigRequest,
+ com.google.cloud.deploy.v1.Config>(
+ this, METHODID_GET_CONFIG)))
+ .build();
+ }
+ }
+
+ /**
+ *
+ * CloudDeploy service creates and manages Continuous Delivery operations
+ * on Google Cloud Platform via Skaffold (https://skaffold.dev).
+ *
+ */
+ public static final class CloudDeployStub extends io.grpc.stub.AbstractAsyncStub {
+ private CloudDeployStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected CloudDeployStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new CloudDeployStub(channel, callOptions);
+ }
+
+ /**
+ *
+ * Lists DeliveryPipelines in a given project and location.
+ *
+ */
+ public void listDeliveryPipelines(com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListDeliveryPipelinesMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Gets details of a single DeliveryPipeline.
+ *
+ */
+ public void getDeliveryPipeline(com.google.cloud.deploy.v1.GetDeliveryPipelineRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetDeliveryPipelineMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Creates a new DeliveryPipeline in a given project and location.
+ *
+ */
+ public void createDeliveryPipeline(com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateDeliveryPipelineMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Updates the parameters of a single DeliveryPipeline.
+ *
+ */
+ public void updateDeliveryPipeline(com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getUpdateDeliveryPipelineMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Deletes a single DeliveryPipeline.
+ *
+ */
+ public void deleteDeliveryPipeline(com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeleteDeliveryPipelineMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Lists Targets in a given project and location.
+ *
+ */
+ public void listTargets(com.google.cloud.deploy.v1.ListTargetsRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListTargetsMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Gets details of a single Target.
+ *
+ */
+ public void getTarget(com.google.cloud.deploy.v1.GetTargetRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetTargetMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Creates a new Target in a given project and location.
+ *
+ */
+ public void createTarget(com.google.cloud.deploy.v1.CreateTargetRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateTargetMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Updates the parameters of a single Target.
+ *
+ */
+ public void updateTarget(com.google.cloud.deploy.v1.UpdateTargetRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getUpdateTargetMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Deletes a single Target.
+ *
+ */
+ public void deleteTarget(com.google.cloud.deploy.v1.DeleteTargetRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeleteTargetMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Lists Releases in a given project and location.
+ *
+ */
+ public void listReleases(com.google.cloud.deploy.v1.ListReleasesRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListReleasesMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Gets details of a single Release.
+ *
+ */
+ public void getRelease(com.google.cloud.deploy.v1.GetReleaseRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetReleaseMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Creates a new Release in a given project and location.
+ *
+ */
+ public void createRelease(com.google.cloud.deploy.v1.CreateReleaseRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateReleaseMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Approves a Rollout.
+ *
+ */
+ public void approveRollout(com.google.cloud.deploy.v1.ApproveRolloutRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getApproveRolloutMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Lists Rollouts in a given project and location.
+ *
+ */
+ public void listRollouts(com.google.cloud.deploy.v1.ListRolloutsRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListRolloutsMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Gets details of a single Rollout.
+ *
+ */
+ public void getRollout(com.google.cloud.deploy.v1.GetRolloutRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetRolloutMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *
+ * Creates a new Rollout in a given project and location.
+ *
+ */
+ public void createRollout(com.google.cloud.deploy.v1.CreateRolloutRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateRolloutMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ *