GeezerVison is showing github.com — feat: use ClientOptions gaxServerStreamingRetries value (#1571) · googleapis/google-cloud-node@d2fb5bb
File treeExpand file treeCollapse file tree Open diff view settings core/generator/gapic-generator-typescript bigquery-storage-esm/esm/src/v1beta1 bigquery-storage/src/v1beta1 disable-packing-test-esm/esm/src/v1beta1 disable-packing-test/src/v1beta1 showcase-esm/esm/src/v1beta1 showcase-legacy-esm/esm/src/v1beta1 showcase-legacy/src/v1beta1
cjs/typescript_gapic/src/$version esm/typescript_gapic/esm/src/$version
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: core/generator/gapic-generator-typescript/baselines/bigquery-storage-esm/esm/src/v1beta1/big_query_storage_client.ts.baseline +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -207,7 +207,7 @@ export class BigQueryStorageClient { | 207 | 207 | // Some of the methods on this service provide streaming responses. | 208 | 208 | // Provide descriptors for these. | 209 | 209 | this.descriptors.stream = { | 210 | | - readRows: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false) | | 210 | + readRows: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries) | 211 | 211 | }; | 212 | 212 |
| 213 | 213 | // Put together the default options sent with requests. | |
Collapse file Copy file name to clipboardExpand all lines: core/generator/gapic-generator-typescript/baselines/bigquery-storage/src/v1beta1/big_query_storage_client.ts.baseline +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -184,7 +184,7 @@ export class BigQueryStorageClient { | 184 | 184 | // Some of the methods on this service provide streaming responses. | 185 | 185 | // Provide descriptors for these. | 186 | 186 | this.descriptors.stream = { | 187 | | - readRows: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false) | | 187 | + readRows: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries) | 188 | 188 | }; | 189 | 189 |
| 190 | 190 | // Put together the default options sent with requests. | |
Collapse file Copy file name to clipboardExpand all lines: core/generator/gapic-generator-typescript/baselines/disable-packing-test-esm/esm/src/v1beta1/echo_client.ts.baseline +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -247,9 +247,9 @@ export class EchoClient { | 247 | 247 | // Some of the methods on this service provide streaming responses. | 248 | 248 | // Provide descriptors for these. | 249 | 249 | this.descriptors.stream = { | 250 | | - expand: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false), | 251 | | - collect: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.CLIENT_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false), | 252 | | - chat: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false) | | 250 | + expand: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries), | | 251 | + collect: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.CLIENT_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries), | | 252 | + chat: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries) | 253 | 253 | }; | 254 | 254 |
| 255 | 255 | const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos as gax.protobuf.INamespace); | |
Collapse file Copy file name to clipboardExpand all lines: core/generator/gapic-generator-typescript/baselines/disable-packing-test-esm/esm/src/v1beta1/messaging_client.ts.baseline +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -246,9 +246,9 @@ export class MessagingClient { | 246 | 246 | // Some of the methods on this service provide streaming responses. | 247 | 247 | // Provide descriptors for these. | 248 | 248 | this.descriptors.stream = { | 249 | | - streamBlurbs: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false), | 250 | | - sendBlurbs: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.CLIENT_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false), | 251 | | - connect: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false) | | 249 | + streamBlurbs: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries), | | 250 | + sendBlurbs: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.CLIENT_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries), | | 251 | + connect: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries) | 252 | 252 | }; | 253 | 253 |
| 254 | 254 | const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos as gax.protobuf.INamespace); | |
Collapse file Copy file name to clipboardExpand all lines: core/generator/gapic-generator-typescript/baselines/disable-packing-test/src/v1beta1/echo_client.ts.baseline +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -224,9 +224,9 @@ export class EchoClient { | 224 | 224 | // Some of the methods on this service provide streaming responses. | 225 | 225 | // Provide descriptors for these. | 226 | 226 | this.descriptors.stream = { | 227 | | - expand: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false), | 228 | | - collect: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.CLIENT_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false), | 229 | | - chat: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false) | | 227 | + expand: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries), | | 228 | + collect: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.CLIENT_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries), | | 229 | + chat: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries) | 230 | 230 | }; | 231 | 231 |
| 232 | 232 | const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos); | |
Collapse file Copy file name to clipboardExpand all lines: core/generator/gapic-generator-typescript/baselines/disable-packing-test/src/v1beta1/messaging_client.ts.baseline +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -223,9 +223,9 @@ export class MessagingClient { | 223 | 223 | // Some of the methods on this service provide streaming responses. | 224 | 224 | // Provide descriptors for these. | 225 | 225 | this.descriptors.stream = { | 226 | | - streamBlurbs: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false), | 227 | | - sendBlurbs: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.CLIENT_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false), | 228 | | - connect: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false) | | 226 | + streamBlurbs: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries), | | 227 | + sendBlurbs: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.CLIENT_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries), | | 228 | + connect: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries) | 229 | 229 | }; | 230 | 230 |
| 231 | 231 | const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos); | |
Collapse file Copy file name to clipboardExpand all lines: core/generator/gapic-generator-typescript/baselines/logging-esm/esm/src/v2/logging_service_v2_client.ts.baseline +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -301,7 +301,7 @@ export class LoggingServiceV2Client { | 301 | 301 | // Some of the methods on this service provide streaming responses. | 302 | 302 | // Provide descriptors for these. | 303 | 303 | this.descriptors.stream = { | 304 | | - tailLogEntries: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false) | | 304 | + tailLogEntries: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries) | 305 | 305 | }; | 306 | 306 |
| 307 | 307 | const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos as gax.protobuf.INamespace); | |
Collapse file Copy file name to clipboardExpand all lines: core/generator/gapic-generator-typescript/baselines/logging/src/v2/logging_service_v2_client.ts.baseline +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -278,7 +278,7 @@ export class LoggingServiceV2Client { | 278 | 278 | // Some of the methods on this service provide streaming responses. | 279 | 279 | // Provide descriptors for these. | 280 | 280 | this.descriptors.stream = { | 281 | | - tailLogEntries: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false) | | 281 | + tailLogEntries: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries) | 282 | 282 | }; | 283 | 283 |
| 284 | 284 | const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos); | |
Collapse file Copy file name to clipboardExpand all lines: core/generator/gapic-generator-typescript/baselines/showcase-esm/esm/src/v1beta1/echo_client.ts.baseline +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -250,9 +250,9 @@ export class EchoClient { | 250 | 250 | // Some of the methods on this service provide streaming responses. | 251 | 251 | // Provide descriptors for these. | 252 | 252 | this.descriptors.stream = { | 253 | | - expand: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false), | 254 | | - collect: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.CLIENT_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false), | 255 | | - chat: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false) | | 253 | + expand: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries), | | 254 | + collect: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.CLIENT_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries), | | 255 | + chat: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries) | 256 | 256 | }; | 257 | 257 |
| 258 | 258 | const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos as gax.protobuf.INamespace); | |
Collapse file Copy file name to clipboardExpand all lines: core/generator/gapic-generator-typescript/baselines/showcase-esm/esm/src/v1beta1/messaging_client.ts.baseline +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -249,9 +249,9 @@ export class MessagingClient { | 249 | 249 | // Some of the methods on this service provide streaming responses. | 250 | 250 | // Provide descriptors for these. | 251 | 251 | this.descriptors.stream = { | 252 | | - streamBlurbs: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false), | 253 | | - sendBlurbs: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.CLIENT_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false), | 254 | | - connect: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, /* gaxStreamingRetries: */ false) | | 252 | + streamBlurbs: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.SERVER_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries), | | 253 | + sendBlurbs: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.CLIENT_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries), | | 254 | + connect: new this._gaxModule.StreamDescriptor(this._gaxModule.StreamType.BIDI_STREAMING, !!opts.fallback, !!opts.gaxServerStreamingRetries) | 255 | 255 | }; | 256 | 256 |
| 257 | 257 | const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON(jsonProtos as gax.protobuf.INamespace); | |
|