Skip to content

Commit

Permalink
chore: regenerate proto files (#121)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yoshi-automation committed May 6, 2020
1 parent b484256 commit edab2fb
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
Expand Up @@ -501,8 +501,8 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() {
*
* <pre>
* A UTF-8 encoded string value.
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
* Otherwise, may be set to at least 1,000,000 bytes.
* When `exclude_from_indexes` is false (it is indexed), may have at most
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
* </pre>
*
* <code>string string_value = 17;</code>
Expand Down Expand Up @@ -530,8 +530,8 @@ public java.lang.String getStringValue() {
*
* <pre>
* A UTF-8 encoded string value.
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
* Otherwise, may be set to at least 1,000,000 bytes.
* When `exclude_from_indexes` is false (it is indexed), may have at most
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
* </pre>
*
* <code>string string_value = 17;</code>
Expand Down Expand Up @@ -2097,8 +2097,8 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() {
*
* <pre>
* A UTF-8 encoded string value.
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
* Otherwise, may be set to at least 1,000,000 bytes.
* When `exclude_from_indexes` is false (it is indexed), may have at most
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
* </pre>
*
* <code>string string_value = 17;</code>
Expand Down Expand Up @@ -2126,8 +2126,8 @@ public java.lang.String getStringValue() {
*
* <pre>
* A UTF-8 encoded string value.
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
* Otherwise, may be set to at least 1,000,000 bytes.
* When `exclude_from_indexes` is false (it is indexed), may have at most
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
* </pre>
*
* <code>string string_value = 17;</code>
Expand Down Expand Up @@ -2155,8 +2155,8 @@ public com.google.protobuf.ByteString getStringValueBytes() {
*
* <pre>
* A UTF-8 encoded string value.
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
* Otherwise, may be set to at least 1,000,000 bytes.
* When `exclude_from_indexes` is false (it is indexed), may have at most
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
* </pre>
*
* <code>string string_value = 17;</code>
Expand All @@ -2178,8 +2178,8 @@ public Builder setStringValue(java.lang.String value) {
*
* <pre>
* A UTF-8 encoded string value.
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
* Otherwise, may be set to at least 1,000,000 bytes.
* When `exclude_from_indexes` is false (it is indexed), may have at most
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
* </pre>
*
* <code>string string_value = 17;</code>
Expand All @@ -2199,8 +2199,8 @@ public Builder clearStringValue() {
*
* <pre>
* A UTF-8 encoded string value.
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
* Otherwise, may be set to at least 1,000,000 bytes.
* When `exclude_from_indexes` is false (it is indexed), may have at most
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
* </pre>
*
* <code>string string_value = 17;</code>
Expand Down
Expand Up @@ -168,8 +168,8 @@ public interface ValueOrBuilder
*
* <pre>
* A UTF-8 encoded string value.
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
* Otherwise, may be set to at least 1,000,000 bytes.
* When `exclude_from_indexes` is false (it is indexed), may have at most
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
* </pre>
*
* <code>string string_value = 17;</code>
Expand All @@ -182,8 +182,8 @@ public interface ValueOrBuilder
*
* <pre>
* A UTF-8 encoded string value.
* When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
* Otherwise, may be set to at least 1,000,000 bytes.
* When `exclude_from_indexes` is false (it is indexed), may have at most
* 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
* </pre>
*
* <code>string string_value = 17;</code>
Expand Down
Expand Up @@ -145,8 +145,8 @@ message Value {
Key key_value = 5;

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

// A blob value.
Expand Down
8 changes: 4 additions & 4 deletions synth.metadata
Expand Up @@ -4,22 +4,22 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-datastore.git",
"sha": "592d4b21f2637ed2f6b60a984ec215239ad2f923"
"sha": "b484256c30ac9117eb82688c801966b6ace856df"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "d741cd976975c745d0199987aff0e908b8352992",
"internalRef": "305561906"
"sha": "4bef0001ac7040431ea24b6187424fdec9c08b1b",
"internalRef": "309990843"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "52638600f387deb98efb5f9c85fec39e82aa9052"
"sha": "ab883569eb0257bbf16a6d825fd018b3adde3912"
}
}
],
Expand Down

0 comments on commit edab2fb

Please sign in to comment.