Skip to content

Commit edab2fb

Browse files
chore: regenerate proto files (#121)
Update comments on protos to clarify size limits on values. * Integrate Python GAPIC Microgenerator in googleapis. This PR uses using documentai as an example. Depends on googleapis/gapic-generator-python#402 PiperOrigin-RevId: 309824146 Source-Author: Google APIs <noreply@google.com> Source-Date: Mon May 4 15:06:44 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: e0f9d9e1f9de890db765be46f45ca8490723e3eb Source-Link: googleapis/googleapis@e0f9d9e * fix(python): use python installed by pyenv for bazel (#520) Source-Author: Jeff Ching <chingor@google.com> Source-Date: Mon May 4 15:52:28 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: a2c1c4f89a5e220e7b39420ebea33623c7c72804 Source-Link: googleapis/synthtool@a2c1c4f * Fix documentation for string_value. The value does not have to be at least 1MB, but rather, at most 1MB. PiperOrigin-RevId: 309845930 Source-Author: Google APIs <noreply@google.com> Source-Date: Mon May 4 16:55:46 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 1b5a8d2bbb69c5a04db26bd546d2888e609c6bab Source-Link: googleapis/googleapis@1b5a8d2 * fix: make args optional (#521) Source-Author: Summer Ji <summerji@google.com> Source-Date: Tue May 5 09:52:17 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: ea3ae392fced25d7d6f5c7ef9c8a1f24768a0936 Source-Link: googleapis/synthtool@ea3ae39 * fix: make .kokoro-autosynth executable (#522) to fix googleapis/synthtool#519 Source-Author: Jeffrey Rennie <rennie@google.com> Source-Date: Tue May 5 10:12:11 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: ab883569eb0257bbf16a6d825fd018b3adde3912 Source-Link: googleapis/synthtool@ab88356 * fix: add resource reference to proto files chore: update copyright and comments PiperOrigin-RevId: 309990843 Source-Author: Google APIs <noreply@google.com> Source-Date: Tue May 5 11:51:12 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 4bef0001ac7040431ea24b6187424fdec9c08b1b Source-Link: googleapis/googleapis@4bef000
1 parent b484256 commit edab2fb

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -501,8 +501,8 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() {
501501
*
502502
* <pre>
503503
* A UTF-8 encoded string value.
504-
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
505-
* Otherwise, may be set to at least 1,000,000 bytes.
504+
* When `exclude_from_indexes` is false (it is indexed), may have at most
505+
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
506506
* </pre>
507507
*
508508
* <code>string string_value = 17;</code>
@@ -530,8 +530,8 @@ public java.lang.String getStringValue() {
530530
*
531531
* <pre>
532532
* A UTF-8 encoded string value.
533-
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
534-
* Otherwise, may be set to at least 1,000,000 bytes.
533+
* When `exclude_from_indexes` is false (it is indexed), may have at most
534+
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
535535
* </pre>
536536
*
537537
* <code>string string_value = 17;</code>
@@ -2097,8 +2097,8 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() {
20972097
*
20982098
* <pre>
20992099
* A UTF-8 encoded string value.
2100-
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
2101-
* Otherwise, may be set to at least 1,000,000 bytes.
2100+
* When `exclude_from_indexes` is false (it is indexed), may have at most
2101+
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
21022102
* </pre>
21032103
*
21042104
* <code>string string_value = 17;</code>
@@ -2126,8 +2126,8 @@ public java.lang.String getStringValue() {
21262126
*
21272127
* <pre>
21282128
* A UTF-8 encoded string value.
2129-
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
2130-
* Otherwise, may be set to at least 1,000,000 bytes.
2129+
* When `exclude_from_indexes` is false (it is indexed), may have at most
2130+
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
21312131
* </pre>
21322132
*
21332133
* <code>string string_value = 17;</code>
@@ -2155,8 +2155,8 @@ public com.google.protobuf.ByteString getStringValueBytes() {
21552155
*
21562156
* <pre>
21572157
* A UTF-8 encoded string value.
2158-
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
2159-
* Otherwise, may be set to at least 1,000,000 bytes.
2158+
* When `exclude_from_indexes` is false (it is indexed), may have at most
2159+
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
21602160
* </pre>
21612161
*
21622162
* <code>string string_value = 17;</code>
@@ -2178,8 +2178,8 @@ public Builder setStringValue(java.lang.String value) {
21782178
*
21792179
* <pre>
21802180
* A UTF-8 encoded string value.
2181-
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
2182-
* Otherwise, may be set to at least 1,000,000 bytes.
2181+
* When `exclude_from_indexes` is false (it is indexed), may have at most
2182+
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
21832183
* </pre>
21842184
*
21852185
* <code>string string_value = 17;</code>
@@ -2199,8 +2199,8 @@ public Builder clearStringValue() {
21992199
*
22002200
* <pre>
22012201
* A UTF-8 encoded string value.
2202-
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
2203-
* Otherwise, may be set to at least 1,000,000 bytes.
2202+
* When `exclude_from_indexes` is false (it is indexed), may have at most
2203+
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
22042204
* </pre>
22052205
*
22062206
* <code>string string_value = 17;</code>

proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ public interface ValueOrBuilder
168168
*
169169
* <pre>
170170
* A UTF-8 encoded string value.
171-
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
172-
* Otherwise, may be set to at least 1,000,000 bytes.
171+
* When `exclude_from_indexes` is false (it is indexed), may have at most
172+
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
173173
* </pre>
174174
*
175175
* <code>string string_value = 17;</code>
@@ -182,8 +182,8 @@ public interface ValueOrBuilder
182182
*
183183
* <pre>
184184
* A UTF-8 encoded string value.
185-
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
186-
* Otherwise, may be set to at least 1,000,000 bytes.
185+
* When `exclude_from_indexes` is false (it is indexed), may have at most
186+
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
187187
* </pre>
188188
*
189189
* <code>string string_value = 17;</code>

proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ message Value {
145145
Key key_value = 5;
146146

147147
// A UTF-8 encoded string value.
148-
// When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
149-
// Otherwise, may be set to at least 1,000,000 bytes.
148+
// When `exclude_from_indexes` is false (it is indexed), may have at most
149+
// 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
150150
string string_value = 17;
151151

152152
// A blob value.

synth.metadata

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-datastore.git",
7-
"sha": "592d4b21f2637ed2f6b60a984ec215239ad2f923"
7+
"sha": "b484256c30ac9117eb82688c801966b6ace856df"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "d741cd976975c745d0199987aff0e908b8352992",
15-
"internalRef": "305561906"
14+
"sha": "4bef0001ac7040431ea24b6187424fdec9c08b1b",
15+
"internalRef": "309990843"
1616
}
1717
},
1818
{
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "52638600f387deb98efb5f9c85fec39e82aa9052"
22+
"sha": "ab883569eb0257bbf16a6d825fd018b3adde3912"
2323
}
2424
}
2525
],

0 commit comments

Comments
 (0)