-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add locations metadata proto file #5565
Merged
danielbankhead
merged 2 commits into
main
from
owl-bot-copy-packages-google-cloud-speech
Jul 22, 2024
Merged
feat: add locations metadata proto file #5565
danielbankhead
merged 2 commits into
main
from
owl-bot-copy-packages-google-cloud-speech
Jul 22, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docs: update the list of automatically detected encodings docs: update the maximum number of files that may be included in a BatchRecognizeRequest PiperOrigin-RevId: 653986958 Source-Link: googleapis/googleapis@58cd55f Source-Link: googleapis/googleapis-gen@7d99f9c Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNwZWVjaC8uT3dsQm90LnlhbWwiLCJoIjoiN2Q5OWY5YzFkMWViMTEzZjU5YzAwZDUyZDc0YjJjZTA2YzE4ZWMyYiJ9
/gcbrun |
/gcbrun |
danielbankhead
approved these changes
Jul 22, 2024
Merged
7 tasks
orgads
added a commit
to orgads/gapic-generator-typescript
that referenced
this pull request
Aug 25, 2024
Example: * Execute streamingRecognize * When done, close the client * Execute streamingRecognize again, with data already in the stream * Unhandled exception occurs. TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Object at _write (node:internal/streams/writable:474:13) at Writable.write (node:internal/streams/writable:502:10) at Duplexify._write (/project/node_modules/duplexify/index.js:212:22) at doWrite (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:390:139) at writeOrBuffer (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:381:5) at Writable.write (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:302:11) at Pumpify.<anonymous> (/project/node_modules/@google-cloud/speech/build/src/helpers.js:79:27) at Object.onceWrapper (node:events:633:26) at Pumpify.emit (node:events:518:28) at obj.<computed> [as _write] (/project/node_modules/stubs/index.js:28:22) at doWrite (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:390:139) at writeOrBuffer (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:381:5) at Writable.write (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:302:11) at PassThrough.ondata (node:internal/streams/readable:1007:22) at PassThrough.emit (node:events:518:28) at addChunk (node:internal/streams/readable:559:12) { code: 'ERR_INVALID_ARG_TYPE' Reproduction: https://gist.github.com/orgads/13cbf44c91923da27d8772b5f10489c9 This happens because streamingRecognize writes streamingConfig on first chunk. Usually the stream is open in object mode, so it works, but when the client is terminated, PassThrough is used without object mode. Change PassThrough to object mode, so it terminates gracefully. This was reported in [1] and fixed in [2], but was then reverted in [3] which re-generated the code. Fix properly in the generator now. [1] googleapis/google-cloud-node#5464 [2] googleapis/google-cloud-node#5465 [3] googleapis/google-cloud-node#5565
orgads
added a commit
to orgads/gapic-generator-typescript
that referenced
this pull request
Aug 25, 2024
Example: * Execute streamingRecognize * When done, close the client * Execute streamingRecognize again, with data already in the stream * Unhandled exception occurs. TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Object at _write (node:internal/streams/writable:474:13) at Writable.write (node:internal/streams/writable:502:10) at Duplexify._write (/project/node_modules/duplexify/index.js:212:22) at doWrite (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:390:139) at writeOrBuffer (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:381:5) at Writable.write (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:302:11) at Pumpify.<anonymous> (/project/node_modules/@google-cloud/speech/build/src/helpers.js:79:27) at Object.onceWrapper (node:events:633:26) at Pumpify.emit (node:events:518:28) at obj.<computed> [as _write] (/project/node_modules/stubs/index.js:28:22) at doWrite (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:390:139) at writeOrBuffer (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:381:5) at Writable.write (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:302:11) at PassThrough.ondata (node:internal/streams/readable:1007:22) at PassThrough.emit (node:events:518:28) at addChunk (node:internal/streams/readable:559:12) { code: 'ERR_INVALID_ARG_TYPE' Reproduction: https://gist.github.com/orgads/13cbf44c91923da27d8772b5f10489c9 This happens because streamingRecognize writes streamingConfig on first chunk. Usually the stream is open in object mode, so it works, but when the client is terminated, PassThrough is used without object mode. Change PassThrough to object mode, so it terminates gracefully. This was reported in [1] and fixed in [2], but was then reverted in [3] which re-generated the code. Fix properly in the generator now. [1] googleapis/google-cloud-node#5464 [2] googleapis/google-cloud-node#5465 [3] googleapis/google-cloud-node#5565
sofisl
added a commit
to googleapis/gapic-generator-typescript
that referenced
this pull request
Aug 30, 2024
Example: * Execute streamingRecognize * When done, close the client * Execute streamingRecognize again, with data already in the stream * Unhandled exception occurs. TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Object at _write (node:internal/streams/writable:474:13) at Writable.write (node:internal/streams/writable:502:10) at Duplexify._write (/project/node_modules/duplexify/index.js:212:22) at doWrite (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:390:139) at writeOrBuffer (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:381:5) at Writable.write (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:302:11) at Pumpify.<anonymous> (/project/node_modules/@google-cloud/speech/build/src/helpers.js:79:27) at Object.onceWrapper (node:events:633:26) at Pumpify.emit (node:events:518:28) at obj.<computed> [as _write] (/project/node_modules/stubs/index.js:28:22) at doWrite (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:390:139) at writeOrBuffer (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:381:5) at Writable.write (/project/node_modules/duplexify/node_modules/readable-stream/lib/_stream_writable.js:302:11) at PassThrough.ondata (node:internal/streams/readable:1007:22) at PassThrough.emit (node:events:518:28) at addChunk (node:internal/streams/readable:559:12) { code: 'ERR_INVALID_ARG_TYPE' Reproduction: https://gist.github.com/orgads/13cbf44c91923da27d8772b5f10489c9 This happens because streamingRecognize writes streamingConfig on first chunk. Usually the stream is open in object mode, so it works, but when the client is terminated, PassThrough is used without object mode. Change PassThrough to object mode, so it terminates gracefully. This was reported in [1] and fixed in [2], but was then reverted in [3] which re-generated the code. Fix properly in the generator now. [1] googleapis/google-cloud-node#5464 [2] googleapis/google-cloud-node#5465 [3] googleapis/google-cloud-node#5565 Co-authored-by: sofisl <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
docs: update the list of automatically detected encodings
docs: update the maximum number of files that may be included in a BatchRecognizeRequest
PiperOrigin-RevId: 653986958
Source-Link: googleapis/googleapis@58cd55f
Source-Link: https://github.com/googleapis/googleapis-gen/commit/7d99f9c1d1eb113f59c00d52d74b2ce06c18ec2b
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNwZWVjaC8uT3dsQm90LnlhbWwiLCJoIjoiN2Q5OWY5YzFkMWViMTEzZjU5YzAwZDUyZDc0YjJjZTA2YzE4ZWMyYiJ9