@google-cloud/bigquery-storage-api 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/protos/google/cloud/bigquery/storage/v1/arrow.proto +1 -1
- package/build/protos/google/cloud/bigquery/storage/v1/avro.proto +1 -1
- package/build/protos/google/cloud/bigquery/storage/v1/protobuf.proto +1 -1
- package/build/protos/google/cloud/bigquery/storage/v1/storage.proto +89 -2
- package/build/protos/google/cloud/bigquery/storage/v1/stream.proto +1 -1
- package/build/protos/google/cloud/bigquery/storage/v1/table.proto +1 -1
- package/build/protos/protos.d.ts +857 -1
- package/build/protos/protos.js +1 -1
- package/build/protos/protos.json +1 -1
- package/build/src/index.js.map +1 -1
- package/build/src/v1/big_query_read_client.d.ts +4 -0
- package/build/src/v1/big_query_read_client.js +4 -0
- package/build/src/v1/big_query_read_client.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -279,6 +279,18 @@ message ReadRowsRequest {
|
|
|
279
279
|
// Requesting a larger offset is undefined. If not specified, start reading
|
|
280
280
|
// from offset zero.
|
|
281
281
|
int64 offset = 2;
|
|
282
|
+
|
|
283
|
+
// Specifies output serialization options. Only job _default streams are
|
|
284
|
+
// supported.
|
|
285
|
+
//
|
|
286
|
+
// This feature is not yet available.
|
|
287
|
+
oneof output_format_serialization_options {
|
|
288
|
+
// Optional. Options specific to the Apache Arrow output format.
|
|
289
|
+
//
|
|
290
|
+
// This feature is not yet available.
|
|
291
|
+
ArrowSerializationOptions arrow_serialization_options = 5
|
|
292
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
293
|
+
}
|
|
282
294
|
}
|
|
283
295
|
|
|
284
296
|
// Information on if the current connection is being throttled.
|
|
@@ -365,6 +377,13 @@ message ReadRowsResponse {
|
|
|
365
377
|
// greater than 0, the client should skip decompression.
|
|
366
378
|
optional int64 uncompressed_byte_size = 9
|
|
367
379
|
[(google.api.field_behavior) = OPTIONAL];
|
|
380
|
+
|
|
381
|
+
// Output only. The total estimated number of rows in the query results.
|
|
382
|
+
// Only populated when reading data from a BigQuery job.
|
|
383
|
+
//
|
|
384
|
+
// This feature is not yet available.
|
|
385
|
+
optional int64 total_estimated_row_count = 10
|
|
386
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
|
368
387
|
}
|
|
369
388
|
|
|
370
389
|
// Request message for `SplitReadStream`.
|
|
@@ -419,7 +438,7 @@ message CreateWriteStreamRequest {
|
|
|
419
438
|
// switching table destinations. You can also switch table destinations within
|
|
420
439
|
// the same connection for the default stream.
|
|
421
440
|
//
|
|
422
|
-
// The size of a single AppendRowsRequest must be less than
|
|
441
|
+
// The size of a single AppendRowsRequest must be less than 20 MB in size.
|
|
423
442
|
// Requests larger than this return an error, typically `INVALID_ARGUMENT`.
|
|
424
443
|
message AppendRowsRequest {
|
|
425
444
|
// Arrow schema and data.
|
|
@@ -559,6 +578,9 @@ message AppendRowsRequest {
|
|
|
559
578
|
// time, set `missing_value_interpretations` to `NULL_VALUE` on those columns.
|
|
560
579
|
MissingValueInterpretation default_missing_value_interpretation = 8
|
|
561
580
|
[(google.api.field_behavior) = OPTIONAL];
|
|
581
|
+
|
|
582
|
+
// Optional. Stats and telemetry data gathered on the client side.
|
|
583
|
+
ClientStats client_stats = 9 [(google.api.field_behavior) = OPTIONAL];
|
|
562
584
|
}
|
|
563
585
|
|
|
564
586
|
// Response message for `AppendRows`.
|
|
@@ -784,3 +806,68 @@ message RowError {
|
|
|
784
806
|
// Description of the issue encountered when processing the row.
|
|
785
807
|
string message = 3;
|
|
786
808
|
}
|
|
809
|
+
|
|
810
|
+
// Stats and telemetry data gathered on the client side about requests
|
|
811
|
+
// being sent to the BigQuery Storage service, for internal use only.
|
|
812
|
+
message ClientStats {
|
|
813
|
+
// Stats and telemetry data gathered on the client side about a single
|
|
814
|
+
// request.
|
|
815
|
+
message RequestStats {
|
|
816
|
+
// Optional. Timestamp indicating when the request was sent over the
|
|
817
|
+
// network, expressed in epoch milliseconds.
|
|
818
|
+
optional int64 send_time_millis = 1
|
|
819
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
820
|
+
|
|
821
|
+
// Optional. Number of pending requests at the moment this request was sent.
|
|
822
|
+
// This includes requests waiting to be sent, and those that are inflight.
|
|
823
|
+
optional int64 queued_requests_count = 2
|
|
824
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
// Aggregate connection metrics over a window interval.
|
|
828
|
+
message WindowStats {
|
|
829
|
+
// Optional. The maximum response latency observed in the window, expressed
|
|
830
|
+
// in milliseconds.
|
|
831
|
+
optional int64 max_response_latency_millis = 1
|
|
832
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
833
|
+
|
|
834
|
+
// Optional. The average response latency observed in the window, expressed
|
|
835
|
+
// in milliseconds.
|
|
836
|
+
optional int64 avg_response_latency_millis = 2
|
|
837
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
838
|
+
|
|
839
|
+
// Optional. The longest time spent waiting without receiving a response in
|
|
840
|
+
// the window. This could exceed max_response_latency_millis because the
|
|
841
|
+
// latter is evaluated only when a response is received. Expressed in
|
|
842
|
+
// milliseconds.
|
|
843
|
+
optional int64 longest_wait_no_response_millis = 3
|
|
844
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
845
|
+
|
|
846
|
+
// Optional. How many requests were sent in the window.
|
|
847
|
+
optional int64 requests_sent_count = 4
|
|
848
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
849
|
+
|
|
850
|
+
// Optional. How many responses were received in the window.
|
|
851
|
+
optional int64 responses_received_count = 5
|
|
852
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
853
|
+
|
|
854
|
+
// Optional. How many bytes were sent in the window.
|
|
855
|
+
optional int64 bytes_sent_count = 6
|
|
856
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
857
|
+
|
|
858
|
+
// Optional. Start time of the window interval for which these stats are
|
|
859
|
+
// aggregated, expressed in epoch milliseconds.
|
|
860
|
+
optional int64 window_start_time_epoch_millis = 7
|
|
861
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
862
|
+
|
|
863
|
+
// Optional. Duration of the window interval for which these stats are
|
|
864
|
+
// aggregated, expressed in milliseconds.
|
|
865
|
+
optional int64 window_millis = 8 [(google.api.field_behavior) = OPTIONAL];
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
// Optional. Per-request stats.
|
|
869
|
+
RequestStats request_stats = 1 [(google.api.field_behavior) = OPTIONAL];
|
|
870
|
+
|
|
871
|
+
// Optional. Windowed stats.
|
|
872
|
+
WindowStats window_stats = 2 [(google.api.field_behavior) = OPTIONAL];
|
|
873
|
+
}
|