Skip to content
Permalink
Browse files
deps: fix build errors (#5)
* deps: fix build errors

* deps: fix build errors

* update repo metadata

* add missing classes
  • Loading branch information
stephaniewang526 committed Apr 27, 2020
1 parent 0c211ed commit 52941dd5a5f54ec713f12b0b2ab699d1c4974dd6
Showing with 1,897 additions and 825 deletions.
  1. +3 −1 .gitignore
  2. +1 −1 .repo-metadata.json
  3. +2 −1 README.md
  4. +4 −4 google-cloud-bigqueryreservations-bom/pom.xml
  5. +3 −2 google-cloud-bigqueryreservations/pom.xml
  6. +105 −0 ...eservations}/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClient.java
  7. +12 −0 ...ervations}/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceSettings.java
  8. 0 ...ud-bigqueryreservations}/src/main/java/com/google/cloud/bigquery/reservation/v1/package-info.java
  9. 0 ...ain/java/com/google/cloud/bigquery/reservation/v1/stub/GrpcReservationServiceCallableFactory.java
  10. +37 −0 ...ions}/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/GrpcReservationServiceStub.java
  11. +6 −0 ...rvations}/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/ReservationServiceStub.java
  12. +28 −0 ...}/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/ReservationServiceStubSettings.java
  13. 0 ...yreservations}/src/test/java/com/google/cloud/bigquery/reservation/v1/MockReservationService.java
  14. +16 −0 ...ervations}/src/test/java/com/google/cloud/bigquery/reservation/v1/MockReservationServiceImpl.java
  15. +46 −0 ...vations}/src/test/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceClientTest.java
  16. +10 −10 {grpc-google-cloud-bigqueryreservations-v1beta1 → grpc-google-cloud-bigqueryreservations-v1}/pom.xml
  17. +141 −13 ...servations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationServiceGrpc.java
  18. +0 −335 grpc-google-cloud-bigqueryreservations-v1beta1/.flattened-pom.xml
  19. +6 −20 pom.xml
  20. +9 −9 ...o-google-cloud-bigqueryreservations-v1beta1 → proto-google-cloud-bigqueryreservations-v1}/pom.xml
  21. 0 ...d-bigqueryreservations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/Assignment.java
  22. 0 ...gqueryreservations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/AssignmentName.java
  23. 0 ...yreservations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/AssignmentOrBuilder.java
  24. 0 ...igqueryreservations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/BiReservation.java
  25. 0 ...eryreservations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/BiReservationName.java
  26. 0 ...servations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/BiReservationOrBuilder.java
  27. +23 −19 ...ryreservations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/CapacityCommitment.java
  28. 0 ...servations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/CapacityCommitmentName.java
  29. +2 −2 ...tions-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/CapacityCommitmentOrBuilder.java
  30. 0 ...ervations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/CreateAssignmentRequest.java
  31. 0 ...-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/CreateAssignmentRequestOrBuilder.java
  32. +1,061 −0 ...ns-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/CreateCapacityCommitmentRequest.java
  33. +106 −0 .../main/java/com/google/cloud/bigquery/reservation/v1/CreateCapacityCommitmentRequestOrBuilder.java
  34. 0 ...rvations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/CreateReservationRequest.java
  35. 0 ...v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/CreateReservationRequestOrBuilder.java
  36. 0 ...ervations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/DeleteAssignmentRequest.java
  37. 0 ...-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/DeleteAssignmentRequestOrBuilder.java
  38. 0 ...s-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/DeleteCapacityCommitmentRequest.java
  39. 0 .../main/java/com/google/cloud/bigquery/reservation/v1/DeleteCapacityCommitmentRequestOrBuilder.java
  40. 0 ...rvations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/DeleteReservationRequest.java
  41. 0 ...v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/DeleteReservationRequestOrBuilder.java
  42. 0 ...ervations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/GetBiReservationRequest.java
  43. 0 ...-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/GetBiReservationRequestOrBuilder.java
  44. 0 ...ions-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/GetCapacityCommitmentRequest.java
  45. 0 ...src/main/java/com/google/cloud/bigquery/reservation/v1/GetCapacityCommitmentRequestOrBuilder.java
  46. 0 ...eservations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/GetReservationRequest.java
  47. 0 ...ns-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/GetReservationRequestOrBuilder.java
  48. 0 ...servations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/ListAssignmentsRequest.java
  49. 0 ...s-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/ListAssignmentsRequestOrBuilder.java
  50. 0 ...ervations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/ListAssignmentsResponse.java
  51. 0 ...-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/ListAssignmentsResponseOrBuilder.java
  52. 0 ...ns-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/ListCapacityCommitmentsRequest.java
  53. 0 ...c/main/java/com/google/cloud/bigquery/reservation/v1/ListCapacityCommitmentsRequestOrBuilder.java
  54. 0 ...s-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/ListCapacityCommitmentsResponse.java
  55. 0 .../main/java/com/google/cloud/bigquery/reservation/v1/ListCapacityCommitmentsResponseOrBuilder.java
  56. 0 ...ervations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationsRequest.java
  57. 0 ...-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationsRequestOrBuilder.java
  58. 0 ...rvations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationsResponse.java
  59. 0 ...v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/ListReservationsResponseOrBuilder.java
  60. 0 ...bigqueryreservations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/LocationName.java
  61. 0 ...s-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/MergeCapacityCommitmentsRequest.java
  62. 0 .../main/java/com/google/cloud/bigquery/reservation/v1/MergeCapacityCommitmentsRequestOrBuilder.java
  63. 0 ...eservations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/MoveAssignmentRequest.java
  64. 0 ...ns-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/MoveAssignmentRequestOrBuilder.java
  65. 0 ...-bigqueryreservations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/Reservation.java
  66. 0 ...queryreservations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationName.java
  67. 0 ...reservations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationOrBuilder.java
  68. +229 −204 ...ueryreservations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationProto.java
  69. 0 ...rvations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/SearchAssignmentsRequest.java
  70. 0 ...v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/SearchAssignmentsRequestOrBuilder.java
  71. 0 ...vations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/SearchAssignmentsResponse.java
  72. 0 ...1}/src/main/java/com/google/cloud/bigquery/reservation/v1/SearchAssignmentsResponseOrBuilder.java
  73. 0 ...ns-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/SplitCapacityCommitmentRequest.java
  74. 0 ...c/main/java/com/google/cloud/bigquery/reservation/v1/SplitCapacityCommitmentRequestOrBuilder.java
  75. 0 ...s-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/SplitCapacityCommitmentResponse.java
  76. 0 .../main/java/com/google/cloud/bigquery/reservation/v1/SplitCapacityCommitmentResponseOrBuilder.java
  77. 0 ...ations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/UpdateBiReservationRequest.java
  78. 0 ...}/src/main/java/com/google/cloud/bigquery/reservation/v1/UpdateBiReservationRequestOrBuilder.java
  79. 0 ...s-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/UpdateCapacityCommitmentRequest.java
  80. 0 .../main/java/com/google/cloud/bigquery/reservation/v1/UpdateCapacityCommitmentRequestOrBuilder.java
  81. 0 ...rvations-v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/UpdateReservationRequest.java
  82. 0 ...v1}/src/main/java/com/google/cloud/bigquery/reservation/v1/UpdateReservationRequestOrBuilder.java
  83. +37 −7 ...ud-bigqueryreservations-v1}/src/main/proto/google/cloud/bigquery/reservation/v1/reservation.proto
  84. +0 −190 proto-google-cloud-bigqueryreservations-v1beta1/.flattened-pom.xml
  85. +1 −0 samples/snippets/pom.xml
  86. +6 −5 synth.metadata
  87. +1 −0 synth.py
  88. +2 −2 versions.txt
