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

Commit

Permalink
chore: update gapic-generator-java to 0.0.9 (#272)
Browse files Browse the repository at this point in the history
Committer: @miraleung
PiperOrigin-RevId: 346372957

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Dec 8 11:37:30 2020 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 857f70daef9f4c38f042fb3dfb7b8423ae18fd19
Source-Link: googleapis/googleapis@857f70d
  • Loading branch information
yoshi-automation committed Dec 9, 2020
1 parent 7ae81a5 commit 8fbebfe
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 20 deletions.
Expand Up @@ -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
*/
Expand All @@ -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
*/
Expand Down Expand Up @@ -391,7 +391,7 @@ public final UnaryCallable<DeleteReservationRequest, Empty> 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) {
Expand Down Expand Up @@ -430,7 +430,7 @@ public final UnaryCallable<UpdateReservationRequest, Reservation> 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(
Expand All @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand All @@ -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(
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
*/
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand Down Expand Up @@ -1653,8 +1653,8 @@ public final UnaryCallable<GetBiReservationRequest, BiReservation> 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(
Expand Down
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -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"
}
},
{
Expand Down

0 comments on commit 8fbebfe

Please sign in to comment.