From 8fbebfe6cd0cba2753292e74fbc8251e47c2bbd8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 9 Dec 2020 09:47:00 -0800 Subject: [PATCH] chore: update gapic-generator-java to 0.0.9 (#272) Committer: @miraleung PiperOrigin-RevId: 346372957 Source-Author: Google APIs Source-Date: Tue Dec 8 11:37:30 2020 -0800 Source-Repo: googleapis/googleapis Source-Sha: 857f70daef9f4c38f042fb3dfb7b8423ae18fd19 Source-Link: https://github.com/googleapis/googleapis/commit/857f70daef9f4c38f042fb3dfb7b8423ae18fd19 --- .../v1/ReservationServiceClient.java | 34 +++++++++---------- .../v1/stub/GrpcReservationServiceStub.java | 10 ++++++ synth.metadata | 6 ++-- 3 files changed, 30 insertions(+), 20 deletions(-) diff --git a/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClient.java b/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClient.java index 7dc8798c..9814b62e 100644 --- a/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClient.java +++ b/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClient.java @@ -164,7 +164,7 @@ public ReservationServiceStub getStub() { * * @param parent Required. Project, location. E.g., `projects/myproject/locations/US` * @param reservation Definition of the new reservation to create. - * @param reservation_id The reservation ID. This field must only contain lower case alphanumeric + * @param reservationId The reservation ID. This field must only contain lower case alphanumeric * characters or dash. Max length is 64 characters. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -185,7 +185,7 @@ public final Reservation createReservation( * * @param parent Required. Project, location. E.g., `projects/myproject/locations/US` * @param reservation Definition of the new reservation to create. - * @param reservation_id The reservation ID. This field must only contain lower case alphanumeric + * @param reservationId The reservation ID. This field must only contain lower case alphanumeric * characters or dash. Max length is 64 characters. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -391,7 +391,7 @@ public final UnaryCallable deleteReservationCal * Updates an existing reservation resource. * * @param reservation Content of the reservation to update. - * @param update_mask Standard field mask for the set of fields to be updated. + * @param updateMask Standard field mask for the set of fields to be updated. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Reservation updateReservation(Reservation reservation, FieldMask updateMask) { @@ -430,7 +430,7 @@ public final UnaryCallable updateReservat * * @param parent Required. Resource name of the parent reservation. E.g., * `projects/myproject/locations/US` - * @param capacity_commitment Content of the capacity commitment to create. + * @param capacityCommitment Content of the capacity commitment to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final CapacityCommitment createCapacityCommitment( @@ -449,7 +449,7 @@ public final CapacityCommitment createCapacityCommitment( * * @param parent Required. Resource name of the parent reservation. E.g., * `projects/myproject/locations/US` - * @param capacity_commitment Content of the capacity commitment to create. + * @param capacityCommitment Content of the capacity commitment to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final CapacityCommitment createCapacityCommitment( @@ -667,8 +667,8 @@ public final void deleteCapacityCommitment(DeleteCapacityCommitmentRequest reque * plan with shorter commitment period will fail with the error code * `google.rpc.Code.FAILED_PRECONDITION`. * - * @param capacity_commitment Content of the capacity commitment to update. - * @param update_mask Standard field mask for the set of fields to be updated. + * @param capacityCommitment Content of the capacity commitment to update. + * @param updateMask Standard field mask for the set of fields to be updated. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final CapacityCommitment updateCapacityCommitment( @@ -728,7 +728,7 @@ public final CapacityCommitment updateCapacityCommitment( * * @param name Required. The resource name e.g.,: * `projects/myproject/locations/US/capacityCommitments/123` - * @param slot_count Number of slots in the capacity commitment after the split. + * @param slotCount Number of slots in the capacity commitment after the split. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final SplitCapacityCommitmentResponse splitCapacityCommitment( @@ -753,7 +753,7 @@ public final SplitCapacityCommitmentResponse splitCapacityCommitment( * * @param name Required. The resource name e.g.,: * `projects/myproject/locations/US/capacityCommitments/123` - * @param slot_count Number of slots in the capacity commitment after the split. + * @param slotCount Number of slots in the capacity commitment after the split. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final SplitCapacityCommitmentResponse splitCapacityCommitment( @@ -810,7 +810,7 @@ public final SplitCapacityCommitmentResponse splitCapacityCommitment( * * @param parent Parent resource that identifies admin project and location e.g., * `projects/myproject/locations/us` - * @param capacity_commitment_ids Ids of capacity commitments to merge. These capacity commitments + * @param capacityCommitmentIds Ids of capacity commitments to merge. These capacity commitments * must exist under admin project and location specified in the parent. ID is the last portion * of capacity commitment name e.g., 'abc' for * projects/myproject/locations/US/capacityCommitments/abc @@ -838,7 +838,7 @@ public final CapacityCommitment mergeCapacityCommitments( * * @param parent Parent resource that identifies admin project and location e.g., * `projects/myproject/locations/us` - * @param capacity_commitment_ids Ids of capacity commitments to merge. These capacity commitments + * @param capacityCommitmentIds Ids of capacity commitments to merge. These capacity commitments * must exist under admin project and location specified in the parent. ID is the last portion * of capacity commitment name e.g., 'abc' for * projects/myproject/locations/US/capacityCommitments/abc @@ -1492,7 +1492,7 @@ public final SearchAssignmentsPagedResponse searchAssignments(SearchAssignmentsR * * @param name Required. The resource name of the assignment, e.g. * `projects/myproject/locations/US/reservations/team1-prod/assignments/123` - * @param destination_id The new reservation ID, e.g.: + * @param destinationId The new reservation ID, e.g.: * `projects/myotherproject/locations/US/reservations/team2-prod` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1514,7 +1514,7 @@ public final Assignment moveAssignment(AssignmentName name, ReservationName dest * * @param name Required. The resource name of the assignment, e.g. * `projects/myproject/locations/US/reservations/team1-prod/assignments/123` - * @param destination_id The new reservation ID, e.g.: + * @param destinationId The new reservation ID, e.g.: * `projects/myotherproject/locations/US/reservations/team2-prod` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1536,7 +1536,7 @@ public final Assignment moveAssignment(AssignmentName name, String destinationId * * @param name Required. The resource name of the assignment, e.g. * `projects/myproject/locations/US/reservations/team1-prod/assignments/123` - * @param destination_id The new reservation ID, e.g.: + * @param destinationId The new reservation ID, e.g.: * `projects/myotherproject/locations/US/reservations/team2-prod` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1558,7 +1558,7 @@ public final Assignment moveAssignment(String name, ReservationName destinationI * * @param name Required. The resource name of the assignment, e.g. * `projects/myproject/locations/US/reservations/team1-prod/assignments/123` - * @param destination_id The new reservation ID, e.g.: + * @param destinationId The new reservation ID, e.g.: * `projects/myotherproject/locations/US/reservations/team2-prod` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1653,8 +1653,8 @@ public final UnaryCallable getBiReservat * capacity it needs to be updated to an amount greater than 0. In order to release BI capacity * reservation size must be set to 0. * - * @param bi_reservation A reservation to update. - * @param update_mask A list of fields to be updated in this request. + * @param biReservation A reservation to update. + * @param updateMask A list of fields to be updated in this request. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final BiReservation updateBiReservation( diff --git a/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/GrpcReservationServiceStub.java b/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/GrpcReservationServiceStub.java index 46a98ae3..c95be4f5 100644 --- a/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/GrpcReservationServiceStub.java +++ b/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/GrpcReservationServiceStub.java @@ -352,11 +352,21 @@ public static final GrpcReservationServiceStub create( ReservationServiceStubSettings.newBuilder().build(), clientContext, callableFactory); } + /** + * Constructs an instance of GrpcReservationServiceStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ protected GrpcReservationServiceStub( ReservationServiceStubSettings settings, ClientContext clientContext) throws IOException { this(settings, clientContext, new GrpcReservationServiceCallableFactory()); } + /** + * Constructs an instance of GrpcReservationServiceStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ protected GrpcReservationServiceStub( ReservationServiceStubSettings settings, ClientContext clientContext, diff --git a/synth.metadata b/synth.metadata index 6b2fc042..992018a1 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-bigqueryreservation.git", - "sha": "597c9f14ee3c2f661c59f46699d304308d85f850" + "sha": "7ae81a51dac2bef09836eb1585dacebde86b556f" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "b8b2f8c288cec1f673bf10aa5008819c1576bf2e", - "internalRef": "346126713" + "sha": "857f70daef9f4c38f042fb3dfb7b8423ae18fd19", + "internalRef": "346372957" } }, {