Skip to content
Permalink
Browse files
feat: add QueryOptions proto (#84)
* feat: Add QueryOptions proto

* Ignore ExecuteSqlRequestOrBuilder interface change.

This is an auto-generated interface only intended to be used internally.

Co-authored-by: Shanika Kuruppu <skuruppu@google.com>
  • Loading branch information
yoshi-automation and skuruppu committed Mar 12, 2020
1 parent a434e93 commit eb8fc375bbd766f25966aa565e266ed972bbe818
Showing with 2,628 additions and 1,885 deletions.
  1. +6 −5 ...e-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java
  2. +4 −4 google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/SpannerClient.java
  3. +12 −16 ...anner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DatabaseAdminGrpc.java
  4. +112 −144 grpc-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerGrpc.java
  5. +2 −4 ...r-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CreateDatabaseRequest.java
  6. +2 −4 ...ner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/DropDatabaseRequest.java
  7. +2 −4 ...r-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlRequest.java
  8. +2 −4 ...-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseDdlResponse.java
  9. +2 −4 ...nner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/GetDatabaseRequest.java
  10. +16 −25 ...er-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequest.java
  11. +4 −6 ...database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesRequestOrBuilder.java
  12. +16 −18 ...r-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponse.java
  13. +4 −4 ...atabase-v1/src/main/java/com/google/spanner/admin/database/v1/ListDatabasesResponseOrBuilder.java
  14. +46 −60 ...dmin-database-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequest.java
  15. +12 −16 ...base-v1/src/main/java/com/google/spanner/admin/database/v1/UpdateDatabaseDdlRequestOrBuilder.java
  16. +32 −53 ...er-admin-database-v1/src/main/proto/google/spanner/admin/database/v1/spanner_database_admin.proto
  17. +24 −24 ...nner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequest.java
  18. +6 −6 ...n-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/GetInstanceRequestOrBuilder.java
  19. +36 −36 ...r-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequest.java
  20. +9 −9 ...nstance-v1/src/main/java/com/google/spanner/admin/instance/v1/UpdateInstanceRequestOrBuilder.java
  21. +8 −9 ...er-admin-instance-v1/src/main/proto/google/spanner/admin/instance/v1/spanner_instance_admin.proto
  22. +19 −0 proto-google-cloud-spanner-v1/clirr-ignored-differences.xml
  23. +6 −12 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequest.java
  24. +1 −2 ...gle-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsRequestOrBuilder.java
  25. +2 −4 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BatchCreateSessionsResponse.java
  26. +2 −4 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/BeginTransactionRequest.java
  27. +120 −152 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequest.java
  28. +23 −23 ...-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlRequestOrBuilder.java
  29. +160 −220 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponse.java
  30. +30 −40 ...google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteBatchDmlResponseOrBuilder.java
  31. +1,077 −73 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequest.java
  32. +48 −24 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ExecuteSqlRequestOrBuilder.java
  33. +7 −14 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequest.java
  34. +2 −4 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsRequestOrBuilder.java
  35. +14 −14 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponse.java
  36. +4 −4 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ListSessionsResponseOrBuilder.java
  37. +96 −15 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/Mutation.java
  38. +9 −0 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/MutationOrBuilder.java
  39. +32 −50 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequest.java
  40. +11 −18 ...o-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionQueryRequestOrBuilder.java
  41. +71 −128 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequest.java
  42. +20 −35 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/PartitionReadRequestOrBuilder.java
  43. +143 −212 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequest.java
  44. +38 −56 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/ReadRequestOrBuilder.java
  45. +161 −145 proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/SpannerProto.java
  46. +1 −2 proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/keys.proto
  47. +9 −3 proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/mutation.proto
  48. +1 −2 proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/query_plan.proto
  49. +1 −2 proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/result_set.proto
  50. +155 −162 proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/spanner.proto
  51. +1 −2 proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/transaction.proto
  52. +1 −2 proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto
  53. +6 −6 synth.metadata
@@ -1003,12 +1003,13 @@ public final UnaryCallable<CreateInstanceRequest, Operation> createInstanceCalla
*
* @param instance Required. The instance to update, which must always include the instance name.
* Otherwise, only fields mentioned in
* [][google.spanner.admin.instance.v1.UpdateInstanceRequest.field_mask] need be included.
* [field_mask][google.spanner.admin.instance.v1.UpdateInstanceRequest.field_mask] need be
* included.
* @param fieldMask Required. A mask specifying which fields in
* [][google.spanner.admin.instance.v1.UpdateInstanceRequest.instance] should be updated. The
* field mask must always be specified; this prevents any future fields in
* [][google.spanner.admin.instance.v1.Instance] from being erased accidentally by clients
* that do not know about them.
* [Instance][google.spanner.admin.instance.v1.Instance] should be updated. The field mask
* must always be specified; this prevents any future fields in
* [Instance][google.spanner.admin.instance.v1.Instance] from being erased accidentally by
* clients that do not know about them.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@BetaApi(
@@ -193,7 +193,7 @@ public SpannerStub getStub() {
* queries use a transaction internally, and count toward the one transaction limit.
*
* <p>Active sessions use additional server resources, so it is a good idea to delete idle and
* unneeded sessions. Aside from explicit deletes, Cloud Spanner can delete sessions for which no
* unneeded sessions. Aside from explicit deletes, Cloud Spanner may delete sessions for which no
* operations are sent for more than an hour. If a session is deleted, requests to it return
* `NOT_FOUND`.
*
@@ -231,7 +231,7 @@ public final Session createSession(DatabaseName database) {
* queries use a transaction internally, and count toward the one transaction limit.
*
* <p>Active sessions use additional server resources, so it is a good idea to delete idle and
* unneeded sessions. Aside from explicit deletes, Cloud Spanner can delete sessions for which no
* unneeded sessions. Aside from explicit deletes, Cloud Spanner may delete sessions for which no
* operations are sent for more than an hour. If a session is deleted, requests to it return
* `NOT_FOUND`.
*
@@ -266,7 +266,7 @@ public final Session createSession(String database) {
* queries use a transaction internally, and count toward the one transaction limit.
*
* <p>Active sessions use additional server resources, so it is a good idea to delete idle and
* unneeded sessions. Aside from explicit deletes, Cloud Spanner can delete sessions for which no
* unneeded sessions. Aside from explicit deletes, Cloud Spanner may delete sessions for which no
* operations are sent for more than an hour. If a session is deleted, requests to it return
* `NOT_FOUND`.
*
@@ -303,7 +303,7 @@ public final Session createSession(CreateSessionRequest request) {
* queries use a transaction internally, and count toward the one transaction limit.
*
* <p>Active sessions use additional server resources, so it is a good idea to delete idle and
* unneeded sessions. Aside from explicit deletes, Cloud Spanner can delete sessions for which no
* unneeded sessions. Aside from explicit deletes, Cloud Spanner may delete sessions for which no
* operations are sent for more than an hour. If a session is deleted, requests to it return
* `NOT_FOUND`.
*
@@ -591,8 +591,8 @@ public void listDatabases(
* have a name of the format `&lt;database_name&gt;/operations/&lt;operation_id&gt;` and
* can be used to track preparation of the database. The
* [metadata][google.longrunning.Operation.metadata] field type is
* [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata].
* The [response][google.longrunning.Operation.response] field type is
* [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The
* [response][google.longrunning.Operation.response] field type is
* [Database][google.spanner.admin.database.v1.Database], if successful.
* </pre>
*/
@@ -626,8 +626,7 @@ public void getDatabase(
* the format `&lt;database_name&gt;/operations/&lt;operation_id&gt;` and can be used to
* track execution of the schema change(s). The
* [metadata][google.longrunning.Operation.metadata] field type is
* [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].
* The operation has no response.
* [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. The operation has no response.
* </pre>
*/
public void updateDatabaseDdl(
@@ -830,8 +829,8 @@ public void listDatabases(
* have a name of the format `&lt;database_name&gt;/operations/&lt;operation_id&gt;` and
* can be used to track preparation of the database. The
* [metadata][google.longrunning.Operation.metadata] field type is
* [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata].
* The [response][google.longrunning.Operation.response] field type is
* [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The
* [response][google.longrunning.Operation.response] field type is
* [Database][google.spanner.admin.database.v1.Database], if successful.
* </pre>
*/
@@ -871,8 +870,7 @@ public void getDatabase(
* the format `&lt;database_name&gt;/operations/&lt;operation_id&gt;` and can be used to
* track execution of the schema change(s). The
* [metadata][google.longrunning.Operation.metadata] field type is
* [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].
* The operation has no response.
* [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. The operation has no response.
* </pre>
*/
public void updateDatabaseDdl(
@@ -1028,8 +1026,8 @@ public com.google.spanner.admin.database.v1.ListDatabasesResponse listDatabases(
* have a name of the format `&lt;database_name&gt;/operations/&lt;operation_id&gt;` and
* can be used to track preparation of the database. The
* [metadata][google.longrunning.Operation.metadata] field type is
* [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata].
* The [response][google.longrunning.Operation.response] field type is
* [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The
* [response][google.longrunning.Operation.response] field type is
* [Database][google.spanner.admin.database.v1.Database], if successful.
* </pre>
*/
@@ -1062,8 +1060,7 @@ public com.google.spanner.admin.database.v1.Database getDatabase(
* the format `&lt;database_name&gt;/operations/&lt;operation_id&gt;` and can be used to
* track execution of the schema change(s). The
* [metadata][google.longrunning.Operation.metadata] field type is
* [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].
* The operation has no response.
* [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. The operation has no response.
* </pre>
*/
public com.google.longrunning.Operation updateDatabaseDdl(
@@ -1198,8 +1195,8 @@ protected DatabaseAdminFutureStub build(
* have a name of the format `&lt;database_name&gt;/operations/&lt;operation_id&gt;` and
* can be used to track preparation of the database. The
* [metadata][google.longrunning.Operation.metadata] field type is
* [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata].
* The [response][google.longrunning.Operation.response] field type is
* [CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata]. The
* [response][google.longrunning.Operation.response] field type is
* [Database][google.spanner.admin.database.v1.Database], if successful.
* </pre>
*/
@@ -1233,8 +1230,7 @@ protected DatabaseAdminFutureStub build(
* the format `&lt;database_name&gt;/operations/&lt;operation_id&gt;` and can be used to
* track execution of the schema change(s). The
* [metadata][google.longrunning.Operation.metadata] field type is
* [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].
* The operation has no response.
* [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. The operation has no response.
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>

0 comments on commit eb8fc37

Please sign in to comment.