From 9acd400b484d6691a080c9152a331d88d24fefc1 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Tue, 26 Feb 2019 00:39:53 -0800 Subject: [PATCH] Regenerate datastore client --- .../datastore/v1/AllocateIdsRequest.java | 6 ++- .../datastore/v1/AllocateIdsResponse.java | 6 ++- .../datastore/v1/BeginTransactionRequest.java | 6 ++- .../v1/BeginTransactionResponse.java | 6 ++- .../google/datastore/v1/CommitRequest.java | 6 ++- .../com/google/datastore/v1/EntityResult.java | 40 +++++++-------- .../datastore/v1/EntityResultOrBuilder.java | 10 ++-- .../com/google/datastore/v1/GqlQuery.java | 6 ++- .../com/google/datastore/v1/PartitionId.java | 6 ++- .../java/com/google/datastore/v1/Query.java | 24 ++++++--- .../google/datastore/v1/QueryOrBuilder.java | 6 ++- .../datastore/v1/ReserveIdsRequest.java | 6 ++- .../datastore/v1/ReserveIdsResponse.java | 6 ++- .../google/datastore/v1/RollbackResponse.java | 10 ++-- .../google/datastore/v1/RunQueryResponse.java | 6 ++- .../datastore/v1/TransactionOptions.java | 12 +++-- .../java/com/google/datastore/v1/Value.java | 28 +++++----- .../google/datastore/v1/ValueOrBuilder.java | 8 +-- .../proto/google/datastore/v1/datastore.proto | 51 ++++++++++--------- .../proto/google/datastore/v1/entity.proto | 8 +-- .../proto/google/datastore/v1/query.proto | 20 ++++---- .../google-cloud-datastore/synth.metadata | 35 +++++++------ 22 files changed, 180 insertions(+), 132 deletions(-) diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequest.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequest.java index 5abb4af2c7e1..6ba0b49a3da2 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequest.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequest.java @@ -7,7 +7,8 @@ * * *
- * The request for [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
+ * The request for
+ * [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
  * 
* * Protobuf type {@code google.datastore.v1.AllocateIdsRequest} @@ -391,7 +392,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request for [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
+   * The request for
+   * [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
    * 
* * Protobuf type {@code google.datastore.v1.AllocateIdsRequest} diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java index 4bfbc3b37286..933c3ac6c127 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java @@ -7,7 +7,8 @@ * * *
- * The response for [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
+ * The response for
+ * [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
  * 
* * Protobuf type {@code google.datastore.v1.AllocateIdsResponse} @@ -330,7 +331,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response for [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
+   * The response for
+   * [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
    * 
* * Protobuf type {@code google.datastore.v1.AllocateIdsResponse} diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java index ea01da83ccf0..d596b451c744 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java @@ -7,7 +7,8 @@ * * *
- * The request for [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
+ * The request for
+ * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
  * 
* * Protobuf type {@code google.datastore.v1.BeginTransactionRequest} @@ -369,7 +370,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request for [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
+   * The request for
+   * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
    * 
* * Protobuf type {@code google.datastore.v1.BeginTransactionRequest} diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java index f475d0bf4d31..02d816a3a1f4 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java @@ -7,7 +7,8 @@ * * *
- * The response for [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
+ * The response for
+ * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
  * 
* * Protobuf type {@code google.datastore.v1.BeginTransactionResponse} @@ -268,7 +269,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response for [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
+   * The response for
+   * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
    * 
* * Protobuf type {@code google.datastore.v1.BeginTransactionResponse} diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java index 18edeafa4942..6dddb62a0048 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java @@ -144,7 +144,8 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { * *
      * Transactional: The mutations are either all applied, or none are applied.
-     * Learn about transactions [here](https://cloud.google.com/datastore/docs/concepts/transactions).
+     * Learn about transactions
+     * [here](https://cloud.google.com/datastore/docs/concepts/transactions).
      * 
* * TRANSACTIONAL = 1; @@ -178,7 +179,8 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { * *
      * Transactional: The mutations are either all applied, or none are applied.
-     * Learn about transactions [here](https://cloud.google.com/datastore/docs/concepts/transactions).
+     * Learn about transactions
+     * [here](https://cloud.google.com/datastore/docs/concepts/transactions).
      * 
* * TRANSACTIONAL = 1; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResult.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResult.java index c74e1d24c8a9..de1e2b9658ea 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResult.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResult.java @@ -328,11 +328,11 @@ public com.google.datastore.v1.EntityOrBuilder getEntityOrBuilder() { *
    * The version of the entity, a strictly positive number that monotonically
    * increases with changes to the entity.
-   * This field is set for [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity
-   * results.
-   * For [missing][google.datastore.v1.LookupResponse.missing] entities in `LookupResponse`, this
-   * is the version of the snapshot that was used to look up the entity, and it
-   * is always set except for eventually consistent reads.
+   * This field is set for
+   * [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity results.
+   * For [missing][google.datastore.v1.LookupResponse.missing] entities in
+   * `LookupResponse`, this is the version of the snapshot that was used to look
+   * up the entity, and it is always set except for eventually consistent reads.
    * 
* * int64 version = 4; @@ -895,11 +895,11 @@ public com.google.datastore.v1.EntityOrBuilder getEntityOrBuilder() { *
      * The version of the entity, a strictly positive number that monotonically
      * increases with changes to the entity.
-     * This field is set for [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity
-     * results.
-     * For [missing][google.datastore.v1.LookupResponse.missing] entities in `LookupResponse`, this
-     * is the version of the snapshot that was used to look up the entity, and it
-     * is always set except for eventually consistent reads.
+     * This field is set for
+     * [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity results.
+     * For [missing][google.datastore.v1.LookupResponse.missing] entities in
+     * `LookupResponse`, this is the version of the snapshot that was used to look
+     * up the entity, and it is always set except for eventually consistent reads.
      * 
* * int64 version = 4; @@ -913,11 +913,11 @@ public long getVersion() { *
      * The version of the entity, a strictly positive number that monotonically
      * increases with changes to the entity.
-     * This field is set for [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity
-     * results.
-     * For [missing][google.datastore.v1.LookupResponse.missing] entities in `LookupResponse`, this
-     * is the version of the snapshot that was used to look up the entity, and it
-     * is always set except for eventually consistent reads.
+     * This field is set for
+     * [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity results.
+     * For [missing][google.datastore.v1.LookupResponse.missing] entities in
+     * `LookupResponse`, this is the version of the snapshot that was used to look
+     * up the entity, and it is always set except for eventually consistent reads.
      * 
* * int64 version = 4; @@ -934,11 +934,11 @@ public Builder setVersion(long value) { *
      * The version of the entity, a strictly positive number that monotonically
      * increases with changes to the entity.
-     * This field is set for [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity
-     * results.
-     * For [missing][google.datastore.v1.LookupResponse.missing] entities in `LookupResponse`, this
-     * is the version of the snapshot that was used to look up the entity, and it
-     * is always set except for eventually consistent reads.
+     * This field is set for
+     * [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity results.
+     * For [missing][google.datastore.v1.LookupResponse.missing] entities in
+     * `LookupResponse`, this is the version of the snapshot that was used to look
+     * up the entity, and it is always set except for eventually consistent reads.
      * 
* * int64 version = 4; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java index c6d14a06c123..accfd1d51118 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java @@ -45,11 +45,11 @@ public interface EntityResultOrBuilder *
    * The version of the entity, a strictly positive number that monotonically
    * increases with changes to the entity.
-   * This field is set for [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity
-   * results.
-   * For [missing][google.datastore.v1.LookupResponse.missing] entities in `LookupResponse`, this
-   * is the version of the snapshot that was used to look up the entity, and it
-   * is always set except for eventually consistent reads.
+   * This field is set for
+   * [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity results.
+   * For [missing][google.datastore.v1.LookupResponse.missing] entities in
+   * `LookupResponse`, this is the version of the snapshot that was used to look
+   * up the entity, and it is always set except for eventually consistent reads.
    * 
* * int64 version = 4; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java index cf63ef014d1c..22d4a2239b34 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java @@ -7,7 +7,8 @@ * * *
- * A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
+ * A [GQL
+ * query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
  * 
* * Protobuf type {@code google.datastore.v1.GqlQuery} @@ -603,7 +604,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
+   * A [GQL
+   * query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
    * 
* * Protobuf type {@code google.datastore.v1.GqlQuery} diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java index 9ce64553ebe3..0c24f36cd56d 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java @@ -21,7 +21,8 @@ * contexts. * Foreign partition IDs (in which the project ID does * not match the context project ID ) are discouraged. - * Reads and writes of foreign partition IDs may fail if the project is not in an active state. + * Reads and writes of foreign partition IDs may fail if the project is not in + * an active state. * * * Protobuf type {@code google.datastore.v1.PartitionId} @@ -384,7 +385,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * contexts. * Foreign partition IDs (in which the project ID does * not match the context project ID ) are discouraged. - * Reads and writes of foreign partition IDs may fail if the project is not in an active state. + * Reads and writes of foreign partition IDs may fail if the project is not in + * an active state. * * * Protobuf type {@code google.datastore.v1.PartitionId} diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java index ecd8c13d5973..356909095014 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java @@ -508,7 +508,8 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder *
    * A starting point for the query results. Query cursors are
    * returned in query result batches and
-   * [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
+   * [can only be used to continue the same
+   * query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
    * 
* * bytes start_cursor = 7; @@ -525,7 +526,8 @@ public com.google.protobuf.ByteString getStartCursor() { *
    * An ending point for the query results. Query cursors are
    * returned in query result batches and
-   * [can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
+   * [can only be used to limit the same
+   * query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
    * 
* * bytes end_cursor = 8; @@ -2861,7 +2863,8 @@ public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder(in *
      * A starting point for the query results. Query cursors are
      * returned in query result batches and
-     * [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
+     * [can only be used to continue the same
+     * query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
      * 
* * bytes start_cursor = 7; @@ -2875,7 +2878,8 @@ public com.google.protobuf.ByteString getStartCursor() { *
      * A starting point for the query results. Query cursors are
      * returned in query result batches and
-     * [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
+     * [can only be used to continue the same
+     * query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
      * 
* * bytes start_cursor = 7; @@ -2895,7 +2899,8 @@ public Builder setStartCursor(com.google.protobuf.ByteString value) { *
      * A starting point for the query results. Query cursors are
      * returned in query result batches and
-     * [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
+     * [can only be used to continue the same
+     * query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
      * 
* * bytes start_cursor = 7; @@ -2914,7 +2919,8 @@ public Builder clearStartCursor() { *
      * An ending point for the query results. Query cursors are
      * returned in query result batches and
-     * [can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
+     * [can only be used to limit the same
+     * query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
      * 
* * bytes end_cursor = 8; @@ -2928,7 +2934,8 @@ public com.google.protobuf.ByteString getEndCursor() { *
      * An ending point for the query results. Query cursors are
      * returned in query result batches and
-     * [can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
+     * [can only be used to limit the same
+     * query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
      * 
* * bytes end_cursor = 8; @@ -2948,7 +2955,8 @@ public Builder setEndCursor(com.google.protobuf.ByteString value) { *
      * An ending point for the query results. Query cursors are
      * returned in query result batches and
-     * [can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
+     * [can only be used to limit the same
+     * query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
      * 
* * bytes end_cursor = 8; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java index 95192344a70a..383f534837c7 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java @@ -266,7 +266,8 @@ public interface QueryOrBuilder *
    * A starting point for the query results. Query cursors are
    * returned in query result batches and
-   * [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
+   * [can only be used to continue the same
+   * query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
    * 
* * bytes start_cursor = 7; @@ -279,7 +280,8 @@ public interface QueryOrBuilder *
    * An ending point for the query results. Query cursors are
    * returned in query result batches and
-   * [can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
+   * [can only be used to limit the same
+   * query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
    * 
* * bytes end_cursor = 8; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java index 323b55e8fdf0..a0a3a4ab6499 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java @@ -7,7 +7,8 @@ * * *
- * The request for [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
+ * The request for
+ * [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
  * 
* * Protobuf type {@code google.datastore.v1.ReserveIdsRequest} @@ -451,7 +452,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The request for [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
+   * The request for
+   * [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
    * 
* * Protobuf type {@code google.datastore.v1.ReserveIdsRequest} diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java index 20cf629e517c..1cde2d6e7b87 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java @@ -7,7 +7,8 @@ * * *
- * The response for [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
+ * The response for
+ * [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
  * 
* * Protobuf type {@code google.datastore.v1.ReserveIdsResponse} @@ -236,7 +237,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response for [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
+   * The response for
+   * [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
    * 
* * Protobuf type {@code google.datastore.v1.ReserveIdsResponse} diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java index 61ff9b088371..8f1884d4765c 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java @@ -7,8 +7,9 @@ * * *
- * The response for [Datastore.Rollback][google.datastore.v1.Datastore.Rollback].
- * (an empty message).
+ * The response for
+ * [Datastore.Rollback][google.datastore.v1.Datastore.Rollback]. (an empty
+ * message).
  * 
* * Protobuf type {@code google.datastore.v1.RollbackResponse} @@ -236,8 +237,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response for [Datastore.Rollback][google.datastore.v1.Datastore.Rollback].
-   * (an empty message).
+   * The response for
+   * [Datastore.Rollback][google.datastore.v1.Datastore.Rollback]. (an empty
+   * message).
    * 
* * Protobuf type {@code google.datastore.v1.RollbackResponse} diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java index 4cc3706d3f0b..72b3c109bbe1 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java @@ -7,7 +7,8 @@ * * *
- * The response for [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].
+ * The response for
+ * [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].
  * 
* * Protobuf type {@code google.datastore.v1.RunQueryResponse} @@ -372,7 +373,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The response for [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].
+   * The response for
+   * [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].
    * 
* * Protobuf type {@code google.datastore.v1.RunQueryResponse} diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java index 486309161268..cf9b3f1b02f5 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java @@ -9,8 +9,10 @@ *
  * Options for beginning a new transaction.
  * Transactions can be created explicitly with calls to
- * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction] or implicitly by setting
- * [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] in read requests.
+ * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]
+ * or implicitly by setting
+ * [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction]
+ * in read requests.
  * 
* * Protobuf type {@code google.datastore.v1.TransactionOptions} @@ -1428,8 +1430,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * Options for beginning a new transaction.
    * Transactions can be created explicitly with calls to
-   * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction] or implicitly by setting
-   * [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] in read requests.
+   * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]
+   * or implicitly by setting
+   * [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction]
+   * in read requests.
    * 
* * Protobuf type {@code google.datastore.v1.TransactionOptions} diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java index c75eddabe6fd..d6a96292bc73 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java @@ -459,8 +459,8 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() { * *
    * A UTF-8 encoded string value.
-   * When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
-   * Otherwise, may be set to at least 1,000,000 bytes.
+   * When `exclude_from_indexes` is false (it is indexed) , may have at most
+   * 1500 bytes. Otherwise, may be set to at least 1,000,000 bytes.
    * 
* * string string_value = 17; @@ -486,8 +486,8 @@ public java.lang.String getStringValue() { * *
    * A UTF-8 encoded string value.
-   * When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
-   * Otherwise, may be set to at least 1,000,000 bytes.
+   * When `exclude_from_indexes` is false (it is indexed) , may have at most
+   * 1500 bytes. Otherwise, may be set to at least 1,000,000 bytes.
    * 
* * string string_value = 17; @@ -1996,8 +1996,8 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() { * *
      * A UTF-8 encoded string value.
-     * When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
-     * Otherwise, may be set to at least 1,000,000 bytes.
+     * When `exclude_from_indexes` is false (it is indexed) , may have at most
+     * 1500 bytes. Otherwise, may be set to at least 1,000,000 bytes.
      * 
* * string string_value = 17; @@ -2023,8 +2023,8 @@ public java.lang.String getStringValue() { * *
      * A UTF-8 encoded string value.
-     * When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
-     * Otherwise, may be set to at least 1,000,000 bytes.
+     * When `exclude_from_indexes` is false (it is indexed) , may have at most
+     * 1500 bytes. Otherwise, may be set to at least 1,000,000 bytes.
      * 
* * string string_value = 17; @@ -2050,8 +2050,8 @@ public com.google.protobuf.ByteString getStringValueBytes() { * *
      * A UTF-8 encoded string value.
-     * When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
-     * Otherwise, may be set to at least 1,000,000 bytes.
+     * When `exclude_from_indexes` is false (it is indexed) , may have at most
+     * 1500 bytes. Otherwise, may be set to at least 1,000,000 bytes.
      * 
* * string string_value = 17; @@ -2070,8 +2070,8 @@ public Builder setStringValue(java.lang.String value) { * *
      * A UTF-8 encoded string value.
-     * When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
-     * Otherwise, may be set to at least 1,000,000 bytes.
+     * When `exclude_from_indexes` is false (it is indexed) , may have at most
+     * 1500 bytes. Otherwise, may be set to at least 1,000,000 bytes.
      * 
* * string string_value = 17; @@ -2089,8 +2089,8 @@ public Builder clearStringValue() { * *
      * A UTF-8 encoded string value.
-     * When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
-     * Otherwise, may be set to at least 1,000,000 bytes.
+     * When `exclude_from_indexes` is false (it is indexed) , may have at most
+     * 1500 bytes. Otherwise, may be set to at least 1,000,000 bytes.
      * 
* * string string_value = 17; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java index d65ab5382436..bb8fa78e8205 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java @@ -135,8 +135,8 @@ public interface ValueOrBuilder * *
    * A UTF-8 encoded string value.
-   * When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
-   * Otherwise, may be set to at least 1,000,000 bytes.
+   * When `exclude_from_indexes` is false (it is indexed) , may have at most
+   * 1500 bytes. Otherwise, may be set to at least 1,000,000 bytes.
    * 
* * string string_value = 17; @@ -147,8 +147,8 @@ public interface ValueOrBuilder * *
    * A UTF-8 encoded string value.
-   * When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
-   * Otherwise, may be set to at least 1,000,000 bytes.
+   * When `exclude_from_indexes` is false (it is indexed) , may have at most
+   * 1500 bytes. Otherwise, may be set to at least 1,000,000 bytes.
    * 
* * string string_value = 17; diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto index 2a29a58cec72..51d69acb9db8 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto @@ -27,7 +27,6 @@ option java_outer_classname = "DatastoreProto"; option java_package = "com.google.datastore.v1"; option php_namespace = "Google\\Cloud\\Datastore\\V1"; - // Each RPC normalizes the partition IDs of the keys in its input entities, // and always returns entities with keys with normalized partition IDs. // This applies to all keys and entities, including those in values, except keys @@ -53,7 +52,8 @@ service Datastore { } // Begins a new transaction. - rpc BeginTransaction(BeginTransactionRequest) returns (BeginTransactionResponse) { + rpc BeginTransaction(BeginTransactionRequest) + returns (BeginTransactionResponse) { option (google.api.http) = { post: "/v1/projects/{project_id}:beginTransaction" body: "*" @@ -150,7 +150,8 @@ message RunQueryRequest { } } -// The response for [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery]. +// The response for +// [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery]. message RunQueryResponse { // A batch of query results (always present). QueryResultBatch batch = 1; @@ -159,7 +160,8 @@ message RunQueryResponse { Query query = 2; } -// The request for [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. +// The request for +// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. message BeginTransactionRequest { // The ID of the project against which to make the request. string project_id = 8; @@ -168,7 +170,8 @@ message BeginTransactionRequest { TransactionOptions transaction_options = 10; } -// The response for [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. +// The response for +// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. message BeginTransactionResponse { // The transaction identifier (always present). bytes transaction = 1; @@ -184,11 +187,10 @@ message RollbackRequest { bytes transaction = 1; } -// The response for [Datastore.Rollback][google.datastore.v1.Datastore.Rollback]. -// (an empty message). -message RollbackResponse { - -} +// The response for +// [Datastore.Rollback][google.datastore.v1.Datastore.Rollback]. (an empty +// message). +message RollbackResponse {} // The request for [Datastore.Commit][google.datastore.v1.Datastore.Commit]. message CommitRequest { @@ -198,7 +200,8 @@ message CommitRequest { MODE_UNSPECIFIED = 0; // Transactional: The mutations are either all applied, or none are applied. - // Learn about transactions [here](https://cloud.google.com/datastore/docs/concepts/transactions). + // Learn about transactions + // [here](https://cloud.google.com/datastore/docs/concepts/transactions). TRANSACTIONAL = 1; // Non-transactional: The mutations may not apply as all or none. @@ -246,7 +249,8 @@ message CommitResponse { int32 index_updates = 4; } -// The request for [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds]. +// The request for +// [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds]. message AllocateIdsRequest { // The ID of the project against which to make the request. string project_id = 8; @@ -256,14 +260,16 @@ message AllocateIdsRequest { repeated Key keys = 1; } -// The response for [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds]. +// The response for +// [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds]. message AllocateIdsResponse { // The keys specified in the request (in the same order), each with // its key path completed with a newly allocated ID. repeated Key keys = 1; } -// The request for [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds]. +// The request for +// [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds]. message ReserveIdsRequest { // The ID of the project against which to make the request. string project_id = 8; @@ -276,10 +282,9 @@ message ReserveIdsRequest { repeated Key keys = 1; } -// The response for [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds]. -message ReserveIdsResponse { - -} +// The response for +// [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds]. +message ReserveIdsResponse {} // A mutation to apply to an entity. message Mutation { @@ -369,8 +374,10 @@ message ReadOptions { // Options for beginning a new transaction. // // Transactions can be created explicitly with calls to -// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction] or implicitly by setting -// [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] in read requests. +// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction] +// or implicitly by setting +// [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] +// in read requests. message TransactionOptions { // Options specific to read / write transactions. message ReadWrite { @@ -379,9 +386,7 @@ message TransactionOptions { } // Options specific to read-only transactions. - message ReadOnly { - - } + message ReadOnly {} // The `mode` of the transaction, indicating whether write operations are // supported. diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto index bab7953d62e2..9decd2b53802 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto @@ -28,7 +28,6 @@ option java_outer_classname = "EntityProto"; option java_package = "com.google.datastore.v1"; option php_namespace = "Google\\Cloud\\Datastore\\V1"; - // A partition ID identifies a grouping of entities. The grouping is always // by project and namespace, however the namespace ID may be empty. // @@ -47,7 +46,8 @@ option php_namespace = "Google\\Cloud\\Datastore\\V1"; // // Foreign partition IDs (in which the project ID does // not match the context project ID ) are discouraged. -// Reads and writes of foreign partition IDs may fail if the project is not in an active state. +// Reads and writes of foreign partition IDs may fail if the project is not in +// an active state. message PartitionId { // The ID of the project to which the entities belong. string project_id = 2; @@ -145,8 +145,8 @@ message Value { Key key_value = 5; // A UTF-8 encoded string value. - // When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes. - // Otherwise, may be set to at least 1,000,000 bytes. + // When `exclude_from_indexes` is false (it is indexed) , may have at most + // 1500 bytes. Otherwise, may be set to at least 1,000,000 bytes. string string_value = 17; // A blob value. diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto index 2efed915a74e..872612c5dd24 100644 --- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto +++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto @@ -28,7 +28,6 @@ option java_outer_classname = "QueryProto"; option java_package = "com.google.datastore.v1"; option php_namespace = "Google\\Cloud\\Datastore\\V1"; - // The result of fetching an entity from Datastore. message EntityResult { // Specifies what data the 'entity' field contains. @@ -56,12 +55,12 @@ message EntityResult { // The version of the entity, a strictly positive number that monotonically // increases with changes to the entity. // - // This field is set for [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity - // results. + // This field is set for + // [`FULL`][google.datastore.v1.EntityResult.ResultType.FULL] entity results. // - // For [missing][google.datastore.v1.LookupResponse.missing] entities in `LookupResponse`, this - // is the version of the snapshot that was used to look up the entity, and it - // is always set except for eventually consistent reads. + // For [missing][google.datastore.v1.LookupResponse.missing] entities in + // `LookupResponse`, this is the version of the snapshot that was used to look + // up the entity, and it is always set except for eventually consistent reads. int64 version = 4; // A cursor that points to the position after the result entity. @@ -91,12 +90,14 @@ message Query { // A starting point for the query results. Query cursors are // returned in query result batches and - // [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets). + // [can only be used to continue the same + // query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets). bytes start_cursor = 7; // An ending point for the query results. Query cursors are // returned in query result batches and - // [can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets). + // [can only be used to limit the same + // query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets). bytes end_cursor = 8; // The number of results to skip. Applies before limit, but after all other @@ -217,7 +218,8 @@ message PropertyFilter { Value value = 3; } -// A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). +// A [GQL +// query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). message GqlQuery { // A string of the format described // [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). diff --git a/google-cloud-clients/google-cloud-datastore/synth.metadata b/google-cloud-clients/google-cloud-datastore/synth.metadata index 2bd4f07a69a5..a13b8f3a5a89 100644 --- a/google-cloud-clients/google-cloud-datastore/synth.metadata +++ b/google-cloud-clients/google-cloud-datastore/synth.metadata @@ -1,27 +1,32 @@ { + "updateTime": "2019-02-26T08:39:53.042326Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.14", + "dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "29f098cb03a9983cc9cb15993de5da64419046f2", + "internalRef": "235621085" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "datastore", + "apiVersion": "v1", + "language": "java", + "generator": "gapic", + "config": "google/datastore/artman_datastore.yaml" } } ] -} +} \ No newline at end of file