Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
chore: update Java and Python dependencies (#735)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408420890

Source-Link: googleapis/googleapis@2921f9f

Source-Link: googleapis/googleapis-gen@6598ca8
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjU5OGNhOGNiYmY1MjI2NzMzYTA5OWM0NTA2NTE4YTVhZjZmZjc0YyJ9
  • Loading branch information
gcf-owl-bot[bot] committed Nov 10, 2021
1 parent 56e58c6 commit 46b865e
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 80 deletions.
Expand Up @@ -244,10 +244,7 @@ public final AutoscalingPolicy createAutoscalingPolicy(
* <pre>{@code
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* String parent =
* AutoscalingPolicyName.ofProjectLocationAutoscalingPolicyName(
* "[PROJECT]", "[LOCATION]", "[AUTOSCALING_POLICY]")
* .toString();
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* AutoscalingPolicy policy = AutoscalingPolicy.newBuilder().build();
* AutoscalingPolicy response =
* autoscalingPolicyServiceClient.createAutoscalingPolicy(parent, policy);
Expand Down Expand Up @@ -285,10 +282,7 @@ public final AutoscalingPolicy createAutoscalingPolicy(String parent, Autoscalin
* AutoscalingPolicyServiceClient.create()) {
* CreateAutoscalingPolicyRequest request =
* CreateAutoscalingPolicyRequest.newBuilder()
* .setParent(
* AutoscalingPolicyName.ofProjectLocationAutoscalingPolicyName(
* "[PROJECT]", "[LOCATION]", "[AUTOSCALING_POLICY]")
* .toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPolicy(AutoscalingPolicy.newBuilder().build())
* .build();
* AutoscalingPolicy response = autoscalingPolicyServiceClient.createAutoscalingPolicy(request);
Expand All @@ -313,10 +307,7 @@ public final AutoscalingPolicy createAutoscalingPolicy(CreateAutoscalingPolicyRe
* AutoscalingPolicyServiceClient.create()) {
* CreateAutoscalingPolicyRequest request =
* CreateAutoscalingPolicyRequest.newBuilder()
* .setParent(
* AutoscalingPolicyName.ofProjectLocationAutoscalingPolicyName(
* "[PROJECT]", "[LOCATION]", "[AUTOSCALING_POLICY]")
* .toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPolicy(AutoscalingPolicy.newBuilder().build())
* .build();
* ApiFuture<AutoscalingPolicy> future =
Expand Down Expand Up @@ -626,10 +617,7 @@ public final ListAutoscalingPoliciesPagedResponse listAutoscalingPolicies(Region
* <pre>{@code
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* String parent =
* AutoscalingPolicyName.ofProjectLocationAutoscalingPolicyName(
* "[PROJECT]", "[LOCATION]", "[AUTOSCALING_POLICY]")
* .toString();
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (AutoscalingPolicy element :
* autoscalingPolicyServiceClient.listAutoscalingPolicies(parent).iterateAll()) {
* // doThingsWith(element);
Expand Down Expand Up @@ -667,10 +655,7 @@ public final ListAutoscalingPoliciesPagedResponse listAutoscalingPolicies(String
* AutoscalingPolicyServiceClient.create()) {
* ListAutoscalingPoliciesRequest request =
* ListAutoscalingPoliciesRequest.newBuilder()
* .setParent(
* AutoscalingPolicyName.ofProjectLocationAutoscalingPolicyName(
* "[PROJECT]", "[LOCATION]", "[AUTOSCALING_POLICY]")
* .toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
Expand Down Expand Up @@ -700,10 +685,7 @@ public final ListAutoscalingPoliciesPagedResponse listAutoscalingPolicies(
* AutoscalingPolicyServiceClient.create()) {
* ListAutoscalingPoliciesRequest request =
* ListAutoscalingPoliciesRequest.newBuilder()
* .setParent(
* AutoscalingPolicyName.ofProjectLocationAutoscalingPolicyName(
* "[PROJECT]", "[LOCATION]", "[AUTOSCALING_POLICY]")
* .toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
Expand Down Expand Up @@ -732,10 +714,7 @@ public final ListAutoscalingPoliciesPagedResponse listAutoscalingPolicies(
* AutoscalingPolicyServiceClient.create()) {
* ListAutoscalingPoliciesRequest request =
* ListAutoscalingPoliciesRequest.newBuilder()
* .setParent(
* AutoscalingPolicyName.ofProjectLocationAutoscalingPolicyName(
* "[PROJECT]", "[LOCATION]", "[AUTOSCALING_POLICY]")
* .toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
Expand Down
Expand Up @@ -206,7 +206,7 @@ public final OperationFuture<Batch, BatchOperationMetadata> createBatchAsync(
*
* <pre>{@code
* try (BatchControllerClient batchControllerClient = BatchControllerClient.create()) {
* String parent = BatchName.of("[PROJECT]", "[LOCATION]", "[BATCH]").toString();
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* Batch batch = Batch.newBuilder().build();
* String batchId = "batchId-331744779";
* Batch response = batchControllerClient.createBatchAsync(parent, batch, batchId).get();
Expand Down Expand Up @@ -241,7 +241,7 @@ public final OperationFuture<Batch, BatchOperationMetadata> createBatchAsync(
* try (BatchControllerClient batchControllerClient = BatchControllerClient.create()) {
* CreateBatchRequest request =
* CreateBatchRequest.newBuilder()
* .setParent(BatchName.of("[PROJECT]", "[LOCATION]", "[BATCH]").toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setBatch(Batch.newBuilder().build())
* .setBatchId("batchId-331744779")
* .setRequestId("requestId693933066")
Expand All @@ -268,7 +268,7 @@ public final OperationFuture<Batch, BatchOperationMetadata> createBatchAsync(
* try (BatchControllerClient batchControllerClient = BatchControllerClient.create()) {
* CreateBatchRequest request =
* CreateBatchRequest.newBuilder()
* .setParent(BatchName.of("[PROJECT]", "[LOCATION]", "[BATCH]").toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setBatch(Batch.newBuilder().build())
* .setBatchId("batchId-331744779")
* .setRequestId("requestId693933066")
Expand All @@ -295,7 +295,7 @@ public final OperationFuture<Batch, BatchOperationMetadata> createBatchAsync(
* try (BatchControllerClient batchControllerClient = BatchControllerClient.create()) {
* CreateBatchRequest request =
* CreateBatchRequest.newBuilder()
* .setParent(BatchName.of("[PROJECT]", "[LOCATION]", "[BATCH]").toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setBatch(Batch.newBuilder().build())
* .setBatchId("batchId-331744779")
* .setRequestId("requestId693933066")
Expand Down Expand Up @@ -432,7 +432,7 @@ public final ListBatchesPagedResponse listBatches(LocationName parent) {
*
* <pre>{@code
* try (BatchControllerClient batchControllerClient = BatchControllerClient.create()) {
* String parent = BatchName.of("[PROJECT]", "[LOCATION]", "[BATCH]").toString();
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Batch element : batchControllerClient.listBatches(parent).iterateAll()) {
* // doThingsWith(element);
* }
Expand All @@ -457,7 +457,7 @@ public final ListBatchesPagedResponse listBatches(String parent) {
* try (BatchControllerClient batchControllerClient = BatchControllerClient.create()) {
* ListBatchesRequest request =
* ListBatchesRequest.newBuilder()
* .setParent(BatchName.of("[PROJECT]", "[LOCATION]", "[BATCH]").toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
Expand All @@ -484,7 +484,7 @@ public final ListBatchesPagedResponse listBatches(ListBatchesRequest request) {
* try (BatchControllerClient batchControllerClient = BatchControllerClient.create()) {
* ListBatchesRequest request =
* ListBatchesRequest.newBuilder()
* .setParent(BatchName.of("[PROJECT]", "[LOCATION]", "[BATCH]").toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
Expand Down Expand Up @@ -512,7 +512,7 @@ public final ListBatchesPagedResponse listBatches(ListBatchesRequest request) {
* try (BatchControllerClient batchControllerClient = BatchControllerClient.create()) {
* ListBatchesRequest request =
* ListBatchesRequest.newBuilder()
* .setParent(BatchName.of("[PROJECT]", "[LOCATION]", "[BATCH]").toString())
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
Expand Down
Expand Up @@ -259,10 +259,7 @@ public final WorkflowTemplate createWorkflowTemplate(
* <pre>{@code
* try (WorkflowTemplateServiceClient workflowTemplateServiceClient =
* WorkflowTemplateServiceClient.create()) {
* String parent =
* WorkflowTemplateName.ofProjectRegionWorkflowTemplateName(
* "[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]")
* .toString();
* String parent = RegionName.of("[PROJECT]", "[REGION]").toString();
* WorkflowTemplate template = WorkflowTemplate.newBuilder().build();
* WorkflowTemplate response =
* workflowTemplateServiceClient.createWorkflowTemplate(parent, template);
Expand Down Expand Up @@ -300,10 +297,7 @@ public final WorkflowTemplate createWorkflowTemplate(String parent, WorkflowTemp
* WorkflowTemplateServiceClient.create()) {
* CreateWorkflowTemplateRequest request =
* CreateWorkflowTemplateRequest.newBuilder()
* .setParent(
* WorkflowTemplateName.ofProjectRegionWorkflowTemplateName(
* "[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]")
* .toString())
* .setParent(RegionName.of("[PROJECT]", "[REGION]").toString())
* .setTemplate(WorkflowTemplate.newBuilder().build())
* .build();
* WorkflowTemplate response = workflowTemplateServiceClient.createWorkflowTemplate(request);
Expand All @@ -328,10 +322,7 @@ public final WorkflowTemplate createWorkflowTemplate(CreateWorkflowTemplateReque
* WorkflowTemplateServiceClient.create()) {
* CreateWorkflowTemplateRequest request =
* CreateWorkflowTemplateRequest.newBuilder()
* .setParent(
* WorkflowTemplateName.ofProjectRegionWorkflowTemplateName(
* "[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]")
* .toString())
* .setParent(RegionName.of("[PROJECT]", "[REGION]").toString())
* .setTemplate(WorkflowTemplate.newBuilder().build())
* .build();
* ApiFuture<WorkflowTemplate> future =
Expand Down Expand Up @@ -1013,10 +1004,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateInlineWorkflowT
* <pre>{@code
* try (WorkflowTemplateServiceClient workflowTemplateServiceClient =
* WorkflowTemplateServiceClient.create()) {
* String parent =
* WorkflowTemplateName.ofProjectRegionWorkflowTemplateName(
* "[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]")
* .toString();
* String parent = RegionName.of("[PROJECT]", "[REGION]").toString();
* WorkflowTemplate template = WorkflowTemplate.newBuilder().build();
* workflowTemplateServiceClient.instantiateInlineWorkflowTemplateAsync(parent, template).get();
* }
Expand Down Expand Up @@ -1078,10 +1066,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateInlineWorkflowT
* WorkflowTemplateServiceClient.create()) {
* InstantiateInlineWorkflowTemplateRequest request =
* InstantiateInlineWorkflowTemplateRequest.newBuilder()
* .setParent(
* WorkflowTemplateName.ofProjectRegionWorkflowTemplateName(
* "[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]")
* .toString())
* .setParent(RegionName.of("[PROJECT]", "[REGION]").toString())
* .setTemplate(WorkflowTemplate.newBuilder().build())
* .setRequestId("requestId693933066")
* .build();
Expand Down Expand Up @@ -1129,10 +1114,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateInlineWorkflowT
* WorkflowTemplateServiceClient.create()) {
* InstantiateInlineWorkflowTemplateRequest request =
* InstantiateInlineWorkflowTemplateRequest.newBuilder()
* .setParent(
* WorkflowTemplateName.ofProjectRegionWorkflowTemplateName(
* "[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]")
* .toString())
* .setParent(RegionName.of("[PROJECT]", "[REGION]").toString())
* .setTemplate(WorkflowTemplate.newBuilder().build())
* .setRequestId("requestId693933066")
* .build();
Expand Down Expand Up @@ -1182,10 +1164,7 @@ public final OperationFuture<Empty, WorkflowMetadata> instantiateInlineWorkflowT
* WorkflowTemplateServiceClient.create()) {
* InstantiateInlineWorkflowTemplateRequest request =
* InstantiateInlineWorkflowTemplateRequest.newBuilder()
* .setParent(
* WorkflowTemplateName.ofProjectRegionWorkflowTemplateName(
* "[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]")
* .toString())
* .setParent(RegionName.of("[PROJECT]", "[REGION]").toString())
* .setTemplate(WorkflowTemplate.newBuilder().build())
* .setRequestId("requestId693933066")
* .build();
Expand Down Expand Up @@ -1364,10 +1343,7 @@ public final ListWorkflowTemplatesPagedResponse listWorkflowTemplates(RegionName
* <pre>{@code
* try (WorkflowTemplateServiceClient workflowTemplateServiceClient =
* WorkflowTemplateServiceClient.create()) {
* String parent =
* WorkflowTemplateName.ofProjectRegionWorkflowTemplateName(
* "[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]")
* .toString();
* String parent = RegionName.of("[PROJECT]", "[REGION]").toString();
* for (WorkflowTemplate element :
* workflowTemplateServiceClient.listWorkflowTemplates(parent).iterateAll()) {
* // doThingsWith(element);
Expand Down Expand Up @@ -1405,10 +1381,7 @@ public final ListWorkflowTemplatesPagedResponse listWorkflowTemplates(String par
* WorkflowTemplateServiceClient.create()) {
* ListWorkflowTemplatesRequest request =
* ListWorkflowTemplatesRequest.newBuilder()
* .setParent(
* WorkflowTemplateName.ofProjectRegionWorkflowTemplateName(
* "[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]")
* .toString())
* .setParent(RegionName.of("[PROJECT]", "[REGION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
Expand Down Expand Up @@ -1438,10 +1411,7 @@ public final ListWorkflowTemplatesPagedResponse listWorkflowTemplates(
* WorkflowTemplateServiceClient.create()) {
* ListWorkflowTemplatesRequest request =
* ListWorkflowTemplatesRequest.newBuilder()
* .setParent(
* WorkflowTemplateName.ofProjectRegionWorkflowTemplateName(
* "[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]")
* .toString())
* .setParent(RegionName.of("[PROJECT]", "[REGION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
Expand Down Expand Up @@ -1470,10 +1440,7 @@ public final ListWorkflowTemplatesPagedResponse listWorkflowTemplates(
* WorkflowTemplateServiceClient.create()) {
* ListWorkflowTemplatesRequest request =
* ListWorkflowTemplatesRequest.newBuilder()
* .setParent(
* WorkflowTemplateName.ofProjectRegionWorkflowTemplateName(
* "[PROJECT]", "[REGION]", "[WORKFLOW_TEMPLATE]")
* .toString())
* .setParent(RegionName.of("[PROJECT]", "[REGION]").toString())
* .setPageSize(883849137)
* .setPageToken("pageToken873572522")
* .build();
Expand Down
Expand Up @@ -28,6 +28,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/dataproc/v1/autoscaling_policies.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class AutoscalingPolicyServiceGrpc {

private AutoscalingPolicyServiceGrpc() {}
Expand Down
Expand Up @@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/dataproc/v1/batches.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class BatchControllerGrpc {

private BatchControllerGrpc() {}
Expand Down
Expand Up @@ -28,6 +28,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/dataproc/v1/clusters.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class ClusterControllerGrpc {

private ClusterControllerGrpc() {}
Expand Down
Expand Up @@ -27,6 +27,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/dataproc/v1/jobs.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class JobControllerGrpc {

private JobControllerGrpc() {}
Expand Down
Expand Up @@ -28,6 +28,7 @@
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/dataproc/v1/workflow_templates.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class WorkflowTemplateServiceGrpc {

private WorkflowTemplateServiceGrpc() {}
Expand Down

0 comments on commit 46b865e

Please sign in to comment.