From 3b1f67af118b188e57a7dda77d2c265672765a6a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 2 Mar 2021 10:26:11 -0800 Subject: [PATCH] feat(generator): update protoc to v3.15.3 (#354) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/20ff8108-4bb8-44d9-b386-bf2432a15754/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: https://github.com/googleapis/googleapis/commit/f6dd7e47620566925a4b3f1ce029e74e1b2f2516 --- .../clirr-ignored-differences.xml | 9 + .../google/datastore/v1/CommitRequest.java | 33 ++++ .../datastore/v1/CommitRequestOrBuilder.java | 14 ++ .../datastore/v1/GqlQueryParameter.java | 31 +++ .../v1/GqlQueryParameterOrBuilder.java | 13 ++ .../java/com/google/datastore/v1/Key.java | 97 +++++++++ .../com/google/datastore/v1/Mutation.java | 31 +++ .../datastore/v1/MutationOrBuilder.java | 13 ++ .../com/google/datastore/v1/ReadOptions.java | 64 ++++++ .../datastore/v1/ReadOptionsOrBuilder.java | 27 +++ .../java/com/google/datastore/v1/Value.java | 184 ++++++++++++++++++ .../google/datastore/v1/ValueOrBuilder.java | 77 ++++++++ synth.metadata | 6 +- 13 files changed, 596 insertions(+), 3 deletions(-) create mode 100644 proto-google-cloud-datastore-v1/clirr-ignored-differences.xml diff --git a/proto-google-cloud-datastore-v1/clirr-ignored-differences.xml b/proto-google-cloud-datastore-v1/clirr-ignored-differences.xml new file mode 100644 index 000000000..433c9d79c --- /dev/null +++ b/proto-google-cloud-datastore-v1/clirr-ignored-differences.xml @@ -0,0 +1,9 @@ + + + + + 7012 + com/google/datastore/v1/*OrBuilder + * has*(*) + + \ No newline at end of file diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java index 2fb789343..8cb52b2d0 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java @@ -431,6 +431,23 @@ public com.google.datastore.v1.CommitRequest.Mode getMode() { } public static final int TRANSACTION_FIELD_NUMBER = 1; + /** + * + * + *
+   * The identifier of the transaction associated with the commit. A
+   * transaction identifier is returned by a call to
+   * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
+   * 
+ * + * bytes transaction = 1; + * + * @return Whether the transaction field is set. + */ + @java.lang.Override + public boolean hasTransaction() { + return transactionSelectorCase_ == 1; + } /** * * @@ -1205,6 +1222,22 @@ public Builder clearMode() { return this; } + /** + * + * + *
+     * The identifier of the transaction associated with the commit. A
+     * transaction identifier is returned by a call to
+     * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
+     * 
+ * + * bytes transaction = 1; + * + * @return Whether the transaction field is set. + */ + public boolean hasTransaction() { + return transactionSelectorCase_ == 1; + } /** * * diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java index 8f7d76845..b5f4a1bce 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java @@ -73,6 +73,20 @@ public interface CommitRequestOrBuilder */ com.google.datastore.v1.CommitRequest.Mode getMode(); + /** + * + * + *
+   * The identifier of the transaction associated with the commit. A
+   * transaction identifier is returned by a call to
+   * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
+   * 
+ * + * bytes transaction = 1; + * + * @return Whether the transaction field is set. + */ + boolean hasTransaction(); /** * * diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java index 29569cc45..a9cf4946d 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java @@ -222,6 +222,22 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { } public static final int CURSOR_FIELD_NUMBER = 3; + /** + * + * + *
+   * A query cursor. Query cursors are returned in query
+   * result batches.
+   * 
+ * + * bytes cursor = 3; + * + * @return Whether the cursor field is set. + */ + @java.lang.Override + public boolean hasCursor() { + return parameterTypeCase_ == 3; + } /** * * @@ -830,6 +846,21 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { return valueBuilder_; } + /** + * + * + *
+     * A query cursor. Query cursors are returned in query
+     * result batches.
+     * 
+ * + * bytes cursor = 3; + * + * @return Whether the cursor field is set. + */ + public boolean hasCursor() { + return parameterTypeCase_ == 3; + } /** * * diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java index 88d62712f..d519e5707 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java @@ -58,6 +58,19 @@ public interface GqlQueryParameterOrBuilder */ com.google.datastore.v1.ValueOrBuilder getValueOrBuilder(); + /** + * + * + *
+   * A query cursor. Query cursors are returned in query
+   * result batches.
+   * 
+ * + * bytes cursor = 3; + * + * @return Whether the cursor field is set. + */ + boolean hasCursor(); /** * * diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java index 1b7e16d21..3e58eb2a5 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java @@ -172,6 +172,20 @@ public interface PathElementOrBuilder */ com.google.protobuf.ByteString getKindBytes(); + /** + * + * + *
+     * The auto-allocated ID of the entity.
+     * Never equal to zero. Values less than zero are discouraged and may not
+     * be supported in the future.
+     * 
+ * + * int64 id = 2; + * + * @return Whether the id field is set. + */ + boolean hasId(); /** * * @@ -187,6 +201,21 @@ public interface PathElementOrBuilder */ long getId(); + /** + * + * + *
+     * The name of the entity.
+     * A name matching regex `__.*__` is reserved/read-only.
+     * A name must not be more than 1500 bytes when UTF-8 encoded.
+     * Cannot be `""`.
+     * 
+ * + * string name = 3; + * + * @return Whether the name field is set. + */ + boolean hasName(); /** * * @@ -431,6 +460,23 @@ public com.google.protobuf.ByteString getKindBytes() { } public static final int ID_FIELD_NUMBER = 2; + /** + * + * + *
+     * The auto-allocated ID of the entity.
+     * Never equal to zero. Values less than zero are discouraged and may not
+     * be supported in the future.
+     * 
+ * + * int64 id = 2; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return idTypeCase_ == 2; + } /** * * @@ -453,6 +499,23 @@ public long getId() { } public static final int NAME_FIELD_NUMBER = 3; + /** + * + * + *
+     * The name of the entity.
+     * A name matching regex `__.*__` is reserved/read-only.
+     * A name must not be more than 1500 bytes when UTF-8 encoded.
+     * Cannot be `""`.
+     * 
+ * + * string name = 3; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return idTypeCase_ == 3; + } /** * * @@ -1034,6 +1097,22 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+       * The auto-allocated ID of the entity.
+       * Never equal to zero. Values less than zero are discouraged and may not
+       * be supported in the future.
+       * 
+ * + * int64 id = 2; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return idTypeCase_ == 2; + } /** * * @@ -1095,6 +1174,24 @@ public Builder clearId() { return this; } + /** + * + * + *
+       * The name of the entity.
+       * A name matching regex `__.*__` is reserved/read-only.
+       * A name must not be more than 1500 bytes when UTF-8 encoded.
+       * Cannot be `""`.
+       * 
+ * + * string name = 3; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return idTypeCase_ == 3; + } /** * * diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java index 3bda64242..de2c23316 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java @@ -481,6 +481,22 @@ public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() { } public static final int BASE_VERSION_FIELD_NUMBER = 8; + /** + * + * + *
+   * The version of the entity that this mutation is being applied to. If this
+   * does not match the current version on the server, the mutation conflicts.
+   * 
+ * + * int64 base_version = 8; + * + * @return Whether the baseVersion field is set. + */ + @java.lang.Override + public boolean hasBaseVersion() { + return conflictDetectionStrategyCase_ == 8; + } /** * * @@ -1849,6 +1865,21 @@ public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() { return deleteBuilder_; } + /** + * + * + *
+     * The version of the entity that this mutation is being applied to. If this
+     * does not match the current version on the server, the mutation conflicts.
+     * 
+ * + * int64 base_version = 8; + * + * @return Whether the baseVersion field is set. + */ + public boolean hasBaseVersion() { + return conflictDetectionStrategyCase_ == 8; + } /** * * diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java index 2957934ae..b3a41be07 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java @@ -175,6 +175,19 @@ public interface MutationOrBuilder */ com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder(); + /** + * + * + *
+   * The version of the entity that this mutation is being applied to. If this
+   * does not match the current version on the server, the mutation conflicts.
+   * 
+ * + * int64 base_version = 8; + * + * @return Whether the baseVersion field is set. + */ + boolean hasBaseVersion(); /** * * diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java index 6e52f3142..8cffd1701 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java @@ -322,6 +322,21 @@ public ConsistencyTypeCase getConsistencyTypeCase() { } public static final int READ_CONSISTENCY_FIELD_NUMBER = 1; + /** + * + * + *
+   * The non-transactional read consistency to use.
+   * Cannot be set to `STRONG` for global queries.
+   * 
+ * + * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * + * @return Whether the readConsistency field is set. + */ + public boolean hasReadConsistency() { + return consistencyTypeCase_ == 1; + } /** * * @@ -366,6 +381,23 @@ public com.google.datastore.v1.ReadOptions.ReadConsistency getReadConsistency() } public static final int TRANSACTION_FIELD_NUMBER = 2; + /** + * + * + *
+   * The identifier of the transaction in which to read. A
+   * transaction identifier is returned by a call to
+   * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
+   * 
+ * + * bytes transaction = 2; + * + * @return Whether the transaction field is set. + */ + @java.lang.Override + public boolean hasTransaction() { + return consistencyTypeCase_ == 2; + } /** * * @@ -762,6 +794,22 @@ public Builder clearConsistencyType() { return this; } + /** + * + * + *
+     * The non-transactional read consistency to use.
+     * Cannot be set to `STRONG` for global queries.
+     * 
+ * + * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * + * @return Whether the readConsistency field is set. + */ + @java.lang.Override + public boolean hasReadConsistency() { + return consistencyTypeCase_ == 1; + } /** * * @@ -868,6 +916,22 @@ public Builder clearReadConsistency() { return this; } + /** + * + * + *
+     * The identifier of the transaction in which to read. A
+     * transaction identifier is returned by a call to
+     * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
+     * 
+ * + * bytes transaction = 2; + * + * @return Whether the transaction field is set. + */ + public boolean hasTransaction() { + return consistencyTypeCase_ == 2; + } /** * * diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java index 182cde5d9..f4a67b585 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java @@ -23,6 +23,19 @@ public interface ReadOptionsOrBuilder // @@protoc_insertion_point(interface_extends:google.datastore.v1.ReadOptions) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The non-transactional read consistency to use.
+   * Cannot be set to `STRONG` for global queries.
+   * 
+ * + * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * + * @return Whether the readConsistency field is set. + */ + boolean hasReadConsistency(); /** * * @@ -50,6 +63,20 @@ public interface ReadOptionsOrBuilder */ com.google.datastore.v1.ReadOptions.ReadConsistency getReadConsistency(); + /** + * + * + *
+   * The identifier of the transaction in which to read. A
+   * transaction identifier is returned by a call to
+   * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
+   * 
+ * + * bytes transaction = 2; + * + * @return Whether the transaction field is set. + */ + boolean hasTransaction(); /** * * diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java index 60f6c33fa..72a17f6bd 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java @@ -298,6 +298,20 @@ public ValueTypeCase getValueTypeCase() { } public static final int NULL_VALUE_FIELD_NUMBER = 11; + /** + * + * + *
+   * A null value.
+   * 
+ * + * .google.protobuf.NullValue null_value = 11; + * + * @return Whether the nullValue field is set. + */ + public boolean hasNullValue() { + return valueTypeCase_ == 11; + } /** * * @@ -337,6 +351,21 @@ public com.google.protobuf.NullValue getNullValue() { } public static final int BOOLEAN_VALUE_FIELD_NUMBER = 1; + /** + * + * + *
+   * A boolean value.
+   * 
+ * + * bool boolean_value = 1; + * + * @return Whether the booleanValue field is set. + */ + @java.lang.Override + public boolean hasBooleanValue() { + return valueTypeCase_ == 1; + } /** * * @@ -357,6 +386,21 @@ public boolean getBooleanValue() { } public static final int INTEGER_VALUE_FIELD_NUMBER = 2; + /** + * + * + *
+   * An integer value.
+   * 
+ * + * int64 integer_value = 2; + * + * @return Whether the integerValue field is set. + */ + @java.lang.Override + public boolean hasIntegerValue() { + return valueTypeCase_ == 2; + } /** * * @@ -377,6 +421,21 @@ public long getIntegerValue() { } public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; + /** + * + * + *
+   * A double value.
+   * 
+ * + * double double_value = 3; + * + * @return Whether the doubleValue field is set. + */ + @java.lang.Override + public boolean hasDoubleValue() { + return valueTypeCase_ == 3; + } /** * * @@ -505,6 +564,22 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() { } public static final int STRING_VALUE_FIELD_NUMBER = 17; + /** + * + * + *
+   * A UTF-8 encoded string value.
+   * When `exclude_from_indexes` is false (it is indexed), may have at most
+   * 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
+   * 
+ * + * string string_value = 17; + * + * @return Whether the stringValue field is set. + */ + public boolean hasStringValue() { + return valueTypeCase_ == 17; + } /** * * @@ -565,6 +640,24 @@ public com.google.protobuf.ByteString getStringValueBytes() { } public static final int BLOB_VALUE_FIELD_NUMBER = 18; + /** + * + * + *
+   * A blob value.
+   * May have at most 1,000,000 bytes.
+   * When `exclude_from_indexes` is false, may have at most 1500 bytes.
+   * In JSON requests, must be base64-encoded.
+   * 
+ * + * bytes blob_value = 18; + * + * @return Whether the blobValue field is set. + */ + @java.lang.Override + public boolean hasBlobValue() { + return valueTypeCase_ == 18; + } /** * * @@ -1431,6 +1524,21 @@ public Builder clearValueType() { return this; } + /** + * + * + *
+     * A null value.
+     * 
+ * + * .google.protobuf.NullValue null_value = 11; + * + * @return Whether the nullValue field is set. + */ + @java.lang.Override + public boolean hasNullValue() { + return valueTypeCase_ == 11; + } /** * * @@ -1529,6 +1637,20 @@ public Builder clearNullValue() { return this; } + /** + * + * + *
+     * A boolean value.
+     * 
+ * + * bool boolean_value = 1; + * + * @return Whether the booleanValue field is set. + */ + public boolean hasBooleanValue() { + return valueTypeCase_ == 1; + } /** * * @@ -1584,6 +1706,20 @@ public Builder clearBooleanValue() { return this; } + /** + * + * + *
+     * An integer value.
+     * 
+ * + * int64 integer_value = 2; + * + * @return Whether the integerValue field is set. + */ + public boolean hasIntegerValue() { + return valueTypeCase_ == 2; + } /** * * @@ -1639,6 +1775,20 @@ public Builder clearIntegerValue() { return this; } + /** + * + * + *
+     * A double value.
+     * 
+ * + * double double_value = 3; + * + * @return Whether the doubleValue field is set. + */ + public boolean hasDoubleValue() { + return valueTypeCase_ == 3; + } /** * * @@ -2121,6 +2271,23 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() { return keyValueBuilder_; } + /** + * + * + *
+     * A UTF-8 encoded string value.
+     * When `exclude_from_indexes` is false (it is indexed), may have at most
+     * 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
+     * 
+ * + * string string_value = 17; + * + * @return Whether the stringValue field is set. + */ + @java.lang.Override + public boolean hasStringValue() { + return valueTypeCase_ == 17; + } /** * * @@ -2250,6 +2417,23 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * A blob value.
+     * May have at most 1,000,000 bytes.
+     * When `exclude_from_indexes` is false, may have at most 1500 bytes.
+     * In JSON requests, must be base64-encoded.
+     * 
+ * + * bytes blob_value = 18; + * + * @return Whether the blobValue field is set. + */ + public boolean hasBlobValue() { + return valueTypeCase_ == 18; + } /** * * diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java index f7e039308..b965e9596 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java @@ -23,6 +23,18 @@ public interface ValueOrBuilder // @@protoc_insertion_point(interface_extends:google.datastore.v1.Value) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * A null value.
+   * 
+ * + * .google.protobuf.NullValue null_value = 11; + * + * @return Whether the nullValue field is set. + */ + boolean hasNullValue(); /** * * @@ -48,6 +60,18 @@ public interface ValueOrBuilder */ com.google.protobuf.NullValue getNullValue(); + /** + * + * + *
+   * A boolean value.
+   * 
+ * + * bool boolean_value = 1; + * + * @return Whether the booleanValue field is set. + */ + boolean hasBooleanValue(); /** * * @@ -61,6 +85,18 @@ public interface ValueOrBuilder */ boolean getBooleanValue(); + /** + * + * + *
+   * An integer value.
+   * 
+ * + * int64 integer_value = 2; + * + * @return Whether the integerValue field is set. + */ + boolean hasIntegerValue(); /** * * @@ -74,6 +110,18 @@ public interface ValueOrBuilder */ long getIntegerValue(); + /** + * + * + *
+   * A double value.
+   * 
+ * + * double double_value = 3; + * + * @return Whether the doubleValue field is set. + */ + boolean hasDoubleValue(); /** * * @@ -163,6 +211,20 @@ public interface ValueOrBuilder */ com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder(); + /** + * + * + *
+   * A UTF-8 encoded string value.
+   * When `exclude_from_indexes` is false (it is indexed), may have at most
+   * 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
+   * 
+ * + * string string_value = 17; + * + * @return Whether the stringValue field is set. + */ + boolean hasStringValue(); /** * * @@ -192,6 +254,21 @@ public interface ValueOrBuilder */ com.google.protobuf.ByteString getStringValueBytes(); + /** + * + * + *
+   * A blob value.
+   * May have at most 1,000,000 bytes.
+   * When `exclude_from_indexes` is false, may have at most 1500 bytes.
+   * In JSON requests, must be base64-encoded.
+   * 
+ * + * bytes blob_value = 18; + * + * @return Whether the blobValue field is set. + */ + boolean hasBlobValue(); /** * * diff --git a/synth.metadata b/synth.metadata index 19e49ab48..72e95af0b 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-datastore.git", - "sha": "9ee440c280e00f56c089a67bcbaa601ea83fc74a" + "sha": "4a7cb74d39ec1895e758a248ee111ddc7af63515" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "99ae9a76dbecb2aab008d5403e25413f5da0f436", - "internalRef": "320455075" + "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516", + "internalRef": "359781040" } }, {