- * Lists the names of the snapshots on this topic.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Lists the names of the snapshots on this topic. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
*
diff --git a/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java b/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java
index ad439b0be39d..0e6414fd4823 100644
--- a/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java
+++ b/google-api-grpc/grpc-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriberGrpc.java
@@ -862,13 +862,14 @@ public abstract static class SubscriberImplBase implements io.grpc.BindableServi
*
*
* Creates a subscription to a given topic. See the
- * <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
+ * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
+ * resource name rules</a>.
* If the subscription already exists, returns `ALREADY_EXISTS`.
* If the corresponding topic doesn't exist, returns `NOT_FOUND`.
* If the name is not provided in the request, the server will assign a random
* name for this subscription on the same project as the topic, conforming
* to the
- * [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
+ * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
* The generated name is populated in the returned Subscription object.
* Note that for REST API requests, you must specify a name in the request.
*
@@ -1026,8 +1027,12 @@ public void modifyPushConfig(
*
*
*
- * Gets the configuration details of a snapshot.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Gets the configuration details of a snapshot. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow you to manage message acknowledgments in bulk. That
+ * is, you can set the acknowledgment state of messages in an existing
+ * subscription to the state captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
*
@@ -1042,8 +1047,13 @@ public void getSnapshot(
*
*
*
- * Lists the existing snapshots.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Lists the existing snapshots. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
*
@@ -1058,8 +1068,14 @@ public void listSnapshots(
*
*
*
- * Creates a snapshot from the requested subscription.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Creates a snapshot from the requested subscription. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.
+ * <br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.<br><br>
* If the snapshot already exists, returns `ALREADY_EXISTS`.
@@ -1069,10 +1085,10 @@ public void listSnapshots(
* See also the `Snapshot.expire_time` field. If the name is not provided in
* the request, the server will assign a random
* name for this snapshot on the same project as the subscription, conforming
- * to the [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
- * The generated
- * name is populated in the returned Snapshot object. Note that for REST API
- * requests, you must specify a name in the request.
+ * to the
+ * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
+ * The generated name is populated in the returned Snapshot object. Note that
+ * for REST API requests, you must specify a name in the request.
*
*/
public void createSnapshot(
@@ -1085,8 +1101,13 @@ public void createSnapshot(
*
*
*
- * Updates an existing snapshot.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Updates an existing snapshot. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
* Note that certain properties of a snapshot are not modifiable.
@@ -1102,8 +1123,13 @@ public void updateSnapshot(
*
*
*
- * Removes an existing snapshot. <br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Removes an existing snapshot. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
* When the snapshot is deleted, all messages retained in the snapshot
@@ -1123,8 +1149,14 @@ public void deleteSnapshot(
*
*
* Seeks an existing subscription to a point in time or to a given snapshot,
- * whichever is provided in the request.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * whichever is provided in the request. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot. Note that both the subscription and the snapshot
+ * must be on the same topic.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
*
@@ -1267,13 +1299,14 @@ protected SubscriberStub build(io.grpc.Channel channel, io.grpc.CallOptions call
*
*
* Creates a subscription to a given topic. See the
- * <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
+ * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
+ * resource name rules</a>.
* If the subscription already exists, returns `ALREADY_EXISTS`.
* If the corresponding topic doesn't exist, returns `NOT_FOUND`.
* If the name is not provided in the request, the server will assign a random
* name for this subscription on the same project as the topic, conforming
* to the
- * [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
+ * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
* The generated name is populated in the returned Subscription object.
* Note that for REST API requests, you must specify a name in the request.
*
@@ -1457,8 +1490,12 @@ public void modifyPushConfig(
*
*
*
- * Gets the configuration details of a snapshot.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Gets the configuration details of a snapshot. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow you to manage message acknowledgments in bulk. That
+ * is, you can set the acknowledgment state of messages in an existing
+ * subscription to the state captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
*
@@ -1476,8 +1513,13 @@ public void getSnapshot(
*
*
*
- * Lists the existing snapshots.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Lists the existing snapshots. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
*
@@ -1495,8 +1537,14 @@ public void listSnapshots(
*
*
*
- * Creates a snapshot from the requested subscription.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Creates a snapshot from the requested subscription. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.
+ * <br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.<br><br>
* If the snapshot already exists, returns `ALREADY_EXISTS`.
@@ -1506,10 +1554,10 @@ public void listSnapshots(
* See also the `Snapshot.expire_time` field. If the name is not provided in
* the request, the server will assign a random
* name for this snapshot on the same project as the subscription, conforming
- * to the [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
- * The generated
- * name is populated in the returned Snapshot object. Note that for REST API
- * requests, you must specify a name in the request.
+ * to the
+ * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
+ * The generated name is populated in the returned Snapshot object. Note that
+ * for REST API requests, you must specify a name in the request.
*
*/
public void createSnapshot(
@@ -1525,8 +1573,13 @@ public void createSnapshot(
*
*
*
- * Updates an existing snapshot.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Updates an existing snapshot. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
* Note that certain properties of a snapshot are not modifiable.
@@ -1545,8 +1598,13 @@ public void updateSnapshot(
*
*
*
- * Removes an existing snapshot. <br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Removes an existing snapshot. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
* When the snapshot is deleted, all messages retained in the snapshot
@@ -1569,8 +1627,14 @@ public void deleteSnapshot(
*
*
* Seeks an existing subscription to a point in time or to a given snapshot,
- * whichever is provided in the request.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * whichever is provided in the request. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot. Note that both the subscription and the snapshot
+ * must be on the same topic.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
*
@@ -1613,13 +1677,14 @@ protected SubscriberBlockingStub build(
*
*
* Creates a subscription to a given topic. See the
- * <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
+ * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
+ * resource name rules</a>.
* If the subscription already exists, returns `ALREADY_EXISTS`.
* If the corresponding topic doesn't exist, returns `NOT_FOUND`.
* If the name is not provided in the request, the server will assign a random
* name for this subscription on the same project as the topic, conforming
* to the
- * [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
+ * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
* The generated name is populated in the returned Subscription object.
* Note that for REST API requests, you must specify a name in the request.
*
@@ -1755,8 +1820,12 @@ public com.google.protobuf.Empty modifyPushConfig(
*
*
*
- * Gets the configuration details of a snapshot.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Gets the configuration details of a snapshot. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow you to manage message acknowledgments in bulk. That
+ * is, you can set the acknowledgment state of messages in an existing
+ * subscription to the state captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
*
@@ -1771,8 +1840,13 @@ public com.google.pubsub.v1.Snapshot getSnapshot(
*
*
*
- * Lists the existing snapshots.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Lists the existing snapshots. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
*
@@ -1787,8 +1861,14 @@ public com.google.pubsub.v1.ListSnapshotsResponse listSnapshots(
*
*
*
- * Creates a snapshot from the requested subscription.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Creates a snapshot from the requested subscription. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.
+ * <br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.<br><br>
* If the snapshot already exists, returns `ALREADY_EXISTS`.
@@ -1798,10 +1878,10 @@ public com.google.pubsub.v1.ListSnapshotsResponse listSnapshots(
* See also the `Snapshot.expire_time` field. If the name is not provided in
* the request, the server will assign a random
* name for this snapshot on the same project as the subscription, conforming
- * to the [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
- * The generated
- * name is populated in the returned Snapshot object. Note that for REST API
- * requests, you must specify a name in the request.
+ * to the
+ * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
+ * The generated name is populated in the returned Snapshot object. Note that
+ * for REST API requests, you must specify a name in the request.
*
*/
public com.google.pubsub.v1.Snapshot createSnapshot(
@@ -1814,8 +1894,13 @@ public com.google.pubsub.v1.Snapshot createSnapshot(
*
*
*
- * Updates an existing snapshot.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Updates an existing snapshot. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
* Note that certain properties of a snapshot are not modifiable.
@@ -1831,8 +1916,13 @@ public com.google.pubsub.v1.Snapshot updateSnapshot(
*
*
*
- * Removes an existing snapshot. <br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Removes an existing snapshot. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
* When the snapshot is deleted, all messages retained in the snapshot
@@ -1852,8 +1942,14 @@ public com.google.protobuf.Empty deleteSnapshot(
*
*
* Seeks an existing subscription to a point in time or to a given snapshot,
- * whichever is provided in the request.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * whichever is provided in the request. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot. Note that both the subscription and the snapshot
+ * must be on the same topic.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
*
@@ -1892,13 +1988,14 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
*
*
* Creates a subscription to a given topic. See the
- * <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
+ * <a href="https://cloud.google.com/pubsub/docs/admin#resource_names">
+ * resource name rules</a>.
* If the subscription already exists, returns `ALREADY_EXISTS`.
* If the corresponding topic doesn't exist, returns `NOT_FOUND`.
* If the name is not provided in the request, the server will assign a random
* name for this subscription on the same project as the topic, conforming
* to the
- * [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
+ * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
* The generated name is populated in the returned Subscription object.
* Note that for REST API requests, you must specify a name in the request.
*
@@ -2038,8 +2135,12 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
*
*
*
- * Gets the configuration details of a snapshot.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Gets the configuration details of a snapshot. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow you to manage message acknowledgments in bulk. That
+ * is, you can set the acknowledgment state of messages in an existing
+ * subscription to the state captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
*
@@ -2054,8 +2155,13 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
*
*
*
- * Lists the existing snapshots.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Lists the existing snapshots. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
*
@@ -2071,8 +2177,14 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
*
*
*
- * Creates a snapshot from the requested subscription.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Creates a snapshot from the requested subscription. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.
+ * <br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.<br><br>
* If the snapshot already exists, returns `ALREADY_EXISTS`.
@@ -2082,10 +2194,10 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
* See also the `Snapshot.expire_time` field. If the name is not provided in
* the request, the server will assign a random
* name for this snapshot on the same project as the subscription, conforming
- * to the [resource name format](https://cloud.google.com/pubsub/docs/overview#names).
- * The generated
- * name is populated in the returned Snapshot object. Note that for REST API
- * requests, you must specify a name in the request.
+ * to the
+ * [resource name format](https://cloud.google.com/pubsub/docs/admin#resource_names).
+ * The generated name is populated in the returned Snapshot object. Note that
+ * for REST API requests, you must specify a name in the request.
*
*/
public com.google.common.util.concurrent.ListenableFuture
@@ -2098,8 +2210,13 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
*
*
*
- * Updates an existing snapshot.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Updates an existing snapshot. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
* Note that certain properties of a snapshot are not modifiable.
@@ -2115,8 +2232,13 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
*
*
*
- * Removes an existing snapshot. <br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * Removes an existing snapshot. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
* When the snapshot is deleted, all messages retained in the snapshot
@@ -2136,8 +2258,14 @@ protected SubscriberFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
*
*
* Seeks an existing subscription to a point in time or to a given snapshot,
- * whichever is provided in the request.<br><br>
- * <b>ALPHA:</b> This feature is part of an alpha release. This API might be
+ * whichever is provided in the request. Snapshots are used in
+ * <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
+ * operations, which allow
+ * you to manage message acknowledgments in bulk. That is, you can set the
+ * acknowledgment state of messages in an existing subscription to the state
+ * captured by a snapshot. Note that both the subscription and the snapshot
+ * must be on the same topic.<br><br>
+ * <b>BETA:</b> This feature is part of a beta release. This API might be
* changed in backward-incompatible ways and is not recommended for production
* use. It is not subject to any SLA or deprecation policy.
*
diff --git a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml
index b76d6ba084e3..3dab005d6908 100644
--- a/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-redis-v1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-redis-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-redis-v1
GRPC library for grpc-google-cloud-redis-v1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml
index 45966a0cd5aa..fff4e187a4e7 100644
--- a/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-redis-v1beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-redis-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-redis-v1beta1
GRPC library for grpc-google-cloud-redis-v1beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml
index da4b0bad5d15..bd3ef59a1032 100644
--- a/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-scheduler-v1beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-scheduler-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-scheduler-v1beta1
GRPC library for grpc-google-cloud-scheduler-v1beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml
index b6d8b289d5bb..8576836f51c2 100644
--- a/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-securitycenter-v1beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-securitycenter-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-securitycenter-v1beta1
GRPC library for grpc-google-cloud-securitycenter-v1beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml
index f637f8af6d7c..6a2bdf756e4b 100644
--- a/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-spanner-admin-database-v1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-spanner-admin-database-v1
- 1.3.0
+ 1.7.1-SNAPSHOT
grpc-google-cloud-spanner-admin-database-v1
GRPC library for grpc-google-cloud-spanner-admin-database-v1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml
index 5de77c02e0c3..4e718bc3e2ef 100644
--- a/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-spanner-admin-instance-v1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-spanner-admin-instance-v1
- 1.3.0
+ 1.7.1-SNAPSHOT
grpc-google-cloud-spanner-admin-instance-v1
GRPC library for grpc-google-cloud-spanner-admin-instance-v1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml
index ca3a56944777..5b97e72df450 100644
--- a/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-spanner-v1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-spanner-v1
- 1.3.0
+ 1.7.1-SNAPSHOT
grpc-google-cloud-spanner-v1
GRPC library for grpc-google-cloud-spanner-v1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml
index c112d73cf0a0..ba410d12d352 100644
--- a/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-speech-v1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-speech-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-speech-v1
GRPC library for grpc-google-cloud-speech-v1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml
index 238d5f03c0fd..ee4f6caaf140 100644
--- a/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-speech-v1beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-speech-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-speech-v1beta1
GRPC library for grpc-google-cloud-speech-v1beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml
index ab11f6298b21..0f139d4d4cbc 100644
--- a/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-speech-v1p1beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-speech-v1p1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-speech-v1p1beta1
GRPC library for grpc-google-cloud-speech-v1p1beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml
index f636740f4a77..ab9b6a03f1cd 100644
--- a/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta2/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-tasks-v2beta2
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-tasks-v2beta2
GRPC library for grpc-google-cloud-tasks-v2beta2
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml
index 06efb21bfe47..6b3d755c4472 100644
--- a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-tasks-v2beta3
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-tasks-v2beta3
GRPC library for grpc-google-cloud-tasks-v2beta3
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml
index 566d316e5b6f..ee0d8a106c3a 100644
--- a/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-texttospeech-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-texttospeech-v1
GRPC library for grpc-google-cloud-texttospeech-v1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechGrpc.java b/google-api-grpc/grpc-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechGrpc.java
index 32a3f2f70d53..3459e3956efb 100644
--- a/google-api-grpc/grpc-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechGrpc.java
+++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechGrpc.java
@@ -171,8 +171,7 @@ public abstract static class TextToSpeechImplBase implements io.grpc.BindableSer
*
*
*
- * Returns a list of [Voice][google.cloud.texttospeech.v1.Voice]
- * supported for synthesis.
+ * Returns a list of Voice supported for synthesis.
*
*/
public void listVoices(
@@ -243,8 +242,7 @@ protected TextToSpeechStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
*
*
*
- * Returns a list of [Voice][google.cloud.texttospeech.v1.Voice]
- * supported for synthesis.
+ * Returns a list of Voice supported for synthesis.
*
*/
public void listVoices(
@@ -303,8 +301,7 @@ protected TextToSpeechBlockingStub build(
*
*
*
- * Returns a list of [Voice][google.cloud.texttospeech.v1.Voice]
- * supported for synthesis.
+ * Returns a list of Voice supported for synthesis.
*
*/
public com.google.cloud.texttospeech.v1.ListVoicesResponse listVoices(
@@ -355,8 +352,7 @@ protected TextToSpeechFutureStub build(
*
*
*
- * Returns a list of [Voice][google.cloud.texttospeech.v1.Voice]
- * supported for synthesis.
+ * Returns a list of Voice supported for synthesis.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
diff --git a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml
index 8e03ea1338ae..4bf40cee92f4 100644
--- a/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-texttospeech-v1beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-texttospeech-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-texttospeech-v1beta1
GRPC library for grpc-google-cloud-texttospeech-v1beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml
index e2e29ba3ab06..1dc5dc0623b7 100644
--- a/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-trace-v1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-trace-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-trace-v1
GRPC library for grpc-google-cloud-trace-v1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml
index 4f523c55d67e..77d46d51fbaf 100644
--- a/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-trace-v2/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-trace-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-trace-v2
GRPC library for grpc-google-cloud-trace-v2
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml
index c5888cc8f6c2..5d3f958074fe 100644
--- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-video-intelligence-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-video-intelligence-v1
GRPC library for grpc-google-cloud-video-intelligence-v1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml
index 303b72a9072e..69240ec8df80 100644
--- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-video-intelligence-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-video-intelligence-v1beta1
GRPC library for grpc-google-cloud-video-intelligence-v1beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml
index b8c672de2737..2d3b40aaa563 100644
--- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1beta2/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-video-intelligence-v1beta2
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-video-intelligence-v1beta2
GRPC library for grpc-google-cloud-video-intelligence-v1beta2
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml
index 36f97cd0aeeb..46bdcccc244c 100644
--- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-video-intelligence-v1p1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-video-intelligence-v1p1beta1
GRPC library for grpc-google-cloud-video-intelligence-v1p1beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml
index b0a5096477ed..f2cf9bc37a01 100644
--- a/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-video-intelligence-v1p2beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-video-intelligence-v1p2beta1
GRPC library for grpc-google-cloud-video-intelligence-v1p2beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml
index 65c0b71aeb6f..a96506c6c29c 100644
--- a/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-vision-v1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-vision-v1
- 1.40.0
+ 1.44.1-SNAPSHOT
grpc-google-cloud-vision-v1
GRPC library for grpc-google-cloud-vision-v1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml
index fba05d75820d..82bd4c887208 100644
--- a/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-vision-v1p1beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-vision-v1p1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-vision-v1p1beta1
GRPC library for grpc-google-cloud-vision-v1p1beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml
index cf85242e32bc..e0321b211a6a 100644
--- a/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-vision-v1p2beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-vision-v1p2beta1
- 1.40.0
+ 1.44.1-SNAPSHOT
grpc-google-cloud-vision-v1p2beta1
GRPC library for grpc-google-cloud-vision-v1p2beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml
index 270462d7e719..d942ada72de6 100644
--- a/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-vision-v1p3beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-vision-v1p3beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-vision-v1p3beta1
GRPC library for grpc-google-cloud-vision-v1p3beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml
index 7fe538a221d4..cfea630afe96 100644
--- a/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml
+++ b/google-api-grpc/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
grpc-google-cloud-websecurityscanner-v1alpha
- 0.41.0
+ 0.45.1-SNAPSHOT
grpc-google-cloud-websecurityscanner-v1alpha
GRPC library for grpc-google-cloud-websecurityscanner-v1alpha
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/pom.xml b/google-api-grpc/pom.xml
index a7af2cf3e195..9112d8746cee 100644
--- a/google-api-grpc/pom.xml
+++ b/google-api-grpc/pom.xml
@@ -4,7 +4,7 @@
com.google.api.grpc
google-api-grpc
pom
- 0.41.0
+ 0.45.1-SNAPSHOT
Google Cloud API gRPC
https://github.com/googleapis/google-cloud-java/tree/master/google-api-grpc
@@ -142,507 +142,517 @@
com.google.api.grpc
proto-google-cloud-asset-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-asset-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-automl-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-automl-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-bigtable-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-bigtable-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-bigtable-admin-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-bigtable-admin-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-bigquerydatatransfer-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-bigquerydatatransfer-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-bigquerystorage-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-bigquerystorage-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-container-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-container-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-containeranalysis-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-containeranalysis-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-dataproc-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-dataproc-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-dataproc-v1beta2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-dataproc-v1beta2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-datastore-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-dlp-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-dlp-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-dialogflow-v2beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-dialogflow-v2beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-dialogflow-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-dialogflow-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-error-reporting-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-error-reporting-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
+
+
+ com.google.api.grpc
+ proto-google-cloud-firestore-v1
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-firestore-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
+
+
+ com.google.api.grpc
+ grpc-google-cloud-firestore-v1
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-firestore-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-kms-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-kms-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-language-v1
- 1.40.0
+ 1.44.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-language-v1
- 1.40.0
+ 1.44.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-language-v1beta2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-language-v1beta2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-logging-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-logging-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-monitoring-v3
- 1.40.0
+ 1.44.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-monitoring-v3
- 1.40.0
+ 1.44.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-os-login-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-os-login-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-pubsub-v1
- 1.40.0
+ 1.44.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-pubsub-v1
- 1.40.0
+ 1.44.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-redis-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-redis-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-redis-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-redis-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-scheduler-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-scheduler-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-spanner-v1
- 1.3.0
+ 1.7.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-spanner-v1
- 1.3.0
+ 1.7.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-spanner-admin-database-v1
- 1.3.0
+ 1.7.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-spanner-admin-database-v1
- 1.3.0
+ 1.7.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-spanner-admin-instance-v1
- 1.3.0
+ 1.7.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-spanner-admin-instance-v1
- 1.3.0
+ 1.7.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-speech-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-speech-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-speech-v1p1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-speech-v1p1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-speech-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-speech-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-tasks-v2beta2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-tasks-v2beta2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-tasks-v2beta3
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-tasks-v2beta3
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-texttospeech-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-texttospeech-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-texttospeech-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-texttospeech-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-trace-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-trace-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-trace-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-trace-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-vision-v1
- 1.40.0
+ 1.44.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-vision-v1
- 1.40.0
+ 1.44.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-vision-v1p1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-vision-v1p1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-vision-v1p2beta1
- 1.40.0
+ 1.44.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-vision-v1p2beta1
- 1.40.0
+ 1.44.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-vision-v1p3beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-vision-v1p3beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-video-intelligence-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-video-intelligence-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-video-intelligence-v1beta2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-video-intelligence-v1beta2
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-video-intelligence-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-video-intelligence-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-video-intelligence-v1p1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-video-intelligence-v1p1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-video-intelligence-v1p2beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-video-intelligence-v1p2beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-iot-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-iot-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-securitycenter-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-securitycenter-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-websecurityscanner-v1alpha
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-websecurityscanner-v1alpha
- 0.41.0
+ 0.45.1-SNAPSHOT
com.google.api.grpc
proto-google-cloud-iamcredentials-v1
- 0.3.0-alpha
+ 0.7.1-alpha-SNAPSHOT
com.google.api.grpc
grpc-google-cloud-iamcredentials-v1
- 0.3.0-alpha
+ 0.7.1-alpha-SNAPSHOT
@@ -662,6 +672,7 @@
grpc-google-cloud-dialogflow-v2beta1
grpc-google-cloud-dlp-v2
grpc-google-cloud-error-reporting-v1beta1
+ grpc-google-cloud-firestore-v1
grpc-google-cloud-firestore-v1beta1
grpc-google-cloud-iamcredentials-v1
grpc-google-cloud-iot-v1
@@ -714,6 +725,7 @@
proto-google-cloud-dialogflow-v2beta1
proto-google-cloud-dlp-v2
proto-google-cloud-error-reporting-v1beta1
+ proto-google-cloud-firestore-v1
proto-google-cloud-firestore-v1beta1
proto-google-cloud-iamcredentials-v1
proto-google-cloud-iot-v1
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml
index b993fac1c654..922044726956 100644
--- a/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml
+++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-asset-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-asset-v1beta1
PROTO library for proto-google-cloud-asset-v1beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Asset.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Asset.java
index 78ef2bc864c4..4d7d7e62c94f 100644
--- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Asset.java
+++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Asset.java
@@ -183,7 +183,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Type of the asset. Example: "google.compute.disk".
+ * Type of the asset. Example: "google.compute.Disk".
*
*
* string asset_type = 2;
@@ -203,7 +203,7 @@ public java.lang.String getAssetType() {
*
*
*
- * Type of the asset. Example: "google.compute.disk".
+ * Type of the asset. Example: "google.compute.Disk".
*
*
* string asset_type = 2;
@@ -799,7 +799,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Type of the asset. Example: "google.compute.disk".
+ * Type of the asset. Example: "google.compute.Disk".
*
*
* string asset_type = 2;
@@ -819,7 +819,7 @@ public java.lang.String getAssetType() {
*
*
*
- * Type of the asset. Example: "google.compute.disk".
+ * Type of the asset. Example: "google.compute.Disk".
*
*
* string asset_type = 2;
@@ -839,7 +839,7 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
*
*
*
- * Type of the asset. Example: "google.compute.disk".
+ * Type of the asset. Example: "google.compute.Disk".
*
*
* string asset_type = 2;
@@ -857,7 +857,7 @@ public Builder setAssetType(java.lang.String value) {
*
*
*
- * Type of the asset. Example: "google.compute.disk".
+ * Type of the asset. Example: "google.compute.Disk".
*
*
* string asset_type = 2;
@@ -872,7 +872,7 @@ public Builder clearAssetType() {
*
*
*
- * Type of the asset. Example: "google.compute.disk".
+ * Type of the asset. Example: "google.compute.Disk".
*
*
* string asset_type = 2;
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetOrBuilder.java
index 3556a5505d43..7e86bd0fb721 100644
--- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetOrBuilder.java
@@ -37,7 +37,7 @@ public interface AssetOrBuilder
*
*
*
- * Type of the asset. Example: "google.compute.disk".
+ * Type of the asset. Example: "google.compute.Disk".
*
*
* string asset_type = 2;
@@ -47,7 +47,7 @@ public interface AssetOrBuilder
*
*
*
- * Type of the asset. Example: "google.compute.disk".
+ * Type of the asset. Example: "google.compute.Disk".
*
*
* string asset_type = 2;
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceProto.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceProto.java
index e9f12a371d44..d3d321770ae5 100644
--- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceProto.java
+++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceProto.java
@@ -69,26 +69,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ ".google.cloud.asset.v1beta1.TemporalAsse"
+ "t\"d\n\014OutputConfig\022E\n\017gcs_destination\030\001 \001"
+ "(\0132*.google.cloud.asset.v1beta1.GcsDesti"
- + "nationH\000B\r\n\013destination\"\035\n\016GcsDestinatio"
- + "n\022\013\n\003uri\030\001 \001(\t*I\n\013ContentType\022\034\n\030CONTENT"
- + "_TYPE_UNSPECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM"
- + "_POLICY\020\0022\340\003\n\014AssetService\022\311\001\n\014ExportAss"
- + "ets\022/.google.cloud.asset.v1beta1.ExportA"
- + "ssetsRequest\032\035.google.longrunning.Operat"
- + "ion\"i\202\323\344\223\002c\")/v1beta1/{parent=projects/*"
- + "}:exportAssets:\001*Z3\"./v1beta1/{parent=or"
- + "ganizations/*}:exportAssets:\001*\022\203\002\n\025Batch"
- + "GetAssetsHistory\0228.google.cloud.asset.v1"
- + "beta1.BatchGetAssetsHistoryRequest\0329.goo"
- + "gle.cloud.asset.v1beta1.BatchGetAssetsHi"
- + "storyResponse\"u\202\323\344\223\002o\0222/v1beta1/{parent="
- + "projects/*}:batchGetAssetsHistoryZ9\0227/v1"
- + "beta1/{parent=organizations/*}:batchGetA"
- + "ssetsHistoryB\260\001\n\036com.google.cloud.asset."
- + "v1beta1B\021AssetServiceProtoP\001Z?google.gol"
- + "ang.org/genproto/googleapis/cloud/asset/"
- + "v1beta1;asset\252\002\032Google.Cloud.Asset.V1Bet"
- + "a1\312\002\032Google\\Cloud\\Asset\\V1beta1b\006proto3"
+ + "nationH\000B\r\n\013destination\"-\n\016GcsDestinatio"
+ + "n\022\r\n\003uri\030\001 \001(\tH\000B\014\n\nobject_uri*I\n\013Conten"
+ + "tType\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020\000\022\014\n\010R"
+ + "ESOURCE\020\001\022\016\n\nIAM_POLICY\020\0022\221\004\n\014AssetServi"
+ + "ce\022\372\001\n\014ExportAssets\022/.google.cloud.asset"
+ + ".v1beta1.ExportAssetsRequest\032\035.google.lo"
+ + "ngrunning.Operation\"\231\001\202\323\344\223\002\222\001\")/v1beta1/"
+ + "{parent=projects/*}:exportAssets:\001*Z-\"(/"
+ + "v1beta1/{parent=folders/*}:exportAssets:"
+ + "\001*Z3\"./v1beta1/{parent=organizations/*}:"
+ + "exportAssets:\001*\022\203\002\n\025BatchGetAssetsHistor"
+ + "y\0228.google.cloud.asset.v1beta1.BatchGetA"
+ + "ssetsHistoryRequest\0329.google.cloud.asset"
+ + ".v1beta1.BatchGetAssetsHistoryResponse\"u"
+ + "\202\323\344\223\002o\0222/v1beta1/{parent=projects/*}:bat"
+ + "chGetAssetsHistoryZ9\0227/v1beta1/{parent=o"
+ + "rganizations/*}:batchGetAssetsHistoryB\260\001"
+ + "\n\036com.google.cloud.asset.v1beta1B\021AssetS"
+ + "erviceProtoP\001Z?google.golang.org/genprot"
+ + "o/googleapis/cloud/asset/v1beta1;asset\252\002"
+ + "\032Google.Cloud.Asset.V1Beta1\312\002\032Google\\Clo"
+ + "ud\\Asset\\V1beta1b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -153,7 +155,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_asset_v1beta1_GcsDestination_descriptor,
new java.lang.String[] {
- "Uri",
+ "Uri", "ObjectUri",
});
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequest.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequest.java
index 359cedba639d..c30011557a27 100644
--- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequest.java
+++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequest.java
@@ -284,9 +284,12 @@ public com.google.cloud.asset.v1beta1.ContentType getContentType() {
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
@@ -298,9 +301,12 @@ public boolean hasReadTimeWindow() {
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
@@ -314,9 +320,12 @@ public com.google.cloud.asset.v1beta1.TimeWindow getReadTimeWindow() {
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
@@ -1106,9 +1115,12 @@ public Builder clearContentType() {
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
@@ -1120,9 +1132,12 @@ public boolean hasReadTimeWindow() {
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
@@ -1140,9 +1155,12 @@ public com.google.cloud.asset.v1beta1.TimeWindow getReadTimeWindow() {
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
@@ -1164,9 +1182,12 @@ public Builder setReadTimeWindow(com.google.cloud.asset.v1beta1.TimeWindow value
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
@@ -1186,9 +1207,12 @@ public Builder setReadTimeWindow(
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
@@ -1214,9 +1238,12 @@ public Builder mergeReadTimeWindow(com.google.cloud.asset.v1beta1.TimeWindow val
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
@@ -1236,9 +1263,12 @@ public Builder clearReadTimeWindow() {
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
@@ -1252,9 +1282,12 @@ public com.google.cloud.asset.v1beta1.TimeWindow.Builder getReadTimeWindowBuilde
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
@@ -1272,9 +1305,12 @@ public com.google.cloud.asset.v1beta1.TimeWindowOrBuilder getReadTimeWindowOrBui
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequestOrBuilder.java
index dd6cbd0dd85b..49e72a7c3390 100644
--- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequestOrBuilder.java
@@ -119,9 +119,12 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
@@ -131,9 +134,12 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
@@ -143,9 +149,12 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
*
*
*
- * Required. The time window for the asset history. The start time is
- * required. The returned results contain all temporal assets whose time
- * window overlap with read_time_window.
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ * end_time is not set, it is default to current timestamp. If start_time is
+ * not set, the snapshot of the assets at end_time will be returned. The
+ * returned results contain all temporal assets whose time window overlap with
+ * read_time_window.
*
*
* .google.cloud.asset.v1beta1.TimeWindow read_time_window = 4;
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequest.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequest.java
index 4f781b18da37..dd6c8196d24d 100644
--- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequest.java
+++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequest.java
@@ -151,9 +151,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. The relative name of the root asset. This can only be an organization
- * number (such as "organizations/123"), a project ID (such as
- * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), a project number (such as "projects/12345"), or
+ * a folder number (such as "folders/123").
*
*
* string parent = 1;
@@ -173,9 +174,10 @@ public java.lang.String getParent() {
*
*
*
- * Required. The relative name of the root asset. This can only be an organization
- * number (such as "organizations/123"), a project ID (such as
- * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), a project number (such as "projects/12345"), or
+ * a folder number (such as "folders/123").
*
*
* string parent = 1;
@@ -198,11 +200,11 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -214,11 +216,11 @@ public boolean hasReadTime() {
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -230,11 +232,11 @@ public com.google.protobuf.Timestamp getReadTime() {
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -250,7 +252,10 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -263,7 +268,10 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -276,7 +284,10 @@ public int getAssetTypesCount() {
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -289,7 +300,10 @@ public java.lang.String getAssetTypes(int index) {
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -809,9 +823,10 @@ public Builder mergeFrom(
*
*
*
- * Required. The relative name of the root asset. This can only be an organization
- * number (such as "organizations/123"), a project ID (such as
- * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), a project number (such as "projects/12345"), or
+ * a folder number (such as "folders/123").
*
*
* string parent = 1;
@@ -831,9 +846,10 @@ public java.lang.String getParent() {
*
*
*
- * Required. The relative name of the root asset. This can only be an organization
- * number (such as "organizations/123"), a project ID (such as
- * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), a project number (such as "projects/12345"), or
+ * a folder number (such as "folders/123").
*
*
* string parent = 1;
@@ -853,9 +869,10 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * Required. The relative name of the root asset. This can only be an organization
- * number (such as "organizations/123"), a project ID (such as
- * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), a project number (such as "projects/12345"), or
+ * a folder number (such as "folders/123").
*
*
* string parent = 1;
@@ -873,9 +890,10 @@ public Builder setParent(java.lang.String value) {
*
*
*
- * Required. The relative name of the root asset. This can only be an organization
- * number (such as "organizations/123"), a project ID (such as
- * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), a project number (such as "projects/12345"), or
+ * a folder number (such as "folders/123").
*
*
* string parent = 1;
@@ -890,9 +908,10 @@ public Builder clearParent() {
*
*
*
- * Required. The relative name of the root asset. This can only be an organization
- * number (such as "organizations/123"), a project ID (such as
- * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), a project number (such as "projects/12345"), or
+ * a folder number (such as "folders/123").
*
*
* string parent = 1;
@@ -918,11 +937,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -934,11 +953,11 @@ public boolean hasReadTime() {
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -954,11 +973,11 @@ public com.google.protobuf.Timestamp getReadTime() {
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -980,11 +999,11 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -1003,11 +1022,11 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -1031,11 +1050,11 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -1055,11 +1074,11 @@ public Builder clearReadTime() {
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -1073,11 +1092,11 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -1093,11 +1112,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -1133,7 +1152,10 @@ private void ensureAssetTypesIsMutable() {
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -1146,7 +1168,10 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -1159,7 +1184,10 @@ public int getAssetTypesCount() {
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -1172,7 +1200,10 @@ public java.lang.String getAssetTypes(int index) {
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -1185,7 +1216,10 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -1204,7 +1238,10 @@ public Builder setAssetTypes(int index, java.lang.String value) {
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -1223,7 +1260,10 @@ public Builder addAssetTypes(java.lang.String value) {
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -1239,7 +1279,10 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -1255,7 +1298,10 @@ public Builder clearAssetTypes() {
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequestOrBuilder.java
index 0d2db5c47253..aeab0fa8ef40 100644
--- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequestOrBuilder.java
@@ -12,9 +12,10 @@ public interface ExportAssetsRequestOrBuilder
*
*
*
- * Required. The relative name of the root asset. This can only be an organization
- * number (such as "organizations/123"), a project ID (such as
- * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), a project number (such as "projects/12345"), or
+ * a folder number (such as "folders/123").
*
*
* string parent = 1;
@@ -24,9 +25,10 @@ public interface ExportAssetsRequestOrBuilder
*
*
*
- * Required. The relative name of the root asset. This can only be an organization
- * number (such as "organizations/123"), a project ID (such as
- * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), a project number (such as "projects/12345"), or
+ * a folder number (such as "folders/123").
*
*
* string parent = 1;
@@ -37,11 +39,11 @@ public interface ExportAssetsRequestOrBuilder
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -51,11 +53,11 @@ public interface ExportAssetsRequestOrBuilder
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -65,11 +67,11 @@ public interface ExportAssetsRequestOrBuilder
*
*
*
- * Timestamp to take an asset snapshot. This can only be set to a timestamp in
- * the past or of the current time. If not specified, the current time will be
- * used. Due to delays in resource data collection and indexing, there is a
- * volatile window during which running the same query may get different
- * results.
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ * the current time will be used. Due to delays in resource data collection
+ * and indexing, there is a volatile window during which running the same
+ * query may get different results.
*
*
* .google.protobuf.Timestamp read_time = 2;
@@ -81,7 +83,10 @@ public interface ExportAssetsRequestOrBuilder
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -92,7 +97,10 @@ public interface ExportAssetsRequestOrBuilder
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -103,7 +111,10 @@ public interface ExportAssetsRequestOrBuilder
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
@@ -114,7 +125,10 @@ public interface ExportAssetsRequestOrBuilder
*
*
* A list of asset types of which to take a snapshot for. For example:
- * "google.compute.disk". If specified, only matching assets will be returned.
+ * "google.compute.Disk". If specified, only matching assets will be returned.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ * for all supported asset types.
*
*
* repeated string asset_types = 3;
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestination.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestination.java
index 62cae057f8e8..ea5bae07f52c 100644
--- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestination.java
+++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestination.java
@@ -22,9 +22,7 @@ private GcsDestination(com.google.protobuf.GeneratedMessageV3.Builder> builder
super(builder);
}
- private GcsDestination() {
- uri_ = "";
- }
+ private GcsDestination() {}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
@@ -53,8 +51,8 @@ private GcsDestination(
case 10:
{
java.lang.String s = input.readStringRequireUtf8();
-
- uri_ = s;
+ objectUriCase_ = 1;
+ objectUri_ = s;
break;
}
default:
@@ -91,27 +89,70 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.asset.v1beta1.GcsDestination.Builder.class);
}
+ private int objectUriCase_ = 0;
+ private java.lang.Object objectUri_;
+
+ public enum ObjectUriCase implements com.google.protobuf.Internal.EnumLite {
+ URI(1),
+ OBJECTURI_NOT_SET(0);
+ private final int value;
+
+ private ObjectUriCase(int value) {
+ this.value = value;
+ }
+ /** @deprecated Use {@link #forNumber(int)} instead. */
+ @java.lang.Deprecated
+ public static ObjectUriCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static ObjectUriCase forNumber(int value) {
+ switch (value) {
+ case 1:
+ return URI;
+ case 0:
+ return OBJECTURI_NOT_SET;
+ default:
+ return null;
+ }
+ }
+
+ public int getNumber() {
+ return this.value;
+ }
+ };
+
+ public ObjectUriCase getObjectUriCase() {
+ return ObjectUriCase.forNumber(objectUriCase_);
+ }
+
public static final int URI_FIELD_NUMBER = 1;
- private volatile java.lang.Object uri_;
/**
*
*
*
- * The path of the Cloud Storage objects. It's the same path that is used by
- * gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * The uri of the Cloud Storage object. It's the same uri that is used by
+ * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
*
*
* string uri = 1;
*/
public java.lang.String getUri() {
- java.lang.Object ref = uri_;
+ java.lang.Object ref = "";
+ if (objectUriCase_ == 1) {
+ ref = objectUri_;
+ }
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- uri_ = s;
+ if (objectUriCase_ == 1) {
+ objectUri_ = s;
+ }
return s;
}
}
@@ -119,19 +160,26 @@ public java.lang.String getUri() {
*
*
*
- * The path of the Cloud Storage objects. It's the same path that is used by
- * gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * The uri of the Cloud Storage object. It's the same uri that is used by
+ * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
*
*
* string uri = 1;
*/
public com.google.protobuf.ByteString getUriBytes() {
- java.lang.Object ref = uri_;
+ java.lang.Object ref = "";
+ if (objectUriCase_ == 1) {
+ ref = objectUri_;
+ }
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- uri_ = b;
+ if (objectUriCase_ == 1) {
+ objectUri_ = b;
+ }
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -152,8 +200,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getUriBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_);
+ if (objectUriCase_ == 1) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, objectUri_);
}
unknownFields.writeTo(output);
}
@@ -164,8 +212,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getUriBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_);
+ if (objectUriCase_ == 1) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, objectUri_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -184,7 +232,15 @@ public boolean equals(final java.lang.Object obj) {
(com.google.cloud.asset.v1beta1.GcsDestination) obj;
boolean result = true;
- result = result && getUri().equals(other.getUri());
+ result = result && getObjectUriCase().equals(other.getObjectUriCase());
+ if (!result) return false;
+ switch (objectUriCase_) {
+ case 1:
+ result = result && getUri().equals(other.getUri());
+ break;
+ case 0:
+ default:
+ }
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@@ -196,8 +252,14 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + URI_FIELD_NUMBER;
- hash = (53 * hash) + getUri().hashCode();
+ switch (objectUriCase_) {
+ case 1:
+ hash = (37 * hash) + URI_FIELD_NUMBER;
+ hash = (53 * hash) + getUri().hashCode();
+ break;
+ case 0:
+ default:
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -343,8 +405,8 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
- uri_ = "";
-
+ objectUriCase_ = 0;
+ objectUri_ = null;
return this;
}
@@ -372,7 +434,10 @@ public com.google.cloud.asset.v1beta1.GcsDestination build() {
public com.google.cloud.asset.v1beta1.GcsDestination buildPartial() {
com.google.cloud.asset.v1beta1.GcsDestination result =
new com.google.cloud.asset.v1beta1.GcsDestination(this);
- result.uri_ = uri_;
+ if (objectUriCase_ == 1) {
+ result.objectUri_ = objectUri_;
+ }
+ result.objectUriCase_ = objectUriCase_;
onBuilt();
return result;
}
@@ -422,9 +487,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(com.google.cloud.asset.v1beta1.GcsDestination other) {
if (other == com.google.cloud.asset.v1beta1.GcsDestination.getDefaultInstance()) return this;
- if (!other.getUri().isEmpty()) {
- uri_ = other.uri_;
- onChanged();
+ switch (other.getObjectUriCase()) {
+ case URI:
+ {
+ objectUriCase_ = 1;
+ objectUri_ = other.objectUri_;
+ onChanged();
+ break;
+ }
+ case OBJECTURI_NOT_SET:
+ {
+ break;
+ }
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@@ -455,24 +529,44 @@ public Builder mergeFrom(
return this;
}
- private java.lang.Object uri_ = "";
+ private int objectUriCase_ = 0;
+ private java.lang.Object objectUri_;
+
+ public ObjectUriCase getObjectUriCase() {
+ return ObjectUriCase.forNumber(objectUriCase_);
+ }
+
+ public Builder clearObjectUri() {
+ objectUriCase_ = 0;
+ objectUri_ = null;
+ onChanged();
+ return this;
+ }
+
/**
*
*
*
- * The path of the Cloud Storage objects. It's the same path that is used by
- * gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * The uri of the Cloud Storage object. It's the same uri that is used by
+ * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
*
*
* string uri = 1;
*/
public java.lang.String getUri() {
- java.lang.Object ref = uri_;
+ java.lang.Object ref = "";
+ if (objectUriCase_ == 1) {
+ ref = objectUri_;
+ }
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- uri_ = s;
+ if (objectUriCase_ == 1) {
+ objectUri_ = s;
+ }
return s;
} else {
return (java.lang.String) ref;
@@ -482,19 +576,26 @@ public java.lang.String getUri() {
*
*
*
- * The path of the Cloud Storage objects. It's the same path that is used by
- * gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * The uri of the Cloud Storage object. It's the same uri that is used by
+ * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
*
*
* string uri = 1;
*/
public com.google.protobuf.ByteString getUriBytes() {
- java.lang.Object ref = uri_;
+ java.lang.Object ref = "";
+ if (objectUriCase_ == 1) {
+ ref = objectUri_;
+ }
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- uri_ = b;
+ if (objectUriCase_ == 1) {
+ objectUri_ = b;
+ }
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -504,8 +605,10 @@ public com.google.protobuf.ByteString getUriBytes() {
*
*
*
- * The path of the Cloud Storage objects. It's the same path that is used by
- * gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * The uri of the Cloud Storage object. It's the same uri that is used by
+ * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
*
*
@@ -515,8 +618,8 @@ public Builder setUri(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
- uri_ = value;
+ objectUriCase_ = 1;
+ objectUri_ = value;
onChanged();
return this;
}
@@ -524,25 +627,31 @@ public Builder setUri(java.lang.String value) {
*
*
*
- * The path of the Cloud Storage objects. It's the same path that is used by
- * gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * The uri of the Cloud Storage object. It's the same uri that is used by
+ * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
*
*
* string uri = 1;
*/
public Builder clearUri() {
-
- uri_ = getDefaultInstance().getUri();
- onChanged();
+ if (objectUriCase_ == 1) {
+ objectUriCase_ = 0;
+ objectUri_ = null;
+ onChanged();
+ }
return this;
}
/**
*
*
*
- * The path of the Cloud Storage objects. It's the same path that is used by
- * gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * The uri of the Cloud Storage object. It's the same uri that is used by
+ * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
*
*
@@ -553,8 +662,8 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
- uri_ = value;
+ objectUriCase_ = 1;
+ objectUri_ = value;
onChanged();
return this;
}
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestinationOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestinationOrBuilder.java
index 65b54d40b70c..5f04fe37e7f0 100644
--- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestinationOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestinationOrBuilder.java
@@ -12,8 +12,10 @@ public interface GcsDestinationOrBuilder
*
*
*
- * The path of the Cloud Storage objects. It's the same path that is used by
- * gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * The uri of the Cloud Storage object. It's the same uri that is used by
+ * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
*
*
@@ -24,12 +26,16 @@ public interface GcsDestinationOrBuilder
*
*
*
- * The path of the Cloud Storage objects. It's the same path that is used by
- * gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * The uri of the Cloud Storage object. It's the same uri that is used by
+ * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
* for more information.
*
*
* string uri = 1;
*/
com.google.protobuf.ByteString getUriBytes();
+
+ public com.google.cloud.asset.v1beta1.GcsDestination.ObjectUriCase getObjectUriCase();
}
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindow.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindow.java
index 08fb8afa53d1..ad48d08e1971 100644
--- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindow.java
+++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindow.java
@@ -7,7 +7,7 @@
*
*
*
- * A time window of [start_time, end_time).
+ * A time window of (start_time, end_time].
*
*
* Protobuf type {@code google.cloud.asset.v1beta1.TimeWindow}
@@ -118,7 +118,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -130,7 +130,7 @@ public boolean hasStartTime() {
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -142,7 +142,7 @@ public com.google.protobuf.Timestamp getStartTime() {
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -157,7 +157,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
@@ -170,7 +170,7 @@ public boolean hasEndTime() {
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
@@ -183,7 +183,7 @@ public com.google.protobuf.Timestamp getEndTime() {
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
@@ -376,7 +376,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * A time window of [start_time, end_time).
+ * A time window of (start_time, end_time].
*
*
* Protobuf type {@code google.cloud.asset.v1beta1.TimeWindow}
@@ -560,7 +560,7 @@ public Builder mergeFrom(
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -572,7 +572,7 @@ public boolean hasStartTime() {
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -588,7 +588,7 @@ public com.google.protobuf.Timestamp getStartTime() {
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -610,7 +610,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -629,7 +629,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -653,7 +653,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -673,7 +673,7 @@ public Builder clearStartTime() {
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -687,7 +687,7 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -703,7 +703,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -735,7 +735,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
@@ -748,7 +748,7 @@ public boolean hasEndTime() {
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
@@ -765,7 +765,7 @@ public com.google.protobuf.Timestamp getEndTime() {
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
@@ -788,7 +788,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
@@ -808,7 +808,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
@@ -833,7 +833,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
@@ -854,7 +854,7 @@ public Builder clearEndTime() {
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
@@ -869,7 +869,7 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
@@ -886,7 +886,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindowOrBuilder.java b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindowOrBuilder.java
index 9ac0b5367a64..2d310d2df98a 100644
--- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindowOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindowOrBuilder.java
@@ -12,7 +12,7 @@ public interface TimeWindowOrBuilder
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -22,7 +22,7 @@ public interface TimeWindowOrBuilder
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -32,7 +32,7 @@ public interface TimeWindowOrBuilder
*
*
*
- * Start time of the time window (inclusive).
+ * Start time of the time window (exclusive).
*
*
* .google.protobuf.Timestamp start_time = 1;
@@ -43,7 +43,7 @@ public interface TimeWindowOrBuilder
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
@@ -54,7 +54,7 @@ public interface TimeWindowOrBuilder
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
@@ -65,7 +65,7 @@ public interface TimeWindowOrBuilder
*
*
*
- * End time of the time window (exclusive).
+ * End time of the time window (inclusive).
* Current timestamp if not specified.
*
*
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/asset_service.proto b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/asset_service.proto
index aaaa0ba223b4..16e0789ebc46 100644
--- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/asset_service.proto
+++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/asset_service.proto
@@ -40,6 +40,10 @@ service AssetService {
option (google.api.http) = {
post: "/v1beta1/{parent=projects/*}:exportAssets"
body: "*"
+ additional_bindings {
+ post: "/v1beta1/{parent=folders/*}:exportAssets"
+ body: "*"
+ }
additional_bindings {
post: "/v1beta1/{parent=organizations/*}:exportAssets"
body: "*"
@@ -64,20 +68,24 @@ service AssetService {
// Export asset request.
message ExportAssetsRequest {
- // Required. The relative name of the root asset. This can only be an organization
- // number (such as "organizations/123"), a project ID (such as
- // "projects/my-project-id"), or a project number (such as "projects/12345").
+ // Required. The relative name of the root asset. This can only be an
+ // organization number (such as "organizations/123"), a project ID (such as
+ // "projects/my-project-id"), a project number (such as "projects/12345"), or
+ // a folder number (such as "folders/123").
string parent = 1;
- // Timestamp to take an asset snapshot. This can only be set to a timestamp in
- // the past or of the current time. If not specified, the current time will be
- // used. Due to delays in resource data collection and indexing, there is a
- // volatile window during which running the same query may get different
- // results.
+ // Timestamp to take an asset snapshot. This can only be set to a timestamp
+ // between 2018-10-02 UTC (inclusive) and the current time. If not specified,
+ // the current time will be used. Due to delays in resource data collection
+ // and indexing, there is a volatile window during which running the same
+ // query may get different results.
google.protobuf.Timestamp read_time = 2;
// A list of asset types of which to take a snapshot for. For example:
- // "google.compute.disk". If specified, only matching assets will be returned.
+ // "google.compute.Disk". If specified, only matching assets will be returned.
+ // See [Introduction to Cloud Asset
+ // Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
+ // for all supported asset types.
repeated string asset_types = 3;
// Asset content type. If not specified, no content but the asset name will be
@@ -120,9 +128,12 @@ message BatchGetAssetsHistoryRequest {
// Required. The content type.
ContentType content_type = 3;
- // Required. The time window for the asset history. The start time is
- // required. The returned results contain all temporal assets whose time
- // window overlap with read_time_window.
+ // Optional. The time window for the asset history. Both start_time and
+ // end_time are optional and if set, it must be after 2018-10-02 UTC. If
+ // end_time is not set, it is default to current timestamp. If start_time is
+ // not set, the snapshot of the assets at end_time will be returned. The
+ // returned results contain all temporal assets whose time window overlap with
+ // read_time_window.
TimeWindow read_time_window = 4;
}
@@ -143,10 +154,15 @@ message OutputConfig {
// A Cloud Storage location.
message GcsDestination {
- // The path of the Cloud Storage objects. It's the same path that is used by
- // gsutil. For example: "gs://bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
- // for more information.
- string uri = 1;
+ // Required.
+ oneof object_uri {
+ // The uri of the Cloud Storage object. It's the same uri that is used by
+ // gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
+ // Editing Object
+ // Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ // for more information.
+ string uri = 1;
+ }
}
// Asset content type.
diff --git a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/assets.proto b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/assets.proto
index 5d339a20f007..cde70cddfc0b 100644
--- a/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/assets.proto
+++ b/google-api-grpc/proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/assets.proto
@@ -44,12 +44,12 @@ message TemporalAsset {
Asset asset = 3;
}
-// A time window of [start_time, end_time).
+// A time window of (start_time, end_time].
message TimeWindow {
- // Start time of the time window (inclusive).
+ // Start time of the time window (exclusive).
google.protobuf.Timestamp start_time = 1;
- // End time of the time window (exclusive).
+ // End time of the time window (inclusive).
// Current timestamp if not specified.
google.protobuf.Timestamp end_time = 2;
}
@@ -62,7 +62,7 @@ message Asset {
// for more information.
string name = 1;
- // Type of the asset. Example: "google.compute.disk".
+ // Type of the asset. Example: "google.compute.Disk".
string asset_type = 2;
// Representation of the resource.
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml
index 6dbe02f3f376..7a1a19b518fb 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-automl-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-automl-v1beta1
PROTO library for proto-google-cloud-automl-v1beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationDatasetMetadata.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationDatasetMetadata.java
index 6ab33d07c60d..9933ff53fadc 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationDatasetMetadata.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationDatasetMetadata.java
@@ -144,7 +144,8 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (classificationType_
!= com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationType
- .CLASSIFICATION_TYPE_UNSPECIFIED.getNumber()) {
+ .CLASSIFICATION_TYPE_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(1, classificationType_);
}
unknownFields.writeTo(output);
@@ -158,7 +159,8 @@ public int getSerializedSize() {
size = 0;
if (classificationType_
!= com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationType
- .CLASSIFICATION_TYPE_UNSPECIFIED.getNumber()) {
+ .CLASSIFICATION_TYPE_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, classificationType_);
}
size += unknownFields.getSerializedSize();
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadata.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadata.java
index b6b7d5de8130..c93dd37ee2e0 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadata.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadata.java
@@ -144,7 +144,8 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (classificationType_
!= com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationType
- .CLASSIFICATION_TYPE_UNSPECIFIED.getNumber()) {
+ .CLASSIFICATION_TYPE_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(1, classificationType_);
}
unknownFields.writeTo(output);
@@ -158,7 +159,8 @@ public int getSerializedSize() {
size = 0;
if (classificationType_
!= com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationType
- .CLASSIFICATION_TYPE_UNSPECIFIED.getNumber()) {
+ .CLASSIFICATION_TYPE_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, classificationType_);
}
size += unknownFields.getSerializedSize();
diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml
index d6b27a2d3fb5..c0f788b2ca4a 100644
--- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml
+++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-bigquerydatatransfer-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-bigquerydatatransfer-v1
PROTO library for proto-google-cloud-bigquerydatatransfer-v1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java
index c15407345d03..4e523bfd3799 100644
--- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java
+++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java
@@ -1289,12 +1289,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
if (authorizationType_
!= com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType
- .AUTHORIZATION_TYPE_UNSPECIFIED.getNumber()) {
+ .AUTHORIZATION_TYPE_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(14, authorizationType_);
}
if (dataRefreshType_
!= com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType
- .DATA_REFRESH_TYPE_UNSPECIFIED.getNumber()) {
+ .DATA_REFRESH_TYPE_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(15, dataRefreshType_);
}
if (defaultDataRefreshWindowDays_ != 0) {
@@ -1363,12 +1365,14 @@ public int getSerializedSize() {
}
if (authorizationType_
!= com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType
- .AUTHORIZATION_TYPE_UNSPECIFIED.getNumber()) {
+ .AUTHORIZATION_TYPE_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, authorizationType_);
}
if (dataRefreshType_
!= com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType
- .DATA_REFRESH_TYPE_UNSPECIFIED.getNumber()) {
+ .DATA_REFRESH_TYPE_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, dataRefreshType_);
}
if (defaultDataRefreshWindowDays_ != 0) {
diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java
index cbfee96a1fdd..557d3cc9f365 100644
--- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java
+++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java
@@ -536,7 +536,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
if (runAttempt_
!= com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt
- .RUN_ATTEMPT_UNSPECIFIED.getNumber()) {
+ .RUN_ATTEMPT_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(5, runAttempt_);
}
unknownFields.writeTo(output);
@@ -571,7 +572,8 @@ public int getSerializedSize() {
}
if (runAttempt_
!= com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt
- .RUN_ATTEMPT_UNSPECIFIED.getNumber()) {
+ .RUN_ATTEMPT_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, runAttempt_);
}
size += unknownFields.getSerializedSize();
diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java
index b6f56e127452..b41a7ee680f2 100644
--- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java
+++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java
@@ -421,7 +421,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
if (severity_
!= com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity
- .MESSAGE_SEVERITY_UNSPECIFIED.getNumber()) {
+ .MESSAGE_SEVERITY_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(2, severity_);
}
if (!getMessageTextBytes().isEmpty()) {
@@ -441,7 +442,8 @@ public int getSerializedSize() {
}
if (severity_
!= com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity
- .MESSAGE_SEVERITY_UNSPECIFIED.getNumber()) {
+ .MESSAGE_SEVERITY_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, severity_);
}
if (!getMessageTextBytes().isEmpty()) {
diff --git a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml
index 60e5f92ffd19..f813941a8202 100644
--- a/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml
+++ b/google-api-grpc/proto-google-cloud-bigquerystorage-v1beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-bigquerystorage-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-bigquerystorage-v1beta1
PROTO library for proto-google-cloud-bigquerystorage-v1beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml
index c916b62a1e14..36560004bed3 100644
--- a/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml
+++ b/google-api-grpc/proto-google-cloud-bigtable-admin-v2/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-bigtable-admin-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-bigtable-admin-v2
PROTO library for proto-google-cloud-bigtable-admin-v2
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml
index 6ce84d14331e..c53679f27b73 100644
--- a/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml
+++ b/google-api-grpc/proto-google-cloud-bigtable-v2/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-bigtable-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-bigtable-v2
PROTO library for proto-google-cloud-bigtable-v2
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java
index aa65f4631074..8d1f9e953248 100644
--- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java
+++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java
@@ -102,8 +102,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.bigtable.v2.DataProto
- .internal_static_google_bigtable_v2_Cell_fieldAccessorTable.ensureFieldAccessorsInitialized(
- com.google.bigtable.v2.Cell.class, com.google.bigtable.v2.Cell.Builder.class);
+ .internal_static_google_bigtable_v2_Cell_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.bigtable.v2.Cell.class, com.google.bigtable.v2.Cell.Builder.class);
}
private int bitField0_;
diff --git a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java
index f7b9409921b3..649df12b17c0 100644
--- a/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java
+++ b/google-api-grpc/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java
@@ -97,8 +97,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.bigtable.v2.DataProto
- .internal_static_google_bigtable_v2_Row_fieldAccessorTable.ensureFieldAccessorsInitialized(
- com.google.bigtable.v2.Row.class, com.google.bigtable.v2.Row.Builder.class);
+ .internal_static_google_bigtable_v2_Row_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.bigtable.v2.Row.class, com.google.bigtable.v2.Row.Builder.class);
}
private int bitField0_;
diff --git a/google-api-grpc/proto-google-cloud-container-v1/pom.xml b/google-api-grpc/proto-google-cloud-container-v1/pom.xml
index 181cac1a0562..38c9f9c15ccf 100644
--- a/google-api-grpc/proto-google-cloud-container-v1/pom.xml
+++ b/google-api-grpc/proto-google-cloud-container-v1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-container-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-container-v1
PROTO library for proto-google-cloud-container-v1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml
index 60bf30a2a785..c8aecf23956f 100644
--- a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml
+++ b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-containeranalysis-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-containeranalysis-v1beta1
PROTO library for proto-google-cloud-containeranalysis-v1beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/java/io/grafeas/v1beta1/discovery/Discovered.java b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/java/io/grafeas/v1beta1/discovery/Discovered.java
index 97497dfbc478..6911087a575b 100644
--- a/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/java/io/grafeas/v1beta1/discovery/Discovered.java
+++ b/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/java/io/grafeas/v1beta1/discovery/Discovered.java
@@ -659,7 +659,8 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (continuousAnalysis_
!= io.grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis
- .CONTINUOUS_ANALYSIS_UNSPECIFIED.getNumber()) {
+ .CONTINUOUS_ANALYSIS_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(1, continuousAnalysis_);
}
if (lastAnalysisTime_ != null) {
@@ -684,7 +685,8 @@ public int getSerializedSize() {
size = 0;
if (continuousAnalysis_
!= io.grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis
- .CONTINUOUS_ANALYSIS_UNSPECIFIED.getNumber()) {
+ .CONTINUOUS_ANALYSIS_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, continuousAnalysis_);
}
if (lastAnalysisTime_ != null) {
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml
index 39527ea3311d..14fb6688a6bb 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-dataproc-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-dataproc-v1
PROTO library for proto-google-cloud-dataproc-v1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml
index c2b8a7ac0600..ce743fb058f0 100644
--- a/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml
+++ b/google-api-grpc/proto-google-cloud-dataproc-v1beta2/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-dataproc-v1beta2
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-dataproc-v1beta2
PROTO library for proto-google-cloud-dataproc-v1beta2
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml
index 2f33d58eeee6..03671f64b1e5 100644
--- a/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml
+++ b/google-api-grpc/proto-google-cloud-datastore-v1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-datastore-v1
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-datastore-v1
PROTO library for proto-google-cloud-datastore-v1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java
index ab50a91bfb98..d66a8d787863 100644
--- a/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java
+++ b/google-api-grpc/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java
@@ -110,8 +110,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.datastore.v1.EntityProto
- .internal_static_google_datastore_v1_Key_fieldAccessorTable.ensureFieldAccessorsInitialized(
- com.google.datastore.v1.Key.class, com.google.datastore.v1.Key.Builder.class);
+ .internal_static_google_datastore_v1_Key_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.datastore.v1.Key.class, com.google.datastore.v1.Key.Builder.class);
}
public interface PathElementOrBuilder
diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml
index d04caa054a2d..c5f2497928b8 100644
--- a/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml
+++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-dialogflow-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-dialogflow-v2
PROTO library for proto-google-cloud-dialogflow-v2
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java
index f687447ce01a..f26eba034a7f 100644
--- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java
+++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java
@@ -1637,7 +1637,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
if (autoExpansionMode_
!= com.google.cloud.dialogflow.v2.EntityType.AutoExpansionMode
- .AUTO_EXPANSION_MODE_UNSPECIFIED.getNumber()) {
+ .AUTO_EXPANSION_MODE_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(4, autoExpansionMode_);
}
for (int i = 0; i < entities_.size(); i++) {
@@ -1663,7 +1664,8 @@ public int getSerializedSize() {
}
if (autoExpansionMode_
!= com.google.cloud.dialogflow.v2.EntityType.AutoExpansionMode
- .AUTO_EXPANSION_MODE_UNSPECIFIED.getNumber()) {
+ .AUTO_EXPANSION_MODE_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, autoExpansionMode_);
}
for (int i = 0; i < entities_.size(); i++) {
diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java
index 142f9a3a8d67..754563accd77 100644
--- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java
+++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityType.java
@@ -456,7 +456,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
if (entityOverrideMode_
!= com.google.cloud.dialogflow.v2.SessionEntityType.EntityOverrideMode
- .ENTITY_OVERRIDE_MODE_UNSPECIFIED.getNumber()) {
+ .ENTITY_OVERRIDE_MODE_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(2, entityOverrideMode_);
}
for (int i = 0; i < entities_.size(); i++) {
@@ -476,7 +477,8 @@ public int getSerializedSize() {
}
if (entityOverrideMode_
!= com.google.cloud.dialogflow.v2.SessionEntityType.EntityOverrideMode
- .ENTITY_OVERRIDE_MODE_UNSPECIFIED.getNumber()) {
+ .ENTITY_OVERRIDE_MODE_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, entityOverrideMode_);
}
for (int i = 0; i < entities_.size(); i++) {
diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java
index 30bb10da8e00..6806065ca67a 100644
--- a/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java
+++ b/google-api-grpc/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/StreamingRecognitionResult.java
@@ -423,7 +423,8 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (messageType_
!= com.google.cloud.dialogflow.v2.StreamingRecognitionResult.MessageType
- .MESSAGE_TYPE_UNSPECIFIED.getNumber()) {
+ .MESSAGE_TYPE_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(1, messageType_);
}
if (!getTranscriptBytes().isEmpty()) {
@@ -446,7 +447,8 @@ public int getSerializedSize() {
size = 0;
if (messageType_
!= com.google.cloud.dialogflow.v2.StreamingRecognitionResult.MessageType
- .MESSAGE_TYPE_UNSPECIFIED.getNumber()) {
+ .MESSAGE_TYPE_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, messageType_);
}
if (!getTranscriptBytes().isEmpty()) {
diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml
index 867f09a8e81c..27da3a76c076 100644
--- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml
+++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-dialogflow-v2beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-dialogflow-v2beta1
PROTO library for proto-google-cloud-dialogflow-v2beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java
index 5ec7b16a25f9..4be09b648744 100644
--- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java
+++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java
@@ -1645,7 +1645,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
if (autoExpansionMode_
!= com.google.cloud.dialogflow.v2beta1.EntityType.AutoExpansionMode
- .AUTO_EXPANSION_MODE_UNSPECIFIED.getNumber()) {
+ .AUTO_EXPANSION_MODE_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(4, autoExpansionMode_);
}
for (int i = 0; i < entities_.size(); i++) {
@@ -1671,7 +1672,8 @@ public int getSerializedSize() {
}
if (autoExpansionMode_
!= com.google.cloud.dialogflow.v2beta1.EntityType.AutoExpansionMode
- .AUTO_EXPANSION_MODE_UNSPECIFIED.getNumber()) {
+ .AUTO_EXPANSION_MODE_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, autoExpansionMode_);
}
for (int i = 0; i < entities_.size(); i++) {
diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswers.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswers.java
index 36edaa5f4926..d44ec60874b1 100644
--- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswers.java
+++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeAnswers.java
@@ -758,7 +758,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
if (matchConfidenceLevel_
!= com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer.MatchConfidenceLevel
- .MATCH_CONFIDENCE_LEVEL_UNSPECIFIED.getNumber()) {
+ .MATCH_CONFIDENCE_LEVEL_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(4, matchConfidenceLevel_);
}
if (matchConfidence_ != 0F) {
@@ -784,7 +785,8 @@ public int getSerializedSize() {
}
if (matchConfidenceLevel_
!= com.google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer.MatchConfidenceLevel
- .MATCH_CONFIDENCE_LEVEL_UNSPECIFIED.getNumber()) {
+ .MATCH_CONFIDENCE_LEVEL_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, matchConfidenceLevel_);
}
if (matchConfidence_ != 0F) {
diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java
index a6c0ef2c871f..6337218467ed 100644
--- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java
+++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java
@@ -468,7 +468,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
if (entityOverrideMode_
!= com.google.cloud.dialogflow.v2beta1.SessionEntityType.EntityOverrideMode
- .ENTITY_OVERRIDE_MODE_UNSPECIFIED.getNumber()) {
+ .ENTITY_OVERRIDE_MODE_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(2, entityOverrideMode_);
}
for (int i = 0; i < entities_.size(); i++) {
@@ -488,7 +489,8 @@ public int getSerializedSize() {
}
if (entityOverrideMode_
!= com.google.cloud.dialogflow.v2beta1.SessionEntityType.EntityOverrideMode
- .ENTITY_OVERRIDE_MODE_UNSPECIFIED.getNumber()) {
+ .ENTITY_OVERRIDE_MODE_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, entityOverrideMode_);
}
for (int i = 0; i < entities_.size(); i++) {
diff --git a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java
index 2418eea29ac4..52ff4c29846d 100644
--- a/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java
+++ b/google-api-grpc/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java
@@ -425,7 +425,8 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (messageType_
!= com.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.MessageType
- .MESSAGE_TYPE_UNSPECIFIED.getNumber()) {
+ .MESSAGE_TYPE_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(1, messageType_);
}
if (!getTranscriptBytes().isEmpty()) {
@@ -448,7 +449,8 @@ public int getSerializedSize() {
size = 0;
if (messageType_
!= com.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.MessageType
- .MESSAGE_TYPE_UNSPECIFIED.getNumber()) {
+ .MESSAGE_TYPE_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, messageType_);
}
if (!getTranscriptBytes().isEmpty()) {
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml
index ec369043d0c8..56324dd316e6 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-dlp-v2
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-dlp-v2
PROTO library for proto-google-cloud-dlp-v2
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java
index b0e1eabda012..a9489630f5fb 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java
@@ -2432,7 +2432,8 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (logicalOperator_
!= com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator
- .LOGICAL_OPERATOR_UNSPECIFIED.getNumber()) {
+ .LOGICAL_OPERATOR_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(1, logicalOperator_);
}
if (typeCase_ == 3) {
@@ -2449,7 +2450,8 @@ public int getSerializedSize() {
size = 0;
if (logicalOperator_
!= com.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator
- .LOGICAL_OPERATOR_UNSPECIFIED.getNumber()) {
+ .LOGICAL_OPERATOR_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, logicalOperator_);
}
if (typeCase_ == 3) {
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java
index e7fe5ce02aa7..1b217808e79b 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java
@@ -522,7 +522,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
if (code_
!= com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode
- .TRANSFORMATION_RESULT_CODE_UNSPECIFIED.getNumber()) {
+ .TRANSFORMATION_RESULT_CODE_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(2, code_);
}
if (!getDetailsBytes().isEmpty()) {
@@ -542,7 +543,8 @@ public int getSerializedSize() {
}
if (code_
!= com.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode
- .TRANSFORMATION_RESULT_CODE_UNSPECIFIED.getNumber()) {
+ .TRANSFORMATION_RESULT_CODE_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, code_);
}
if (!getDetailsBytes().isEmpty()) {
diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml
index 5cd14166060a..531a22b6f4e7 100644
--- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml
+++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/pom.xml
@@ -3,13 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
proto-google-cloud-error-reporting-v1beta1
- 0.41.0
+ 0.45.1-SNAPSHOT
proto-google-cloud-error-reporting-v1beta1
PROTO library for proto-google-cloud-error-reporting-v1beta1
com.google.api.grpc
google-api-grpc
- 0.41.0
+ 0.45.1-SNAPSHOT
diff --git a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java
index 08d393b8edbe..2d6445e1a4e9 100644
--- a/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java
+++ b/google-api-grpc/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java
@@ -665,7 +665,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
if (alignment_
!= com.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment
- .ERROR_COUNT_ALIGNMENT_UNSPECIFIED.getNumber()) {
+ .ERROR_COUNT_ALIGNMENT_UNSPECIFIED
+ .getNumber()) {
output.writeEnum(7, alignment_);
}
if (alignmentTime_ != null) {
@@ -713,7 +714,8 @@ public int getSerializedSize() {
}
if (alignment_
!= com.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment
- .ERROR_COUNT_ALIGNMENT_UNSPECIFIED.getNumber()) {
+ .ERROR_COUNT_ALIGNMENT_UNSPECIFIED
+ .getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, alignment_);
}
if (alignmentTime_ != null) {
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/pom.xml b/google-api-grpc/proto-google-cloud-firestore-v1/pom.xml
new file mode 100644
index 000000000000..cba8060e4ba5
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/pom.xml
@@ -0,0 +1,31 @@
+
+ 4.0.0
+ proto-google-cloud-firestore-v1
+ 0.45.1-SNAPSHOT
+ proto-google-cloud-firestore-v1
+ PROTO library for proto-google-cloud-firestore-v1
+
+ com.google.api.grpc
+ google-api-grpc
+ 0.45.1-SNAPSHOT
+
+
+
+ com.google.protobuf
+ protobuf-java
+ compile
+
+
+ com.google.api
+ api-common
+ compile
+
+
+ com.google.api.grpc
+ proto-google-common-protos
+ compile
+
+
+
\ No newline at end of file
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AnyPathName.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AnyPathName.java
new file mode 100644
index 000000000000..9bd9d56a3cc4
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AnyPathName.java
@@ -0,0 +1,240 @@
+/*
+ * Copyright 2018 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+package com.google.firestore.v1;
+
+import com.google.api.pathtemplate.PathTemplate;
+import com.google.api.resourcenames.ResourceName;
+import com.google.common.base.Preconditions;
+import com.google.common.collect.ImmutableMap;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS
+@javax.annotation.Generated("by GAPIC protoc plugin")
+public class AnyPathName implements ResourceName {
+
+ private static final PathTemplate PATH_TEMPLATE =
+ PathTemplate.createWithoutUrlEncoding(
+ "projects/{project}/databases/{database}/documents/{document}/{any_path=**}");
+
+ private volatile Map fieldValuesMap;
+
+ private final String project;
+ private final String database;
+ private final String document;
+ private final String anyPath;
+
+ public String getProject() {
+ return project;
+ }
+
+ public String getDatabase() {
+ return database;
+ }
+
+ public String getDocument() {
+ return document;
+ }
+
+ public String getAnyPath() {
+ return anyPath;
+ }
+
+ public static Builder newBuilder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder(this);
+ }
+
+ private AnyPathName(Builder builder) {
+ project = Preconditions.checkNotNull(builder.getProject());
+ database = Preconditions.checkNotNull(builder.getDatabase());
+ document = Preconditions.checkNotNull(builder.getDocument());
+ anyPath = Preconditions.checkNotNull(builder.getAnyPath());
+ }
+
+ public static AnyPathName of(String project, String database, String document, String anyPath) {
+ return newBuilder()
+ .setProject(project)
+ .setDatabase(database)
+ .setDocument(document)
+ .setAnyPath(anyPath)
+ .build();
+ }
+
+ public static String format(String project, String database, String document, String anyPath) {
+ return newBuilder()
+ .setProject(project)
+ .setDatabase(database)
+ .setDocument(document)
+ .setAnyPath(anyPath)
+ .build()
+ .toString();
+ }
+
+ public static AnyPathName parse(String formattedString) {
+ if (formattedString.isEmpty()) {
+ return null;
+ }
+ Map matchMap =
+ PATH_TEMPLATE.validatedMatch(
+ formattedString, "AnyPathName.parse: formattedString not in valid format");
+ return of(
+ matchMap.get("project"),
+ matchMap.get("database"),
+ matchMap.get("document"),
+ matchMap.get("any_path"));
+ }
+
+ public static List parseList(List formattedStrings) {
+ List list = new ArrayList<>(formattedStrings.size());
+ for (String formattedString : formattedStrings) {
+ list.add(parse(formattedString));
+ }
+ return list;
+ }
+
+ public static List toStringList(List values) {
+ List list = new ArrayList(values.size());
+ for (AnyPathName value : values) {
+ if (value == null) {
+ list.add("");
+ } else {
+ list.add(value.toString());
+ }
+ }
+ return list;
+ }
+
+ public static boolean isParsableFrom(String formattedString) {
+ return PATH_TEMPLATE.matches(formattedString);
+ }
+
+ public Map getFieldValuesMap() {
+ if (fieldValuesMap == null) {
+ synchronized (this) {
+ if (fieldValuesMap == null) {
+ ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder();
+ fieldMapBuilder.put("project", project);
+ fieldMapBuilder.put("database", database);
+ fieldMapBuilder.put("document", document);
+ fieldMapBuilder.put("anyPath", anyPath);
+ fieldValuesMap = fieldMapBuilder.build();
+ }
+ }
+ }
+ return fieldValuesMap;
+ }
+
+ public String getFieldValue(String fieldName) {
+ return getFieldValuesMap().get(fieldName);
+ }
+
+ @Override
+ public String toString() {
+ return PATH_TEMPLATE.instantiate(
+ "project", project, "database", database, "document", document, "any_path", anyPath);
+ }
+
+ /** Builder for AnyPathName. */
+ public static class Builder {
+
+ private String project;
+ private String database;
+ private String document;
+ private String anyPath;
+
+ public String getProject() {
+ return project;
+ }
+
+ public String getDatabase() {
+ return database;
+ }
+
+ public String getDocument() {
+ return document;
+ }
+
+ public String getAnyPath() {
+ return anyPath;
+ }
+
+ public Builder setProject(String project) {
+ this.project = project;
+ return this;
+ }
+
+ public Builder setDatabase(String database) {
+ this.database = database;
+ return this;
+ }
+
+ public Builder setDocument(String document) {
+ this.document = document;
+ return this;
+ }
+
+ public Builder setAnyPath(String anyPath) {
+ this.anyPath = anyPath;
+ return this;
+ }
+
+ private Builder() {}
+
+ private Builder(AnyPathName anyPathName) {
+ project = anyPathName.project;
+ database = anyPathName.database;
+ document = anyPathName.document;
+ anyPath = anyPathName.anyPath;
+ }
+
+ public AnyPathName build() {
+ return new AnyPathName(this);
+ }
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (o instanceof AnyPathName) {
+ AnyPathName that = (AnyPathName) o;
+ return (this.project.equals(that.project))
+ && (this.database.equals(that.database))
+ && (this.document.equals(that.document))
+ && (this.anyPath.equals(that.anyPath));
+ }
+ return false;
+ }
+
+ @Override
+ public int hashCode() {
+ int h = 1;
+ h *= 1000003;
+ h ^= project.hashCode();
+ h *= 1000003;
+ h ^= database.hashCode();
+ h *= 1000003;
+ h ^= document.hashCode();
+ h *= 1000003;
+ h ^= anyPath.hashCode();
+ return h;
+ }
+}
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
new file mode 100644
index 000000000000..e543995933e1
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
@@ -0,0 +1,916 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/firestore/v1/document.proto
+
+package com.google.firestore.v1;
+
+/**
+ *
+ *
+ *
+ * An array value.
+ *
+ *
+ * Protobuf type {@code google.firestore.v1.ArrayValue}
+ */
+public final class ArrayValue extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.firestore.v1.ArrayValue)
+ ArrayValueOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ArrayValue.newBuilder() to construct.
+ private ArrayValue(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ArrayValue() {
+ values_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private ArrayValue(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ values_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ values_.add(
+ input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry));
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ values_ = java.util.Collections.unmodifiableList(values_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.firestore.v1.DocumentProto
+ .internal_static_google_firestore_v1_ArrayValue_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.firestore.v1.DocumentProto
+ .internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.firestore.v1.ArrayValue.class,
+ com.google.firestore.v1.ArrayValue.Builder.class);
+ }
+
+ public static final int VALUES_FIELD_NUMBER = 1;
+ private java.util.List values_;
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public java.util.List getValuesList() {
+ return values_;
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public java.util.List extends com.google.firestore.v1.ValueOrBuilder> getValuesOrBuilderList() {
+ return values_;
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public int getValuesCount() {
+ return values_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public com.google.firestore.v1.Value getValues(int index) {
+ return values_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
+ return values_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < values_.size(); i++) {
+ output.writeMessage(1, values_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < values_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values_.get(i));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.firestore.v1.ArrayValue)) {
+ return super.equals(obj);
+ }
+ com.google.firestore.v1.ArrayValue other = (com.google.firestore.v1.ArrayValue) obj;
+
+ boolean result = true;
+ result = result && getValuesList().equals(other.getValuesList());
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getValuesCount() > 0) {
+ hash = (37 * hash) + VALUES_FIELD_NUMBER;
+ hash = (53 * hash) + getValuesList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.firestore.v1.ArrayValue parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.v1.ArrayValue parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.ArrayValue parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.v1.ArrayValue parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.ArrayValue parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.v1.ArrayValue parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.ArrayValue parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.v1.ArrayValue parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.ArrayValue parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.v1.ArrayValue parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.ArrayValue parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.v1.ArrayValue parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.firestore.v1.ArrayValue prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * An array value.
+ *
+ *
+ * Protobuf type {@code google.firestore.v1.ArrayValue}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.firestore.v1.ArrayValue)
+ com.google.firestore.v1.ArrayValueOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.firestore.v1.DocumentProto
+ .internal_static_google_firestore_v1_ArrayValue_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.firestore.v1.DocumentProto
+ .internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.firestore.v1.ArrayValue.class,
+ com.google.firestore.v1.ArrayValue.Builder.class);
+ }
+
+ // Construct using com.google.firestore.v1.ArrayValue.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getValuesFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ if (valuesBuilder_ == null) {
+ values_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ valuesBuilder_.clear();
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.firestore.v1.DocumentProto
+ .internal_static_google_firestore_v1_ArrayValue_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.ArrayValue getDefaultInstanceForType() {
+ return com.google.firestore.v1.ArrayValue.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.ArrayValue build() {
+ com.google.firestore.v1.ArrayValue result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.ArrayValue buildPartial() {
+ com.google.firestore.v1.ArrayValue result = new com.google.firestore.v1.ArrayValue(this);
+ int from_bitField0_ = bitField0_;
+ if (valuesBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ values_ = java.util.Collections.unmodifiableList(values_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.values_ = values_;
+ } else {
+ result.values_ = valuesBuilder_.build();
+ }
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return (Builder) super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return (Builder) super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return (Builder) super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return (Builder) super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return (Builder) super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return (Builder) super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.firestore.v1.ArrayValue) {
+ return mergeFrom((com.google.firestore.v1.ArrayValue) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.firestore.v1.ArrayValue other) {
+ if (other == com.google.firestore.v1.ArrayValue.getDefaultInstance()) return this;
+ if (valuesBuilder_ == null) {
+ if (!other.values_.isEmpty()) {
+ if (values_.isEmpty()) {
+ values_ = other.values_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureValuesIsMutable();
+ values_.addAll(other.values_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.values_.isEmpty()) {
+ if (valuesBuilder_.isEmpty()) {
+ valuesBuilder_.dispose();
+ valuesBuilder_ = null;
+ values_ = other.values_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ valuesBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getValuesFieldBuilder()
+ : null;
+ } else {
+ valuesBuilder_.addAllMessages(other.values_);
+ }
+ }
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.firestore.v1.ArrayValue parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.firestore.v1.ArrayValue) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.util.List values_ =
+ java.util.Collections.emptyList();
+
+ private void ensureValuesIsMutable() {
+ if (!((bitField0_ & 0x00000001) == 0x00000001)) {
+ values_ = new java.util.ArrayList(values_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.firestore.v1.Value,
+ com.google.firestore.v1.Value.Builder,
+ com.google.firestore.v1.ValueOrBuilder>
+ valuesBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public java.util.List getValuesList() {
+ if (valuesBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(values_);
+ } else {
+ return valuesBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public int getValuesCount() {
+ if (valuesBuilder_ == null) {
+ return values_.size();
+ } else {
+ return valuesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public com.google.firestore.v1.Value getValues(int index) {
+ if (valuesBuilder_ == null) {
+ return values_.get(index);
+ } else {
+ return valuesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public Builder setValues(int index, com.google.firestore.v1.Value value) {
+ if (valuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureValuesIsMutable();
+ values_.set(index, value);
+ onChanged();
+ } else {
+ valuesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public Builder setValues(int index, com.google.firestore.v1.Value.Builder builderForValue) {
+ if (valuesBuilder_ == null) {
+ ensureValuesIsMutable();
+ values_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ valuesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public Builder addValues(com.google.firestore.v1.Value value) {
+ if (valuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureValuesIsMutable();
+ values_.add(value);
+ onChanged();
+ } else {
+ valuesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public Builder addValues(int index, com.google.firestore.v1.Value value) {
+ if (valuesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureValuesIsMutable();
+ values_.add(index, value);
+ onChanged();
+ } else {
+ valuesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue) {
+ if (valuesBuilder_ == null) {
+ ensureValuesIsMutable();
+ values_.add(builderForValue.build());
+ onChanged();
+ } else {
+ valuesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public Builder addValues(int index, com.google.firestore.v1.Value.Builder builderForValue) {
+ if (valuesBuilder_ == null) {
+ ensureValuesIsMutable();
+ values_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ valuesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public Builder addAllValues(
+ java.lang.Iterable extends com.google.firestore.v1.Value> values) {
+ if (valuesBuilder_ == null) {
+ ensureValuesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_);
+ onChanged();
+ } else {
+ valuesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public Builder clearValues() {
+ if (valuesBuilder_ == null) {
+ values_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ valuesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public Builder removeValues(int index) {
+ if (valuesBuilder_ == null) {
+ ensureValuesIsMutable();
+ values_.remove(index);
+ onChanged();
+ } else {
+ valuesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public com.google.firestore.v1.Value.Builder getValuesBuilder(int index) {
+ return getValuesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
+ if (valuesBuilder_ == null) {
+ return values_.get(index);
+ } else {
+ return valuesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public java.util.List extends com.google.firestore.v1.ValueOrBuilder>
+ getValuesOrBuilderList() {
+ if (valuesBuilder_ != null) {
+ return valuesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(values_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public com.google.firestore.v1.Value.Builder addValuesBuilder() {
+ return getValuesFieldBuilder().addBuilder(com.google.firestore.v1.Value.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public com.google.firestore.v1.Value.Builder addValuesBuilder(int index) {
+ return getValuesFieldBuilder()
+ .addBuilder(index, com.google.firestore.v1.Value.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ public java.util.List getValuesBuilderList() {
+ return getValuesFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.firestore.v1.Value,
+ com.google.firestore.v1.Value.Builder,
+ com.google.firestore.v1.ValueOrBuilder>
+ getValuesFieldBuilder() {
+ if (valuesBuilder_ == null) {
+ valuesBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.firestore.v1.Value,
+ com.google.firestore.v1.Value.Builder,
+ com.google.firestore.v1.ValueOrBuilder>(
+ values_,
+ ((bitField0_ & 0x00000001) == 0x00000001),
+ getParentForChildren(),
+ isClean());
+ values_ = null;
+ }
+ return valuesBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.firestore.v1.ArrayValue)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.firestore.v1.ArrayValue)
+ private static final com.google.firestore.v1.ArrayValue DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.firestore.v1.ArrayValue();
+ }
+
+ public static com.google.firestore.v1.ArrayValue getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public ArrayValue parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new ArrayValue(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.ArrayValue getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java
new file mode 100644
index 000000000000..87b209185bdb
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java
@@ -0,0 +1,61 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/firestore/v1/document.proto
+
+package com.google.firestore.v1;
+
+public interface ArrayValueOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.firestore.v1.ArrayValue)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ java.util.List getValuesList();
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ com.google.firestore.v1.Value getValues(int index);
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ int getValuesCount();
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ java.util.List extends com.google.firestore.v1.ValueOrBuilder> getValuesOrBuilderList();
+ /**
+ *
+ *
+ *
+ * Values in the array.
+ *
+ *
+ * repeated .google.firestore.v1.Value values = 1;
+ */
+ com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index);
+}
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java
new file mode 100644
index 000000000000..80ede040eaa6
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java
@@ -0,0 +1,1975 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/firestore/v1/firestore.proto
+
+package com.google.firestore.v1;
+
+/**
+ *
+ *
+ *
+ * The request for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
+ *
+ *
+ * Protobuf type {@code google.firestore.v1.BatchGetDocumentsRequest}
+ */
+public final class BatchGetDocumentsRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchGetDocumentsRequest)
+ BatchGetDocumentsRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use BatchGetDocumentsRequest.newBuilder() to construct.
+ private BatchGetDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private BatchGetDocumentsRequest() {
+ database_ = "";
+ documents_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private BatchGetDocumentsRequest(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ database_ = s;
+ break;
+ }
+ case 18:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ documents_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000002;
+ }
+ documents_.add(s);
+ break;
+ }
+ case 26:
+ {
+ com.google.firestore.v1.DocumentMask.Builder subBuilder = null;
+ if (mask_ != null) {
+ subBuilder = mask_.toBuilder();
+ }
+ mask_ =
+ input.readMessage(
+ com.google.firestore.v1.DocumentMask.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(mask_);
+ mask_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 34:
+ {
+ consistencySelectorCase_ = 4;
+ consistencySelector_ = input.readBytes();
+ break;
+ }
+ case 42:
+ {
+ com.google.firestore.v1.TransactionOptions.Builder subBuilder = null;
+ if (consistencySelectorCase_ == 5) {
+ subBuilder =
+ ((com.google.firestore.v1.TransactionOptions) consistencySelector_).toBuilder();
+ }
+ consistencySelector_ =
+ input.readMessage(
+ com.google.firestore.v1.TransactionOptions.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(
+ (com.google.firestore.v1.TransactionOptions) consistencySelector_);
+ consistencySelector_ = subBuilder.buildPartial();
+ }
+ consistencySelectorCase_ = 5;
+ break;
+ }
+ case 58:
+ {
+ com.google.protobuf.Timestamp.Builder subBuilder = null;
+ if (consistencySelectorCase_ == 7) {
+ subBuilder = ((com.google.protobuf.Timestamp) consistencySelector_).toBuilder();
+ }
+ consistencySelector_ =
+ input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom((com.google.protobuf.Timestamp) consistencySelector_);
+ consistencySelector_ = subBuilder.buildPartial();
+ }
+ consistencySelectorCase_ = 7;
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ documents_ = documents_.getUnmodifiableView();
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.firestore.v1.BatchGetDocumentsRequest.class,
+ com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class);
+ }
+
+ private int bitField0_;
+ private int consistencySelectorCase_ = 0;
+ private java.lang.Object consistencySelector_;
+
+ public enum ConsistencySelectorCase implements com.google.protobuf.Internal.EnumLite {
+ TRANSACTION(4),
+ NEW_TRANSACTION(5),
+ READ_TIME(7),
+ CONSISTENCYSELECTOR_NOT_SET(0);
+ private final int value;
+
+ private ConsistencySelectorCase(int value) {
+ this.value = value;
+ }
+ /** @deprecated Use {@link #forNumber(int)} instead. */
+ @java.lang.Deprecated
+ public static ConsistencySelectorCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static ConsistencySelectorCase forNumber(int value) {
+ switch (value) {
+ case 4:
+ return TRANSACTION;
+ case 5:
+ return NEW_TRANSACTION;
+ case 7:
+ return READ_TIME;
+ case 0:
+ return CONSISTENCYSELECTOR_NOT_SET;
+ default:
+ return null;
+ }
+ }
+
+ public int getNumber() {
+ return this.value;
+ }
+ };
+
+ public ConsistencySelectorCase getConsistencySelectorCase() {
+ return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
+ }
+
+ public static final int DATABASE_FIELD_NUMBER = 1;
+ private volatile java.lang.Object database_;
+ /**
+ *
+ *
+ *
+ * The database name. In the format:
+ * `projects/{project_id}/databases/{database_id}`.
+ *
+ *
+ * string database = 1;
+ */
+ public java.lang.String getDatabase() {
+ java.lang.Object ref = database_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ database_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The database name. In the format:
+ * `projects/{project_id}/databases/{database_id}`.
+ *
+ *
+ * string database = 1;
+ */
+ public com.google.protobuf.ByteString getDatabaseBytes() {
+ java.lang.Object ref = database_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ database_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DOCUMENTS_FIELD_NUMBER = 2;
+ private com.google.protobuf.LazyStringList documents_;
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ public com.google.protobuf.ProtocolStringList getDocumentsList() {
+ return documents_;
+ }
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ public int getDocumentsCount() {
+ return documents_.size();
+ }
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ public java.lang.String getDocuments(int index) {
+ return documents_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ public com.google.protobuf.ByteString getDocumentsBytes(int index) {
+ return documents_.getByteString(index);
+ }
+
+ public static final int MASK_FIELD_NUMBER = 3;
+ private com.google.firestore.v1.DocumentMask mask_;
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ public boolean hasMask() {
+ return mask_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ public com.google.firestore.v1.DocumentMask getMask() {
+ return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
+ return getMask();
+ }
+
+ public static final int TRANSACTION_FIELD_NUMBER = 4;
+ /**
+ *
+ *
+ *
+ * Reads documents in a transaction.
+ *
+ *
+ * bytes transaction = 4;
+ */
+ public com.google.protobuf.ByteString getTransaction() {
+ if (consistencySelectorCase_ == 4) {
+ return (com.google.protobuf.ByteString) consistencySelector_;
+ }
+ return com.google.protobuf.ByteString.EMPTY;
+ }
+
+ public static final int NEW_TRANSACTION_FIELD_NUMBER = 5;
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ public boolean hasNewTransaction() {
+ return consistencySelectorCase_ == 5;
+ }
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ public com.google.firestore.v1.TransactionOptions getNewTransaction() {
+ if (consistencySelectorCase_ == 5) {
+ return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
+ }
+ return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() {
+ if (consistencySelectorCase_ == 5) {
+ return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
+ }
+ return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
+ }
+
+ public static final int READ_TIME_FIELD_NUMBER = 7;
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ public boolean hasReadTime() {
+ return consistencySelectorCase_ == 7;
+ }
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ public com.google.protobuf.Timestamp getReadTime() {
+ if (consistencySelectorCase_ == 7) {
+ return (com.google.protobuf.Timestamp) consistencySelector_;
+ }
+ return com.google.protobuf.Timestamp.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
+ if (consistencySelectorCase_ == 7) {
+ return (com.google.protobuf.Timestamp) consistencySelector_;
+ }
+ return com.google.protobuf.Timestamp.getDefaultInstance();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!getDatabaseBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_);
+ }
+ for (int i = 0; i < documents_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, documents_.getRaw(i));
+ }
+ if (mask_ != null) {
+ output.writeMessage(3, getMask());
+ }
+ if (consistencySelectorCase_ == 4) {
+ output.writeBytes(4, (com.google.protobuf.ByteString) consistencySelector_);
+ }
+ if (consistencySelectorCase_ == 5) {
+ output.writeMessage(5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
+ }
+ if (consistencySelectorCase_ == 7) {
+ output.writeMessage(7, (com.google.protobuf.Timestamp) consistencySelector_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getDatabaseBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < documents_.size(); i++) {
+ dataSize += computeStringSizeNoTag(documents_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getDocumentsList().size();
+ }
+ if (mask_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMask());
+ }
+ if (consistencySelectorCase_ == 4) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeBytesSize(
+ 4, (com.google.protobuf.ByteString) consistencySelector_);
+ }
+ if (consistencySelectorCase_ == 5) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
+ }
+ if (consistencySelectorCase_ == 7) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 7, (com.google.protobuf.Timestamp) consistencySelector_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.firestore.v1.BatchGetDocumentsRequest)) {
+ return super.equals(obj);
+ }
+ com.google.firestore.v1.BatchGetDocumentsRequest other =
+ (com.google.firestore.v1.BatchGetDocumentsRequest) obj;
+
+ boolean result = true;
+ result = result && getDatabase().equals(other.getDatabase());
+ result = result && getDocumentsList().equals(other.getDocumentsList());
+ result = result && (hasMask() == other.hasMask());
+ if (hasMask()) {
+ result = result && getMask().equals(other.getMask());
+ }
+ result = result && getConsistencySelectorCase().equals(other.getConsistencySelectorCase());
+ if (!result) return false;
+ switch (consistencySelectorCase_) {
+ case 4:
+ result = result && getTransaction().equals(other.getTransaction());
+ break;
+ case 5:
+ result = result && getNewTransaction().equals(other.getNewTransaction());
+ break;
+ case 7:
+ result = result && getReadTime().equals(other.getReadTime());
+ break;
+ case 0:
+ default:
+ }
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + DATABASE_FIELD_NUMBER;
+ hash = (53 * hash) + getDatabase().hashCode();
+ if (getDocumentsCount() > 0) {
+ hash = (37 * hash) + DOCUMENTS_FIELD_NUMBER;
+ hash = (53 * hash) + getDocumentsList().hashCode();
+ }
+ if (hasMask()) {
+ hash = (37 * hash) + MASK_FIELD_NUMBER;
+ hash = (53 * hash) + getMask().hashCode();
+ }
+ switch (consistencySelectorCase_) {
+ case 4:
+ hash = (37 * hash) + TRANSACTION_FIELD_NUMBER;
+ hash = (53 * hash) + getTransaction().hashCode();
+ break;
+ case 5:
+ hash = (37 * hash) + NEW_TRANSACTION_FIELD_NUMBER;
+ hash = (53 * hash) + getNewTransaction().hashCode();
+ break;
+ case 7:
+ hash = (37 * hash) + READ_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getReadTime().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.firestore.v1.BatchGetDocumentsRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * The request for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
+ *
+ *
+ * Protobuf type {@code google.firestore.v1.BatchGetDocumentsRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.firestore.v1.BatchGetDocumentsRequest)
+ com.google.firestore.v1.BatchGetDocumentsRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.firestore.v1.BatchGetDocumentsRequest.class,
+ com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class);
+ }
+
+ // Construct using com.google.firestore.v1.BatchGetDocumentsRequest.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ database_ = "";
+
+ documents_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ if (maskBuilder_ == null) {
+ mask_ = null;
+ } else {
+ mask_ = null;
+ maskBuilder_ = null;
+ }
+ consistencySelectorCase_ = 0;
+ consistencySelector_ = null;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.BatchGetDocumentsRequest getDefaultInstanceForType() {
+ return com.google.firestore.v1.BatchGetDocumentsRequest.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.BatchGetDocumentsRequest build() {
+ com.google.firestore.v1.BatchGetDocumentsRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.BatchGetDocumentsRequest buildPartial() {
+ com.google.firestore.v1.BatchGetDocumentsRequest result =
+ new com.google.firestore.v1.BatchGetDocumentsRequest(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ result.database_ = database_;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ documents_ = documents_.getUnmodifiableView();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.documents_ = documents_;
+ if (maskBuilder_ == null) {
+ result.mask_ = mask_;
+ } else {
+ result.mask_ = maskBuilder_.build();
+ }
+ if (consistencySelectorCase_ == 4) {
+ result.consistencySelector_ = consistencySelector_;
+ }
+ if (consistencySelectorCase_ == 5) {
+ if (newTransactionBuilder_ == null) {
+ result.consistencySelector_ = consistencySelector_;
+ } else {
+ result.consistencySelector_ = newTransactionBuilder_.build();
+ }
+ }
+ if (consistencySelectorCase_ == 7) {
+ if (readTimeBuilder_ == null) {
+ result.consistencySelector_ = consistencySelector_;
+ } else {
+ result.consistencySelector_ = readTimeBuilder_.build();
+ }
+ }
+ result.bitField0_ = to_bitField0_;
+ result.consistencySelectorCase_ = consistencySelectorCase_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return (Builder) super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return (Builder) super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return (Builder) super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return (Builder) super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return (Builder) super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return (Builder) super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.firestore.v1.BatchGetDocumentsRequest) {
+ return mergeFrom((com.google.firestore.v1.BatchGetDocumentsRequest) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsRequest other) {
+ if (other == com.google.firestore.v1.BatchGetDocumentsRequest.getDefaultInstance())
+ return this;
+ if (!other.getDatabase().isEmpty()) {
+ database_ = other.database_;
+ onChanged();
+ }
+ if (!other.documents_.isEmpty()) {
+ if (documents_.isEmpty()) {
+ documents_ = other.documents_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureDocumentsIsMutable();
+ documents_.addAll(other.documents_);
+ }
+ onChanged();
+ }
+ if (other.hasMask()) {
+ mergeMask(other.getMask());
+ }
+ switch (other.getConsistencySelectorCase()) {
+ case TRANSACTION:
+ {
+ setTransaction(other.getTransaction());
+ break;
+ }
+ case NEW_TRANSACTION:
+ {
+ mergeNewTransaction(other.getNewTransaction());
+ break;
+ }
+ case READ_TIME:
+ {
+ mergeReadTime(other.getReadTime());
+ break;
+ }
+ case CONSISTENCYSELECTOR_NOT_SET:
+ {
+ break;
+ }
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.firestore.v1.BatchGetDocumentsRequest parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.firestore.v1.BatchGetDocumentsRequest) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private int consistencySelectorCase_ = 0;
+ private java.lang.Object consistencySelector_;
+
+ public ConsistencySelectorCase getConsistencySelectorCase() {
+ return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
+ }
+
+ public Builder clearConsistencySelector() {
+ consistencySelectorCase_ = 0;
+ consistencySelector_ = null;
+ onChanged();
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.lang.Object database_ = "";
+ /**
+ *
+ *
+ *
+ * The database name. In the format:
+ * `projects/{project_id}/databases/{database_id}`.
+ *
+ *
+ * string database = 1;
+ */
+ public java.lang.String getDatabase() {
+ java.lang.Object ref = database_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ database_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The database name. In the format:
+ * `projects/{project_id}/databases/{database_id}`.
+ *
+ *
+ * string database = 1;
+ */
+ public com.google.protobuf.ByteString getDatabaseBytes() {
+ java.lang.Object ref = database_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ database_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The database name. In the format:
+ * `projects/{project_id}/databases/{database_id}`.
+ *
+ *
+ * string database = 1;
+ */
+ public Builder setDatabase(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ database_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The database name. In the format:
+ * `projects/{project_id}/databases/{database_id}`.
+ *
+ *
+ * string database = 1;
+ */
+ public Builder clearDatabase() {
+
+ database_ = getDefaultInstance().getDatabase();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The database name. In the format:
+ * `projects/{project_id}/databases/{database_id}`.
+ *
+ *
+ * string database = 1;
+ */
+ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ database_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.LazyStringList documents_ =
+ com.google.protobuf.LazyStringArrayList.EMPTY;
+
+ private void ensureDocumentsIsMutable() {
+ if (!((bitField0_ & 0x00000002) == 0x00000002)) {
+ documents_ = new com.google.protobuf.LazyStringArrayList(documents_);
+ bitField0_ |= 0x00000002;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ public com.google.protobuf.ProtocolStringList getDocumentsList() {
+ return documents_.getUnmodifiableView();
+ }
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ public int getDocumentsCount() {
+ return documents_.size();
+ }
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ public java.lang.String getDocuments(int index) {
+ return documents_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ public com.google.protobuf.ByteString getDocumentsBytes(int index) {
+ return documents_.getByteString(index);
+ }
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ public Builder setDocuments(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDocumentsIsMutable();
+ documents_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ public Builder addDocuments(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDocumentsIsMutable();
+ documents_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ public Builder addAllDocuments(java.lang.Iterable values) {
+ ensureDocumentsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ public Builder clearDocuments() {
+ documents_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ public Builder addDocumentsBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureDocumentsIsMutable();
+ documents_.add(value);
+ onChanged();
+ return this;
+ }
+
+ private com.google.firestore.v1.DocumentMask mask_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.v1.DocumentMask,
+ com.google.firestore.v1.DocumentMask.Builder,
+ com.google.firestore.v1.DocumentMaskOrBuilder>
+ maskBuilder_;
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ public boolean hasMask() {
+ return maskBuilder_ != null || mask_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ public com.google.firestore.v1.DocumentMask getMask() {
+ if (maskBuilder_ == null) {
+ return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+ } else {
+ return maskBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
+ if (maskBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ mask_ = value;
+ onChanged();
+ } else {
+ maskBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+ if (maskBuilder_ == null) {
+ mask_ = builderForValue.build();
+ onChanged();
+ } else {
+ maskBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
+ if (maskBuilder_ == null) {
+ if (mask_ != null) {
+ mask_ =
+ com.google.firestore.v1.DocumentMask.newBuilder(mask_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ mask_ = value;
+ }
+ onChanged();
+ } else {
+ maskBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ public Builder clearMask() {
+ if (maskBuilder_ == null) {
+ mask_ = null;
+ onChanged();
+ } else {
+ mask_ = null;
+ maskBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
+
+ onChanged();
+ return getMaskFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
+ if (maskBuilder_ != null) {
+ return maskBuilder_.getMessageOrBuilder();
+ } else {
+ return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.v1.DocumentMask,
+ com.google.firestore.v1.DocumentMask.Builder,
+ com.google.firestore.v1.DocumentMaskOrBuilder>
+ getMaskFieldBuilder() {
+ if (maskBuilder_ == null) {
+ maskBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.v1.DocumentMask,
+ com.google.firestore.v1.DocumentMask.Builder,
+ com.google.firestore.v1.DocumentMaskOrBuilder>(
+ getMask(), getParentForChildren(), isClean());
+ mask_ = null;
+ }
+ return maskBuilder_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Reads documents in a transaction.
+ *
+ *
+ * bytes transaction = 4;
+ */
+ public com.google.protobuf.ByteString getTransaction() {
+ if (consistencySelectorCase_ == 4) {
+ return (com.google.protobuf.ByteString) consistencySelector_;
+ }
+ return com.google.protobuf.ByteString.EMPTY;
+ }
+ /**
+ *
+ *
+ *
+ * Reads documents in a transaction.
+ *
+ *
+ * bytes transaction = 4;
+ */
+ public Builder setTransaction(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ consistencySelectorCase_ = 4;
+ consistencySelector_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Reads documents in a transaction.
+ *
+ *
+ * bytes transaction = 4;
+ */
+ public Builder clearTransaction() {
+ if (consistencySelectorCase_ == 4) {
+ consistencySelectorCase_ = 0;
+ consistencySelector_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.v1.TransactionOptions,
+ com.google.firestore.v1.TransactionOptions.Builder,
+ com.google.firestore.v1.TransactionOptionsOrBuilder>
+ newTransactionBuilder_;
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ public boolean hasNewTransaction() {
+ return consistencySelectorCase_ == 5;
+ }
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ public com.google.firestore.v1.TransactionOptions getNewTransaction() {
+ if (newTransactionBuilder_ == null) {
+ if (consistencySelectorCase_ == 5) {
+ return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
+ }
+ return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
+ } else {
+ if (consistencySelectorCase_ == 5) {
+ return newTransactionBuilder_.getMessage();
+ }
+ return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ public Builder setNewTransaction(com.google.firestore.v1.TransactionOptions value) {
+ if (newTransactionBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ consistencySelector_ = value;
+ onChanged();
+ } else {
+ newTransactionBuilder_.setMessage(value);
+ }
+ consistencySelectorCase_ = 5;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ public Builder setNewTransaction(
+ com.google.firestore.v1.TransactionOptions.Builder builderForValue) {
+ if (newTransactionBuilder_ == null) {
+ consistencySelector_ = builderForValue.build();
+ onChanged();
+ } else {
+ newTransactionBuilder_.setMessage(builderForValue.build());
+ }
+ consistencySelectorCase_ = 5;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions value) {
+ if (newTransactionBuilder_ == null) {
+ if (consistencySelectorCase_ == 5
+ && consistencySelector_
+ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
+ consistencySelector_ =
+ com.google.firestore.v1.TransactionOptions.newBuilder(
+ (com.google.firestore.v1.TransactionOptions) consistencySelector_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ consistencySelector_ = value;
+ }
+ onChanged();
+ } else {
+ if (consistencySelectorCase_ == 5) {
+ newTransactionBuilder_.mergeFrom(value);
+ }
+ newTransactionBuilder_.setMessage(value);
+ }
+ consistencySelectorCase_ = 5;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ public Builder clearNewTransaction() {
+ if (newTransactionBuilder_ == null) {
+ if (consistencySelectorCase_ == 5) {
+ consistencySelectorCase_ = 0;
+ consistencySelector_ = null;
+ onChanged();
+ }
+ } else {
+ if (consistencySelectorCase_ == 5) {
+ consistencySelectorCase_ = 0;
+ consistencySelector_ = null;
+ }
+ newTransactionBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ public com.google.firestore.v1.TransactionOptions.Builder getNewTransactionBuilder() {
+ return getNewTransactionFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() {
+ if ((consistencySelectorCase_ == 5) && (newTransactionBuilder_ != null)) {
+ return newTransactionBuilder_.getMessageOrBuilder();
+ } else {
+ if (consistencySelectorCase_ == 5) {
+ return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
+ }
+ return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.v1.TransactionOptions,
+ com.google.firestore.v1.TransactionOptions.Builder,
+ com.google.firestore.v1.TransactionOptionsOrBuilder>
+ getNewTransactionFieldBuilder() {
+ if (newTransactionBuilder_ == null) {
+ if (!(consistencySelectorCase_ == 5)) {
+ consistencySelector_ = com.google.firestore.v1.TransactionOptions.getDefaultInstance();
+ }
+ newTransactionBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.v1.TransactionOptions,
+ com.google.firestore.v1.TransactionOptions.Builder,
+ com.google.firestore.v1.TransactionOptionsOrBuilder>(
+ (com.google.firestore.v1.TransactionOptions) consistencySelector_,
+ getParentForChildren(),
+ isClean());
+ consistencySelector_ = null;
+ }
+ consistencySelectorCase_ = 5;
+ onChanged();
+ ;
+ return newTransactionBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ readTimeBuilder_;
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ public boolean hasReadTime() {
+ return consistencySelectorCase_ == 7;
+ }
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ public com.google.protobuf.Timestamp getReadTime() {
+ if (readTimeBuilder_ == null) {
+ if (consistencySelectorCase_ == 7) {
+ return (com.google.protobuf.Timestamp) consistencySelector_;
+ }
+ return com.google.protobuf.Timestamp.getDefaultInstance();
+ } else {
+ if (consistencySelectorCase_ == 7) {
+ return readTimeBuilder_.getMessage();
+ }
+ return com.google.protobuf.Timestamp.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ public Builder setReadTime(com.google.protobuf.Timestamp value) {
+ if (readTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ consistencySelector_ = value;
+ onChanged();
+ } else {
+ readTimeBuilder_.setMessage(value);
+ }
+ consistencySelectorCase_ = 7;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (readTimeBuilder_ == null) {
+ consistencySelector_ = builderForValue.build();
+ onChanged();
+ } else {
+ readTimeBuilder_.setMessage(builderForValue.build());
+ }
+ consistencySelectorCase_ = 7;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
+ if (readTimeBuilder_ == null) {
+ if (consistencySelectorCase_ == 7
+ && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ consistencySelector_ =
+ com.google.protobuf.Timestamp.newBuilder(
+ (com.google.protobuf.Timestamp) consistencySelector_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ consistencySelector_ = value;
+ }
+ onChanged();
+ } else {
+ if (consistencySelectorCase_ == 7) {
+ readTimeBuilder_.mergeFrom(value);
+ }
+ readTimeBuilder_.setMessage(value);
+ }
+ consistencySelectorCase_ = 7;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ public Builder clearReadTime() {
+ if (readTimeBuilder_ == null) {
+ if (consistencySelectorCase_ == 7) {
+ consistencySelectorCase_ = 0;
+ consistencySelector_ = null;
+ onChanged();
+ }
+ } else {
+ if (consistencySelectorCase_ == 7) {
+ consistencySelectorCase_ = 0;
+ consistencySelector_ = null;
+ }
+ readTimeBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
+ return getReadTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
+ if ((consistencySelectorCase_ == 7) && (readTimeBuilder_ != null)) {
+ return readTimeBuilder_.getMessageOrBuilder();
+ } else {
+ if (consistencySelectorCase_ == 7) {
+ return (com.google.protobuf.Timestamp) consistencySelector_;
+ }
+ return com.google.protobuf.Timestamp.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getReadTimeFieldBuilder() {
+ if (readTimeBuilder_ == null) {
+ if (!(consistencySelectorCase_ == 7)) {
+ consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
+ }
+ readTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ (com.google.protobuf.Timestamp) consistencySelector_,
+ getParentForChildren(),
+ isClean());
+ consistencySelector_ = null;
+ }
+ consistencySelectorCase_ = 7;
+ onChanged();
+ ;
+ return readTimeBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.firestore.v1.BatchGetDocumentsRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.firestore.v1.BatchGetDocumentsRequest)
+ private static final com.google.firestore.v1.BatchGetDocumentsRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.firestore.v1.BatchGetDocumentsRequest();
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public BatchGetDocumentsRequest parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new BatchGetDocumentsRequest(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.BatchGetDocumentsRequest getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
new file mode 100644
index 000000000000..4b0b3e16732f
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
@@ -0,0 +1,211 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/firestore/v1/firestore.proto
+
+package com.google.firestore.v1;
+
+public interface BatchGetDocumentsRequestOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchGetDocumentsRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * The database name. In the format:
+ * `projects/{project_id}/databases/{database_id}`.
+ *
+ *
+ * string database = 1;
+ */
+ java.lang.String getDatabase();
+ /**
+ *
+ *
+ *
+ * The database name. In the format:
+ * `projects/{project_id}/databases/{database_id}`.
+ *
+ *
+ * string database = 1;
+ */
+ com.google.protobuf.ByteString getDatabaseBytes();
+
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ java.util.List getDocumentsList();
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ int getDocumentsCount();
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ java.lang.String getDocuments(int index);
+ /**
+ *
+ *
+ *
+ * The names of the documents to retrieve. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ * The request will fail if any of the document is not a child resource of the
+ * given `database`. Duplicate names will be elided.
+ *
+ *
+ * repeated string documents = 2;
+ */
+ com.google.protobuf.ByteString getDocumentsBytes(int index);
+
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ boolean hasMask();
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ com.google.firestore.v1.DocumentMask getMask();
+ /**
+ *
+ *
+ *
+ * The fields to return. If not set, returns all fields.
+ * If a document has a field that is not present in this mask, that field will
+ * not be returned in the response.
+ *
+ *
+ * .google.firestore.v1.DocumentMask mask = 3;
+ */
+ com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Reads documents in a transaction.
+ *
+ *
+ * bytes transaction = 4;
+ */
+ com.google.protobuf.ByteString getTransaction();
+
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ boolean hasNewTransaction();
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ com.google.firestore.v1.TransactionOptions getNewTransaction();
+ /**
+ *
+ *
+ *
+ * Starts a new transaction and reads the documents.
+ * Defaults to a read-only transaction.
+ * The new transaction ID will be returned as the first response in the
+ * stream.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions new_transaction = 5;
+ */
+ com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ boolean hasReadTime();
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ com.google.protobuf.Timestamp getReadTime();
+ /**
+ *
+ *
+ *
+ * Reads documents as they were at the given time.
+ * This may not be older than 60 seconds.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 7;
+ */
+ com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
+
+ public com.google.firestore.v1.BatchGetDocumentsRequest.ConsistencySelectorCase
+ getConsistencySelectorCase();
+}
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
new file mode 100644
index 000000000000..641fae961f7d
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
@@ -0,0 +1,1373 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/firestore/v1/firestore.proto
+
+package com.google.firestore.v1;
+
+/**
+ *
+ *
+ *
+ * The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
+ *
+ *
+ * Protobuf type {@code google.firestore.v1.BatchGetDocumentsResponse}
+ */
+public final class BatchGetDocumentsResponse extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchGetDocumentsResponse)
+ BatchGetDocumentsResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use BatchGetDocumentsResponse.newBuilder() to construct.
+ private BatchGetDocumentsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private BatchGetDocumentsResponse() {
+ transaction_ = com.google.protobuf.ByteString.EMPTY;
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private BatchGetDocumentsResponse(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ com.google.firestore.v1.Document.Builder subBuilder = null;
+ if (resultCase_ == 1) {
+ subBuilder = ((com.google.firestore.v1.Document) result_).toBuilder();
+ }
+ result_ =
+ input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom((com.google.firestore.v1.Document) result_);
+ result_ = subBuilder.buildPartial();
+ }
+ resultCase_ = 1;
+ break;
+ }
+ case 18:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ resultCase_ = 2;
+ result_ = s;
+ break;
+ }
+ case 26:
+ {
+ transaction_ = input.readBytes();
+ break;
+ }
+ case 34:
+ {
+ com.google.protobuf.Timestamp.Builder subBuilder = null;
+ if (readTime_ != null) {
+ subBuilder = readTime_.toBuilder();
+ }
+ readTime_ =
+ input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(readTime_);
+ readTime_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.firestore.v1.BatchGetDocumentsResponse.class,
+ com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class);
+ }
+
+ private int resultCase_ = 0;
+ private java.lang.Object result_;
+
+ public enum ResultCase implements com.google.protobuf.Internal.EnumLite {
+ FOUND(1),
+ MISSING(2),
+ RESULT_NOT_SET(0);
+ private final int value;
+
+ private ResultCase(int value) {
+ this.value = value;
+ }
+ /** @deprecated Use {@link #forNumber(int)} instead. */
+ @java.lang.Deprecated
+ public static ResultCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static ResultCase forNumber(int value) {
+ switch (value) {
+ case 1:
+ return FOUND;
+ case 2:
+ return MISSING;
+ case 0:
+ return RESULT_NOT_SET;
+ default:
+ return null;
+ }
+ }
+
+ public int getNumber() {
+ return this.value;
+ }
+ };
+
+ public ResultCase getResultCase() {
+ return ResultCase.forNumber(resultCase_);
+ }
+
+ public static final int FOUND_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ public boolean hasFound() {
+ return resultCase_ == 1;
+ }
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ public com.google.firestore.v1.Document getFound() {
+ if (resultCase_ == 1) {
+ return (com.google.firestore.v1.Document) result_;
+ }
+ return com.google.firestore.v1.Document.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() {
+ if (resultCase_ == 1) {
+ return (com.google.firestore.v1.Document) result_;
+ }
+ return com.google.firestore.v1.Document.getDefaultInstance();
+ }
+
+ public static final int MISSING_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ *
+ * A document name that was requested but does not exist. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
+ *
+ * string missing = 2;
+ */
+ public java.lang.String getMissing() {
+ java.lang.Object ref = "";
+ if (resultCase_ == 2) {
+ ref = result_;
+ }
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (resultCase_ == 2) {
+ result_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * A document name that was requested but does not exist. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
+ *
+ * string missing = 2;
+ */
+ public com.google.protobuf.ByteString getMissingBytes() {
+ java.lang.Object ref = "";
+ if (resultCase_ == 2) {
+ ref = result_;
+ }
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (resultCase_ == 2) {
+ result_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TRANSACTION_FIELD_NUMBER = 3;
+ private com.google.protobuf.ByteString transaction_;
+ /**
+ *
+ *
+ *
+ * The transaction that was started as part of this request.
+ * Will only be set in the first response, and only if
+ * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request.
+ *
+ *
+ * bytes transaction = 3;
+ */
+ public com.google.protobuf.ByteString getTransaction() {
+ return transaction_;
+ }
+
+ public static final int READ_TIME_FIELD_NUMBER = 4;
+ private com.google.protobuf.Timestamp readTime_;
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ public boolean hasReadTime() {
+ return readTime_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ public com.google.protobuf.Timestamp getReadTime() {
+ return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+ }
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
+ return getReadTime();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (resultCase_ == 1) {
+ output.writeMessage(1, (com.google.firestore.v1.Document) result_);
+ }
+ if (resultCase_ == 2) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, result_);
+ }
+ if (!transaction_.isEmpty()) {
+ output.writeBytes(3, transaction_);
+ }
+ if (readTime_ != null) {
+ output.writeMessage(4, getReadTime());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (resultCase_ == 1) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 1, (com.google.firestore.v1.Document) result_);
+ }
+ if (resultCase_ == 2) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, result_);
+ }
+ if (!transaction_.isEmpty()) {
+ size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, transaction_);
+ }
+ if (readTime_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadTime());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.firestore.v1.BatchGetDocumentsResponse)) {
+ return super.equals(obj);
+ }
+ com.google.firestore.v1.BatchGetDocumentsResponse other =
+ (com.google.firestore.v1.BatchGetDocumentsResponse) obj;
+
+ boolean result = true;
+ result = result && getTransaction().equals(other.getTransaction());
+ result = result && (hasReadTime() == other.hasReadTime());
+ if (hasReadTime()) {
+ result = result && getReadTime().equals(other.getReadTime());
+ }
+ result = result && getResultCase().equals(other.getResultCase());
+ if (!result) return false;
+ switch (resultCase_) {
+ case 1:
+ result = result && getFound().equals(other.getFound());
+ break;
+ case 2:
+ result = result && getMissing().equals(other.getMissing());
+ break;
+ case 0:
+ default:
+ }
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + TRANSACTION_FIELD_NUMBER;
+ hash = (53 * hash) + getTransaction().hashCode();
+ if (hasReadTime()) {
+ hash = (37 * hash) + READ_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getReadTime().hashCode();
+ }
+ switch (resultCase_) {
+ case 1:
+ hash = (37 * hash) + FOUND_FIELD_NUMBER;
+ hash = (53 * hash) + getFound().hashCode();
+ break;
+ case 2:
+ hash = (37 * hash) + MISSING_FIELD_NUMBER;
+ hash = (53 * hash) + getMissing().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsResponse parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsResponse parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.firestore.v1.BatchGetDocumentsResponse prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
+ *
+ *
+ * Protobuf type {@code google.firestore.v1.BatchGetDocumentsResponse}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.firestore.v1.BatchGetDocumentsResponse)
+ com.google.firestore.v1.BatchGetDocumentsResponseOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.firestore.v1.BatchGetDocumentsResponse.class,
+ com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class);
+ }
+
+ // Construct using com.google.firestore.v1.BatchGetDocumentsResponse.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ transaction_ = com.google.protobuf.ByteString.EMPTY;
+
+ if (readTimeBuilder_ == null) {
+ readTime_ = null;
+ } else {
+ readTime_ = null;
+ readTimeBuilder_ = null;
+ }
+ resultCase_ = 0;
+ result_ = null;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.BatchGetDocumentsResponse getDefaultInstanceForType() {
+ return com.google.firestore.v1.BatchGetDocumentsResponse.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.BatchGetDocumentsResponse build() {
+ com.google.firestore.v1.BatchGetDocumentsResponse result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.BatchGetDocumentsResponse buildPartial() {
+ com.google.firestore.v1.BatchGetDocumentsResponse result =
+ new com.google.firestore.v1.BatchGetDocumentsResponse(this);
+ if (resultCase_ == 1) {
+ if (foundBuilder_ == null) {
+ result.result_ = result_;
+ } else {
+ result.result_ = foundBuilder_.build();
+ }
+ }
+ if (resultCase_ == 2) {
+ result.result_ = result_;
+ }
+ result.transaction_ = transaction_;
+ if (readTimeBuilder_ == null) {
+ result.readTime_ = readTime_;
+ } else {
+ result.readTime_ = readTimeBuilder_.build();
+ }
+ result.resultCase_ = resultCase_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return (Builder) super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return (Builder) super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return (Builder) super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return (Builder) super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return (Builder) super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return (Builder) super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.firestore.v1.BatchGetDocumentsResponse) {
+ return mergeFrom((com.google.firestore.v1.BatchGetDocumentsResponse) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsResponse other) {
+ if (other == com.google.firestore.v1.BatchGetDocumentsResponse.getDefaultInstance())
+ return this;
+ if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) {
+ setTransaction(other.getTransaction());
+ }
+ if (other.hasReadTime()) {
+ mergeReadTime(other.getReadTime());
+ }
+ switch (other.getResultCase()) {
+ case FOUND:
+ {
+ mergeFound(other.getFound());
+ break;
+ }
+ case MISSING:
+ {
+ resultCase_ = 2;
+ result_ = other.result_;
+ onChanged();
+ break;
+ }
+ case RESULT_NOT_SET:
+ {
+ break;
+ }
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.firestore.v1.BatchGetDocumentsResponse parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage =
+ (com.google.firestore.v1.BatchGetDocumentsResponse) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private int resultCase_ = 0;
+ private java.lang.Object result_;
+
+ public ResultCase getResultCase() {
+ return ResultCase.forNumber(resultCase_);
+ }
+
+ public Builder clearResult() {
+ resultCase_ = 0;
+ result_ = null;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.v1.Document,
+ com.google.firestore.v1.Document.Builder,
+ com.google.firestore.v1.DocumentOrBuilder>
+ foundBuilder_;
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ public boolean hasFound() {
+ return resultCase_ == 1;
+ }
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ public com.google.firestore.v1.Document getFound() {
+ if (foundBuilder_ == null) {
+ if (resultCase_ == 1) {
+ return (com.google.firestore.v1.Document) result_;
+ }
+ return com.google.firestore.v1.Document.getDefaultInstance();
+ } else {
+ if (resultCase_ == 1) {
+ return foundBuilder_.getMessage();
+ }
+ return com.google.firestore.v1.Document.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ public Builder setFound(com.google.firestore.v1.Document value) {
+ if (foundBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ result_ = value;
+ onChanged();
+ } else {
+ foundBuilder_.setMessage(value);
+ }
+ resultCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ public Builder setFound(com.google.firestore.v1.Document.Builder builderForValue) {
+ if (foundBuilder_ == null) {
+ result_ = builderForValue.build();
+ onChanged();
+ } else {
+ foundBuilder_.setMessage(builderForValue.build());
+ }
+ resultCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ public Builder mergeFound(com.google.firestore.v1.Document value) {
+ if (foundBuilder_ == null) {
+ if (resultCase_ == 1 && result_ != com.google.firestore.v1.Document.getDefaultInstance()) {
+ result_ =
+ com.google.firestore.v1.Document.newBuilder(
+ (com.google.firestore.v1.Document) result_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ result_ = value;
+ }
+ onChanged();
+ } else {
+ if (resultCase_ == 1) {
+ foundBuilder_.mergeFrom(value);
+ }
+ foundBuilder_.setMessage(value);
+ }
+ resultCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ public Builder clearFound() {
+ if (foundBuilder_ == null) {
+ if (resultCase_ == 1) {
+ resultCase_ = 0;
+ result_ = null;
+ onChanged();
+ }
+ } else {
+ if (resultCase_ == 1) {
+ resultCase_ = 0;
+ result_ = null;
+ }
+ foundBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ public com.google.firestore.v1.Document.Builder getFoundBuilder() {
+ return getFoundFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() {
+ if ((resultCase_ == 1) && (foundBuilder_ != null)) {
+ return foundBuilder_.getMessageOrBuilder();
+ } else {
+ if (resultCase_ == 1) {
+ return (com.google.firestore.v1.Document) result_;
+ }
+ return com.google.firestore.v1.Document.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.v1.Document,
+ com.google.firestore.v1.Document.Builder,
+ com.google.firestore.v1.DocumentOrBuilder>
+ getFoundFieldBuilder() {
+ if (foundBuilder_ == null) {
+ if (!(resultCase_ == 1)) {
+ result_ = com.google.firestore.v1.Document.getDefaultInstance();
+ }
+ foundBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.v1.Document,
+ com.google.firestore.v1.Document.Builder,
+ com.google.firestore.v1.DocumentOrBuilder>(
+ (com.google.firestore.v1.Document) result_, getParentForChildren(), isClean());
+ result_ = null;
+ }
+ resultCase_ = 1;
+ onChanged();
+ ;
+ return foundBuilder_;
+ }
+
+ /**
+ *
+ *
+ *
+ * A document name that was requested but does not exist. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
+ *
+ * string missing = 2;
+ */
+ public java.lang.String getMissing() {
+ java.lang.Object ref = "";
+ if (resultCase_ == 2) {
+ ref = result_;
+ }
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (resultCase_ == 2) {
+ result_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * A document name that was requested but does not exist. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
+ *
+ * string missing = 2;
+ */
+ public com.google.protobuf.ByteString getMissingBytes() {
+ java.lang.Object ref = "";
+ if (resultCase_ == 2) {
+ ref = result_;
+ }
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (resultCase_ == 2) {
+ result_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * A document name that was requested but does not exist. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
+ *
+ * string missing = 2;
+ */
+ public Builder setMissing(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ resultCase_ = 2;
+ result_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A document name that was requested but does not exist. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
+ *
+ * string missing = 2;
+ */
+ public Builder clearMissing() {
+ if (resultCase_ == 2) {
+ resultCase_ = 0;
+ result_ = null;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A document name that was requested but does not exist. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
+ *
+ * string missing = 2;
+ */
+ public Builder setMissingBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ resultCase_ = 2;
+ result_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ *
+ *
+ *
+ * The transaction that was started as part of this request.
+ * Will only be set in the first response, and only if
+ * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request.
+ *
+ *
+ * bytes transaction = 3;
+ */
+ public com.google.protobuf.ByteString getTransaction() {
+ return transaction_;
+ }
+ /**
+ *
+ *
+ *
+ * The transaction that was started as part of this request.
+ * Will only be set in the first response, and only if
+ * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request.
+ *
+ *
+ * bytes transaction = 3;
+ */
+ public Builder setTransaction(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ transaction_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The transaction that was started as part of this request.
+ * Will only be set in the first response, and only if
+ * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request.
+ *
+ *
+ * bytes transaction = 3;
+ */
+ public Builder clearTransaction() {
+
+ transaction_ = getDefaultInstance().getTransaction();
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Timestamp readTime_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ readTimeBuilder_;
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ public boolean hasReadTime() {
+ return readTimeBuilder_ != null || readTime_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ public com.google.protobuf.Timestamp getReadTime() {
+ if (readTimeBuilder_ == null) {
+ return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+ } else {
+ return readTimeBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ public Builder setReadTime(com.google.protobuf.Timestamp value) {
+ if (readTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ readTime_ = value;
+ onChanged();
+ } else {
+ readTimeBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (readTimeBuilder_ == null) {
+ readTime_ = builderForValue.build();
+ onChanged();
+ } else {
+ readTimeBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
+ if (readTimeBuilder_ == null) {
+ if (readTime_ != null) {
+ readTime_ =
+ com.google.protobuf.Timestamp.newBuilder(readTime_).mergeFrom(value).buildPartial();
+ } else {
+ readTime_ = value;
+ }
+ onChanged();
+ } else {
+ readTimeBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ public Builder clearReadTime() {
+ if (readTimeBuilder_ == null) {
+ readTime_ = null;
+ onChanged();
+ } else {
+ readTime_ = null;
+ readTimeBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
+
+ onChanged();
+ return getReadTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
+ if (readTimeBuilder_ != null) {
+ return readTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getReadTimeFieldBuilder() {
+ if (readTimeBuilder_ == null) {
+ readTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getReadTime(), getParentForChildren(), isClean());
+ readTime_ = null;
+ }
+ return readTimeBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.firestore.v1.BatchGetDocumentsResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.firestore.v1.BatchGetDocumentsResponse)
+ private static final com.google.firestore.v1.BatchGetDocumentsResponse DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.firestore.v1.BatchGetDocumentsResponse();
+ }
+
+ public static com.google.firestore.v1.BatchGetDocumentsResponse getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public BatchGetDocumentsResponse parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new BatchGetDocumentsResponse(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.BatchGetDocumentsResponse getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
new file mode 100644
index 000000000000..7757fe305814
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
@@ -0,0 +1,119 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/firestore/v1/firestore.proto
+
+package com.google.firestore.v1;
+
+public interface BatchGetDocumentsResponseOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchGetDocumentsResponse)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ boolean hasFound();
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ com.google.firestore.v1.Document getFound();
+ /**
+ *
+ *
+ *
+ * A document that was requested.
+ *
+ *
+ * .google.firestore.v1.Document found = 1;
+ */
+ com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * A document name that was requested but does not exist. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
+ *
+ * string missing = 2;
+ */
+ java.lang.String getMissing();
+ /**
+ *
+ *
+ *
+ * A document name that was requested but does not exist. In the format:
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
+ *
+ * string missing = 2;
+ */
+ com.google.protobuf.ByteString getMissingBytes();
+
+ /**
+ *
+ *
+ *
+ * The transaction that was started as part of this request.
+ * Will only be set in the first response, and only if
+ * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request.
+ *
+ *
+ * bytes transaction = 3;
+ */
+ com.google.protobuf.ByteString getTransaction();
+
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ boolean hasReadTime();
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ com.google.protobuf.Timestamp getReadTime();
+ /**
+ *
+ *
+ *
+ * The time at which the document was read.
+ * This may be monotically increasing, in this case the previous documents in
+ * the result stream are guaranteed not to have changed between their
+ * read_time and this one.
+ *
+ *
+ * .google.protobuf.Timestamp read_time = 4;
+ */
+ com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
+
+ public com.google.firestore.v1.BatchGetDocumentsResponse.ResultCase getResultCase();
+}
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
new file mode 100644
index 000000000000..af42d2e00f96
--- /dev/null
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
@@ -0,0 +1,883 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/firestore/v1/firestore.proto
+
+package com.google.firestore.v1;
+
+/**
+ *
+ *
+ *
+ * The request for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
+ *
+ *
+ * Protobuf type {@code google.firestore.v1.BeginTransactionRequest}
+ */
+public final class BeginTransactionRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.firestore.v1.BeginTransactionRequest)
+ BeginTransactionRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use BeginTransactionRequest.newBuilder() to construct.
+ private BeginTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private BeginTransactionRequest() {
+ database_ = "";
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private BeginTransactionRequest(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ database_ = s;
+ break;
+ }
+ case 18:
+ {
+ com.google.firestore.v1.TransactionOptions.Builder subBuilder = null;
+ if (options_ != null) {
+ subBuilder = options_.toBuilder();
+ }
+ options_ =
+ input.readMessage(
+ com.google.firestore.v1.TransactionOptions.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(options_);
+ options_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.firestore.v1.BeginTransactionRequest.class,
+ com.google.firestore.v1.BeginTransactionRequest.Builder.class);
+ }
+
+ public static final int DATABASE_FIELD_NUMBER = 1;
+ private volatile java.lang.Object database_;
+ /**
+ *
+ *
+ *
+ * The database name. In the format:
+ * `projects/{project_id}/databases/{database_id}`.
+ *
+ *
+ * string database = 1;
+ */
+ public java.lang.String getDatabase() {
+ java.lang.Object ref = database_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ database_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The database name. In the format:
+ * `projects/{project_id}/databases/{database_id}`.
+ *
+ *
+ * string database = 1;
+ */
+ public com.google.protobuf.ByteString getDatabaseBytes() {
+ java.lang.Object ref = database_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ database_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int OPTIONS_FIELD_NUMBER = 2;
+ private com.google.firestore.v1.TransactionOptions options_;
+ /**
+ *
+ *
+ *
+ * The options for the transaction.
+ * Defaults to a read-write transaction.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions options = 2;
+ */
+ public boolean hasOptions() {
+ return options_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The options for the transaction.
+ * Defaults to a read-write transaction.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions options = 2;
+ */
+ public com.google.firestore.v1.TransactionOptions getOptions() {
+ return options_ == null
+ ? com.google.firestore.v1.TransactionOptions.getDefaultInstance()
+ : options_;
+ }
+ /**
+ *
+ *
+ *
+ * The options for the transaction.
+ * Defaults to a read-write transaction.
+ *
+ *
+ * .google.firestore.v1.TransactionOptions options = 2;
+ */
+ public com.google.firestore.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() {
+ return getOptions();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!getDatabaseBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_);
+ }
+ if (options_ != null) {
+ output.writeMessage(2, getOptions());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getDatabaseBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_);
+ }
+ if (options_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.firestore.v1.BeginTransactionRequest)) {
+ return super.equals(obj);
+ }
+ com.google.firestore.v1.BeginTransactionRequest other =
+ (com.google.firestore.v1.BeginTransactionRequest) obj;
+
+ boolean result = true;
+ result = result && getDatabase().equals(other.getDatabase());
+ result = result && (hasOptions() == other.hasOptions());
+ if (hasOptions()) {
+ result = result && getOptions().equals(other.getOptions());
+ }
+ result = result && unknownFields.equals(other.unknownFields);
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + DATABASE_FIELD_NUMBER;
+ hash = (53 * hash) + getDatabase().hashCode();
+ if (hasOptions()) {
+ hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getOptions().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.firestore.v1.BeginTransactionRequest parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BeginTransactionRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BeginTransactionRequest parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BeginTransactionRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.v1.BeginTransactionRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.firestore.v1.BeginTransactionRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * The request for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
+ *
+ *
+ * Protobuf type {@code google.firestore.v1.BeginTransactionRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.firestore.v1.BeginTransactionRequest)
+ com.google.firestore.v1.BeginTransactionRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.firestore.v1.BeginTransactionRequest.class,
+ com.google.firestore.v1.BeginTransactionRequest.Builder.class);
+ }
+
+ // Construct using com.google.firestore.v1.BeginTransactionRequest.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ database_ = "";
+
+ if (optionsBuilder_ == null) {
+ options_ = null;
+ } else {
+ options_ = null;
+ optionsBuilder_ = null;
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.firestore.v1.FirestoreProto
+ .internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.BeginTransactionRequest getDefaultInstanceForType() {
+ return com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.BeginTransactionRequest build() {
+ com.google.firestore.v1.BeginTransactionRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.v1.BeginTransactionRequest buildPartial() {
+ com.google.firestore.v1.BeginTransactionRequest result =
+ new com.google.firestore.v1.BeginTransactionRequest(this);
+ result.database_ = database_;
+ if (optionsBuilder_ == null) {
+ result.options_ = options_;
+ } else {
+ result.options_ = optionsBuilder_.build();
+ }
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return (Builder) super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return (Builder) super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return (Builder) super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return (Builder) super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return (Builder) super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return (Builder) super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.firestore.v1.BeginTransactionRequest) {
+ return mergeFrom((com.google.firestore.v1.BeginTransactionRequest) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.firestore.v1.BeginTransactionRequest other) {
+ if (other == com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance())
+ return this;
+ if (!other.getDatabase().isEmpty()) {
+ database_ = other.database_;
+ onChanged();
+ }
+ if (other.hasOptions()) {
+ mergeOptions(other.getOptions());
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ com.google.firestore.v1.BeginTransactionRequest parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (com.google.firestore.v1.BeginTransactionRequest) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private java.lang.Object database_ = "";
+ /**
+ *
+ *
+ *