@@ -12,4 +12,6 @@ target/

# python utilities
*.pyc
__pycache__
__pycache__

.flattened-pom.xml
@@ -10,6 +10,6 @@
"repo": "googleapis/java-bigqueryreservations",
"repo_short": "java-bigqueryreservations",
"distribution_name": "com.google.cloud:google-cloud-bigqueryreservations",
"api_id": "bigqueryreservations.googleapis.com",
"api_id": "bigqueryreservation.googleapis.com",
"requires_billing": true
}
@@ -31,6 +31,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigqueryreservations</artifactId>
<version>0.0.0</version>
</dependency>

```
@@ -160,6 +161,6 @@ Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5]
[code-of-conduct]: https://github.com/googleapis/java-bigqueryreservations/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct
[license]: https://github.com/googleapis/java-bigqueryreservations/blob/master/LICENSE
[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=bigqueryreservations.googleapis.com
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=bigqueryreservation.googleapis.com
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
@@ -68,13 +68,13 @@
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-bigqueryreservations-v1beta1</artifactId>
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-bigqueryreservations-v1beta1:current} -->
<artifactId>proto-google-cloud-bigqueryreservations-v1</artifactId>
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-bigqueryreservations-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-bigqueryreservations-v1beta1</artifactId>
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigqueryreservations-v1beta1:current} -->
<artifactId>grpc-google-cloud-bigqueryreservations-v1</artifactId>
<version>0.0.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigqueryreservations-v1:current} -->
</dependency>
</dependencies>
</dependencyManagement>
@@ -16,6 +16,7 @@
<properties>
<site.installationModule>google-cloud-bigqueryreservations</site.installationModule>
</properties>

<dependencies>
<dependency>
<groupId>io.grpc</groupId>
@@ -44,7 +45,7 @@

<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-bigqueryreservations-v1beta1</artifactId>
<artifactId>proto-google-cloud-bigqueryreservations-v1</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
@@ -72,7 +73,7 @@

<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-bigqueryreservations-v1beta1</artifactId>
<artifactId>grpc-google-cloud-bigqueryreservations-v1</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
@@ -871,6 +871,111 @@ public final UnaryCallable<UpdateReservationRequest, Reservation> updateReservat
return stub.updateReservationCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Creates a new capacity commitment resource.
*
* <p>Sample code:
*
* <pre><code>
* try (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* CapacityCommitment capacityCommitment = CapacityCommitment.newBuilder().build();
* CapacityCommitment response = reservationServiceClient.createCapacityCommitment(parent, capacityCommitment);
* }
* </code></pre>
*
* @param parent Required. Resource name of the parent reservation. E.g.,
* projects/myproject/locations/US
* @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(
LocationName parent, CapacityCommitment capacityCommitment) {
CreateCapacityCommitmentRequest request =
CreateCapacityCommitmentRequest.newBuilder()
.setParent(parent == null ? null : parent.toString())
.setCapacityCommitment(capacityCommitment)
.build();
return createCapacityCommitment(request);
}

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Creates a new capacity commitment resource.
*
* <p>Sample code:
*
* <pre><code>
* try (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* CapacityCommitment capacityCommitment = CapacityCommitment.newBuilder().build();
* CapacityCommitment response = reservationServiceClient.createCapacityCommitment(parent.toString(), capacityCommitment);
* }
* </code></pre>
*
* @param parent Required. Resource name of the parent reservation. E.g.,
* projects/myproject/locations/US
* @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(
String parent, CapacityCommitment capacityCommitment) {
CreateCapacityCommitmentRequest request =
CreateCapacityCommitmentRequest.newBuilder()
.setParent(parent)
.setCapacityCommitment(capacityCommitment)
.build();
return createCapacityCommitment(request);
}

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Creates a new capacity commitment resource.
*
* <p>Sample code:
*
* <pre><code>
* try (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* CreateCapacityCommitmentRequest request = CreateCapacityCommitmentRequest.newBuilder()
* .setParent(parent.toString())
* .build();
* CapacityCommitment response = reservationServiceClient.createCapacityCommitment(request);
* }
* </code></pre>
*
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CapacityCommitment createCapacityCommitment(
CreateCapacityCommitmentRequest request) {
return createCapacityCommitmentCallable().call(request);
}

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Creates a new capacity commitment resource.
*
* <p>Sample code:
*
* <pre><code>
* try (ReservationServiceClient reservationServiceClient = ReservationServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* CreateCapacityCommitmentRequest request = CreateCapacityCommitmentRequest.newBuilder()
* .setParent(parent.toString())
* .build();
* ApiFuture&lt;CapacityCommitment&gt; future = reservationServiceClient.createCapacityCommitmentCallable().futureCall(request);
* // Do something
* CapacityCommitment response = future.get();
* }
* </code></pre>
*/
public final UnaryCallable<CreateCapacityCommitmentRequest, CapacityCommitment>
createCapacityCommitmentCallable() {
return stub.createCapacityCommitmentCallable();
}

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Lists all the capacity commitments for the admin project.
@@ -110,6 +110,12 @@ public UnaryCallSettings<UpdateReservationRequest, Reservation> updateReservatio
return ((ReservationServiceStubSettings) getStubSettings()).updateReservationSettings();
}

/** Returns the object with the settings used for calls to createCapacityCommitment. */
public UnaryCallSettings<CreateCapacityCommitmentRequest, CapacityCommitment>
createCapacityCommitmentSettings() {
return ((ReservationServiceStubSettings) getStubSettings()).createCapacityCommitmentSettings();
}

/** Returns the object with the settings used for calls to listCapacityCommitments. */
public PagedCallSettings<
ListCapacityCommitmentsRequest,
@@ -315,6 +321,12 @@ public UnaryCallSettings.Builder<GetReservationRequest, Reservation> getReservat
return getStubSettingsBuilder().updateReservationSettings();
}

/** Returns the builder for the settings used for calls to createCapacityCommitment. */
public UnaryCallSettings.Builder<CreateCapacityCommitmentRequest, CapacityCommitment>
createCapacityCommitmentSettings() {
return getStubSettingsBuilder().createCapacityCommitmentSettings();
}

/** Returns the builder for the settings used for calls to listCapacityCommitments. */
public PagedCallSettings.Builder<
ListCapacityCommitmentsRequest,
@@ -32,6 +32,7 @@
import com.google.cloud.bigquery.reservation.v1.BiReservation;
import com.google.cloud.bigquery.reservation.v1.CapacityCommitment;
import com.google.cloud.bigquery.reservation.v1.CreateAssignmentRequest;
import com.google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest;
import com.google.cloud.bigquery.reservation.v1.CreateReservationRequest;
import com.google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest;
import com.google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest;
@@ -145,6 +146,16 @@ public class GrpcReservationServiceStub extends ReservationServiceStub {
ProtoUtils.marshaller(UpdateReservationRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Reservation.getDefaultInstance()))
.build();
private static final MethodDescriptor<CreateCapacityCommitmentRequest, CapacityCommitment>
createCapacityCommitmentMethodDescriptor =
MethodDescriptor.<CreateCapacityCommitmentRequest, CapacityCommitment>newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
"google.cloud.bigquery.reservation.v1.ReservationService/CreateCapacityCommitment")
.setRequestMarshaller(
ProtoUtils.marshaller(CreateCapacityCommitmentRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(CapacityCommitment.getDefaultInstance()))
.build();
private static final MethodDescriptor<
ListCapacityCommitmentsRequest, ListCapacityCommitmentsResponse>
listCapacityCommitmentsMethodDescriptor =
@@ -277,6 +288,8 @@ public class GrpcReservationServiceStub extends ReservationServiceStub {
listReservationsPagedCallable;
private final UnaryCallable<GetReservationRequest, Reservation> getReservationCallable;
private final UnaryCallable<UpdateReservationRequest, Reservation> updateReservationCallable;
private final UnaryCallable<CreateCapacityCommitmentRequest, CapacityCommitment>
createCapacityCommitmentCallable;
private final UnaryCallable<ListCapacityCommitmentsRequest, ListCapacityCommitmentsResponse>
listCapacityCommitmentsCallable;
private final UnaryCallable<ListCapacityCommitmentsRequest, ListCapacityCommitmentsPagedResponse>
@@ -438,6 +451,20 @@ public Map<String, String> extract(UpdateReservationRequest request) {
}
})
.build();
GrpcCallSettings<CreateCapacityCommitmentRequest, CapacityCommitment>
createCapacityCommitmentTransportSettings =
GrpcCallSettings.<CreateCapacityCommitmentRequest, CapacityCommitment>newBuilder()
.setMethodDescriptor(createCapacityCommitmentMethodDescriptor)
.setParamsExtractor(
new RequestParamsExtractor<CreateCapacityCommitmentRequest>() {
@Override
public Map<String, String> extract(CreateCapacityCommitmentRequest request) {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put("parent", String.valueOf(request.getParent()));
return params.build();
}
})
.build();
GrpcCallSettings<ListCapacityCommitmentsRequest, ListCapacityCommitmentsResponse>
listCapacityCommitmentsTransportSettings =
GrpcCallSettings
@@ -628,6 +655,11 @@ public Map<String, String> extract(UpdateBiReservationRequest request) {
updateReservationTransportSettings,
settings.updateReservationSettings(),
clientContext);
this.createCapacityCommitmentCallable =
callableFactory.createUnaryCallable(
createCapacityCommitmentTransportSettings,
settings.createCapacityCommitmentSettings(),
clientContext);
this.listCapacityCommitmentsCallable =
callableFactory.createUnaryCallable(
listCapacityCommitmentsTransportSettings,
@@ -726,6 +758,11 @@ public UnaryCallable<UpdateReservationRequest, Reservation> updateReservationCal
return updateReservationCallable;
}

public UnaryCallable<CreateCapacityCommitmentRequest, CapacityCommitment>
createCapacityCommitmentCallable() {
return createCapacityCommitmentCallable;
}

public UnaryCallable<ListCapacityCommitmentsRequest, ListCapacityCommitmentsPagedResponse>
listCapacityCommitmentsPagedCallable() {
return listCapacityCommitmentsPagedCallable;
@@ -27,6 +27,7 @@
import com.google.cloud.bigquery.reservation.v1.BiReservation;
import com.google.cloud.bigquery.reservation.v1.CapacityCommitment;
import com.google.cloud.bigquery.reservation.v1.CreateAssignmentRequest;
import com.google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest;
import com.google.cloud.bigquery.reservation.v1.CreateReservationRequest;
import com.google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest;
import com.google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest;
@@ -97,6 +98,11 @@ public UnaryCallable<UpdateReservationRequest, Reservation> updateReservationCal
throw new UnsupportedOperationException("Not implemented: updateReservationCallable()");
}

public UnaryCallable<CreateCapacityCommitmentRequest, CapacityCommitment>
createCapacityCommitmentCallable() {
throw new UnsupportedOperationException("Not implemented: createCapacityCommitmentCallable()");
}

public UnaryCallable<ListCapacityCommitmentsRequest, ListCapacityCommitmentsPagedResponse>
listCapacityCommitmentsPagedCallable() {
throw new UnsupportedOperationException(

0 comments on commit 52941dd

Please sign in to comment.