Skip to content

Commit

Permalink
chore(deps): Update gapic-generator-java to 2.21.0 (#2111)
Browse files Browse the repository at this point in the history
feat: add table sampling to ReadAPI v1
feat: add storage error codes for KMS

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 538365689

Source-Link: https://togithub.com/googleapis/googleapis/commit/7ac8a2479bd197e4d7533e1ae9bf1877823f0c26

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/e58eedb75d3c07878097cdfbfd3ffdb7646763a3
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTU4ZWVkYjc1ZDNjMDc4NzgwOTdjZGZiZmQzZmZkYjc2NDY3NjNhMyJ9

chore: upgrading protobuf to 23.2 for code generation

PiperOrigin-RevId: 537035741

Source-Link: https://togithub.com/googleapis/googleapis/commit/640f7439448629156b3ff30adc0332cc8b7ce52c

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/5ec02ed2022878f99c94c763060ff6a018896b6e
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWVjMDJlZDIwMjI4NzhmOTljOTRjNzYzMDYwZmY2YTAxODg5NmI2ZSJ9

feat: add table sampling to ReadAPI v1
feat: add storage error codes for KMS

PiperOrigin-RevId: 534092654

Source-Link: https://togithub.com/googleapis/googleapis/commit/adcd87eb8cc501ba16f4df3051869c9392e9041f

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/53f03dcd2ae0d86832d87a530aa538b9daebf2b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTNmMDNkY2QyYWUwZDg2ODMyZDg3YTUzMGFhNTM4YjlkYWViZjJiMCJ9

chore: upgrading Protobuf to 23.1 and gRPC to 1.55.0 in code generation

PiperOrigin-RevId: 534084593

Source-Link: https://togithub.com/googleapis/googleapis/commit/aa4559a97f79225fc57c9f70b5f84fe620e8292e

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/370325af8236732f5885f5940e0ef481fee83003
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzcwMzI1YWY4MjM2NzMyZjU4ODVmNTk0MGUwZWY0ODFmZWU4MzAwMyJ9

docs: update documentation for bigquerystorage v1beta1

PiperOrigin-RevId: 531289380

Source-Link: https://togithub.com/googleapis/googleapis/commit/3d497fa928b06e86847975e6cb9932b3701eb2c7

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/1e50499897357054d51c9c7882afd874b79f657b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWU1MDQ5OTg5NzM1NzA1NGQ1MWM5Yzc4ODJhZmQ4NzRiNzlmNjU3YiJ9

chore(deps): Update gapic-generator-java to 2.21.0

PiperOrigin-RevId: 538365689

Source-Link: https://togithub.com/googleapis/googleapis/commit/7ac8a2479bd197e4d7533e1ae9bf1877823f0c26

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/e58eedb75d3c07878097cdfbfd3ffdb7646763a3
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTU4ZWVkYjc1ZDNjMDc4NzgwOTdjZGZiZmQzZmZkYjc2NDY3NjNhMyJ9

chore: upgrading protobuf to 23.2 for code generation

PiperOrigin-RevId: 537035741

Source-Link: https://togithub.com/googleapis/googleapis/commit/640f7439448629156b3ff30adc0332cc8b7ce52c

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/5ec02ed2022878f99c94c763060ff6a018896b6e
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWVjMDJlZDIwMjI4NzhmOTljOTRjNzYzMDYwZmY2YTAxODg5NmI2ZSJ9

feat: add table sampling to ReadAPI v1
feat: add storage error codes for KMS

PiperOrigin-RevId: 534092654

Source-Link: https://togithub.com/googleapis/googleapis/commit/adcd87eb8cc501ba16f4df3051869c9392e9041f

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/53f03dcd2ae0d86832d87a530aa538b9daebf2b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTNmMDNkY2QyYWUwZDg2ODMyZDg3YTUzMGFhNTM4YjlkYWViZjJiMCJ9

chore: upgrading Protobuf to 23.1 and gRPC to 1.55.0 in code generation

PiperOrigin-RevId: 534084593

Source-Link: https://togithub.com/googleapis/googleapis/commit/aa4559a97f79225fc57c9f70b5f84fe620e8292e

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/370325af8236732f5885f5940e0ef481fee83003
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzcwMzI1YWY4MjM2NzMyZjU4ODVmNTk0MGUwZWY0ODFmZWU4MzAwMyJ9

docs: update documentation for bigquerystorage v1beta1

PiperOrigin-RevId: 531289380

Source-Link: https://togithub.com/googleapis/googleapis/commit/3d497fa928b06e86847975e6cb9932b3701eb2c7

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/1e50499897357054d51c9c7882afd874b79f657b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWU1MDQ5OTg5NzM1NzA1NGQ1MWM5Yzc4ODJhZmQ4NzRiNzlmNjU3YiJ9

chore(deps): Update gapic-generator-java to 2.21.0

PiperOrigin-RevId: 538365689

Source-Link: https://togithub.com/googleapis/googleapis/commit/7ac8a2479bd197e4d7533e1ae9bf1877823f0c26

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/e58eedb75d3c07878097cdfbfd3ffdb7646763a3
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTU4ZWVkYjc1ZDNjMDc4NzgwOTdjZGZiZmQzZmZkYjc2NDY3NjNhMyJ9

chore: upgrading protobuf to 23.2 for code generation

PiperOrigin-RevId: 537035741

Source-Link: https://togithub.com/googleapis/googleapis/commit/640f7439448629156b3ff30adc0332cc8b7ce52c

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/5ec02ed2022878f99c94c763060ff6a018896b6e
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWVjMDJlZDIwMjI4NzhmOTljOTRjNzYzMDYwZmY2YTAxODg5NmI2ZSJ9

feat: add table sampling to ReadAPI v1
feat: add storage error codes for KMS

PiperOrigin-RevId: 534092654

Source-Link: https://togithub.com/googleapis/googleapis/commit/adcd87eb8cc501ba16f4df3051869c9392e9041f

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/53f03dcd2ae0d86832d87a530aa538b9daebf2b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTNmMDNkY2QyYWUwZDg2ODMyZDg3YTUzMGFhNTM4YjlkYWViZjJiMCJ9

chore: upgrading Protobuf to 23.1 and gRPC to 1.55.0 in code generation

PiperOrigin-RevId: 534084593

Source-Link: https://togithub.com/googleapis/googleapis/commit/aa4559a97f79225fc57c9f70b5f84fe620e8292e

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/370325af8236732f5885f5940e0ef481fee83003
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzcwMzI1YWY4MjM2NzMyZjU4ODVmNTk0MGUwZWY0ODFmZWU4MzAwMyJ9

docs: update documentation for bigquerystorage v1beta1

PiperOrigin-RevId: 531289380

Source-Link: https://togithub.com/googleapis/googleapis/commit/3d497fa928b06e86847975e6cb9932b3701eb2c7

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/1e50499897357054d51c9c7882afd874b79f657b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWU1MDQ5OTg5NzM1NzA1NGQ1MWM5Yzc4ODJhZmQ4NzRiNzlmNjU3YiJ9

chore(deps): Update gapic-generator-java to 2.21.0

PiperOrigin-RevId: 538365689

Source-Link: https://togithub.com/googleapis/googleapis/commit/7ac8a2479bd197e4d7533e1ae9bf1877823f0c26

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/e58eedb75d3c07878097cdfbfd3ffdb7646763a3
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTU4ZWVkYjc1ZDNjMDc4NzgwOTdjZGZiZmQzZmZkYjc2NDY3NjNhMyJ9

chore: upgrading protobuf to 23.2 for code generation

PiperOrigin-RevId: 537035741

Source-Link: https://togithub.com/googleapis/googleapis/commit/640f7439448629156b3ff30adc0332cc8b7ce52c

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/5ec02ed2022878f99c94c763060ff6a018896b6e
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWVjMDJlZDIwMjI4NzhmOTljOTRjNzYzMDYwZmY2YTAxODg5NmI2ZSJ9

feat: add table sampling to ReadAPI v1
feat: add storage error codes for KMS

PiperOrigin-RevId: 534092654

Source-Link: https://togithub.com/googleapis/googleapis/commit/adcd87eb8cc501ba16f4df3051869c9392e9041f

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/53f03dcd2ae0d86832d87a530aa538b9daebf2b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTNmMDNkY2QyYWUwZDg2ODMyZDg3YTUzMGFhNTM4YjlkYWViZjJiMCJ9

chore: upgrading Protobuf to 23.1 and gRPC to 1.55.0 in code generation

PiperOrigin-RevId: 534084593

Source-Link: https://togithub.com/googleapis/googleapis/commit/aa4559a97f79225fc57c9f70b5f84fe620e8292e

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/370325af8236732f5885f5940e0ef481fee83003
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzcwMzI1YWY4MjM2NzMyZjU4ODVmNTk0MGUwZWY0ODFmZWU4MzAwMyJ9

docs: update documentation for bigquerystorage v1beta1

PiperOrigin-RevId: 531289380

Source-Link: https://togithub.com/googleapis/googleapis/commit/3d497fa928b06e86847975e6cb9932b3701eb2c7

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/1e50499897357054d51c9c7882afd874b79f657b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWU1MDQ5OTg5NzM1NzA1NGQ1MWM5Yzc4ODJhZmQ4NzRiNzlmNjU3YiJ9
  • Loading branch information
gcf-owl-bot[bot] committed Jun 13, 2023
1 parent 7fb618e commit 5d2d3c6
Show file tree
Hide file tree
Showing 219 changed files with 4,095 additions and 1,705 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -21,6 +21,7 @@
import com.google.api.gax.grpc.GrpcCallSettings;
import com.google.api.gax.grpc.GrpcStubCallableFactory;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.RequestParamsBuilder;
import com.google.api.gax.rpc.ServerStreamingCallable;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest;
Expand All @@ -29,7 +30,6 @@
import com.google.cloud.bigquery.storage.v1.ReadSession;
import com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest;
import com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse;
import com.google.common.collect.ImmutableMap;
import com.google.longrunning.stub.GrpcOperationsStub;
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
Expand Down Expand Up @@ -127,20 +127,20 @@ protected GrpcBigQueryReadStub(
.setMethodDescriptor(createReadSessionMethodDescriptor)
.setParamsExtractor(
request -> {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put(
RequestParamsBuilder builder = RequestParamsBuilder.create();
builder.add(
"read_session.table", String.valueOf(request.getReadSession().getTable()));
return params.build();
return builder.build();
})
.build();
GrpcCallSettings<ReadRowsRequest, ReadRowsResponse> readRowsTransportSettings =
GrpcCallSettings.<ReadRowsRequest, ReadRowsResponse>newBuilder()
.setMethodDescriptor(readRowsMethodDescriptor)
.setParamsExtractor(
request -> {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put("read_stream", String.valueOf(request.getReadStream()));
return params.build();
RequestParamsBuilder builder = RequestParamsBuilder.create();
builder.add("read_stream", String.valueOf(request.getReadStream()));
return builder.build();
})
.build();
GrpcCallSettings<SplitReadStreamRequest, SplitReadStreamResponse>
Expand All @@ -149,9 +149,9 @@ protected GrpcBigQueryReadStub(
.setMethodDescriptor(splitReadStreamMethodDescriptor)
.setParamsExtractor(
request -> {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put("name", String.valueOf(request.getName()));
return params.build();
RequestParamsBuilder builder = RequestParamsBuilder.create();
builder.add("name", String.valueOf(request.getName()));
return builder.build();
})
.build();

Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -22,6 +22,7 @@
import com.google.api.gax.grpc.GrpcStubCallableFactory;
import com.google.api.gax.rpc.BidiStreamingCallable;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.RequestParamsBuilder;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.bigquery.storage.v1.AppendRowsRequest;
import com.google.cloud.bigquery.storage.v1.AppendRowsResponse;
Expand All @@ -34,7 +35,6 @@
import com.google.cloud.bigquery.storage.v1.FlushRowsResponse;
import com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest;
import com.google.cloud.bigquery.storage.v1.WriteStream;
import com.google.common.collect.ImmutableMap;
import com.google.longrunning.stub.GrpcOperationsStub;
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
Expand Down Expand Up @@ -170,29 +170,29 @@ protected GrpcBigQueryWriteStub(
.setMethodDescriptor(createWriteStreamMethodDescriptor)
.setParamsExtractor(
request -> {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put("parent", String.valueOf(request.getParent()));
return params.build();
RequestParamsBuilder builder = RequestParamsBuilder.create();
builder.add("parent", String.valueOf(request.getParent()));
return builder.build();
})
.build();
GrpcCallSettings<AppendRowsRequest, AppendRowsResponse> appendRowsTransportSettings =
GrpcCallSettings.<AppendRowsRequest, AppendRowsResponse>newBuilder()
.setMethodDescriptor(appendRowsMethodDescriptor)
.setParamsExtractor(
request -> {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put("write_stream", String.valueOf(request.getWriteStream()));
return params.build();
RequestParamsBuilder builder = RequestParamsBuilder.create();
builder.add("write_stream", String.valueOf(request.getWriteStream()));
return builder.build();
})
.build();
GrpcCallSettings<GetWriteStreamRequest, WriteStream> getWriteStreamTransportSettings =
GrpcCallSettings.<GetWriteStreamRequest, WriteStream>newBuilder()
.setMethodDescriptor(getWriteStreamMethodDescriptor)
.setParamsExtractor(
request -> {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put("name", String.valueOf(request.getName()));
return params.build();
RequestParamsBuilder builder = RequestParamsBuilder.create();
builder.add("name", String.valueOf(request.getName()));
return builder.build();
})
.build();
GrpcCallSettings<FinalizeWriteStreamRequest, FinalizeWriteStreamResponse>
Expand All @@ -201,9 +201,9 @@ protected GrpcBigQueryWriteStub(
.setMethodDescriptor(finalizeWriteStreamMethodDescriptor)
.setParamsExtractor(
request -> {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put("name", String.valueOf(request.getName()));
return params.build();
RequestParamsBuilder builder = RequestParamsBuilder.create();
builder.add("name", String.valueOf(request.getName()));
return builder.build();
})
.build();
GrpcCallSettings<BatchCommitWriteStreamsRequest, BatchCommitWriteStreamsResponse>
Expand All @@ -213,19 +213,19 @@ protected GrpcBigQueryWriteStub(
.setMethodDescriptor(batchCommitWriteStreamsMethodDescriptor)
.setParamsExtractor(
request -> {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put("parent", String.valueOf(request.getParent()));
return params.build();
RequestParamsBuilder builder = RequestParamsBuilder.create();
builder.add("parent", String.valueOf(request.getParent()));
return builder.build();
})
.build();
GrpcCallSettings<FlushRowsRequest, FlushRowsResponse> flushRowsTransportSettings =
GrpcCallSettings.<FlushRowsRequest, FlushRowsResponse>newBuilder()
.setMethodDescriptor(flushRowsMethodDescriptor)
.setParamsExtractor(
request -> {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put("write_stream", String.valueOf(request.getWriteStream()));
return params.build();
RequestParamsBuilder builder = RequestParamsBuilder.create();
builder.add("write_stream", String.valueOf(request.getWriteStream()));
return builder.build();
})
.build();

Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -33,6 +33,10 @@
*
* <p>The BigQuery storage API can be used to read data stored in BigQuery.
*
* <p>The v1beta1 API is not yet officially deprecated, and will go through a full deprecation cycle
* (https://cloud.google.com/products#product-launch-stages) before the service is turned down.
* However, new code should use the v1 API going forward.
*
* <p>This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods. Sample code to get started:
*
Expand Down Expand Up @@ -172,7 +176,7 @@ public BigQueryStorageStub getStub() {
* <p>A particular row can be read by at most one stream. When the caller has reached the end of
* each stream in the session, then all the data in the table has been read.
*
* <p>Read sessions automatically expire 24 hours after they are created and do not require manual
* <p>Read sessions automatically expire 6 hours after they are created and do not require manual
* clean-up by the caller.
*
* <p>Sample code:
Expand Down Expand Up @@ -224,7 +228,7 @@ public final Storage.ReadSession createReadSession(
* <p>A particular row can be read by at most one stream. When the caller has reached the end of
* each stream in the session, then all the data in the table has been read.
*
* <p>Read sessions automatically expire 24 hours after they are created and do not require manual
* <p>Read sessions automatically expire 6 hours after they are created and do not require manual
* clean-up by the caller.
*
* <p>Sample code:
Expand Down Expand Up @@ -276,7 +280,7 @@ public final Storage.ReadSession createReadSession(
* <p>A particular row can be read by at most one stream. When the caller has reached the end of
* each stream in the session, then all the data in the table has been read.
*
* <p>Read sessions automatically expire 24 hours after they are created and do not require manual
* <p>Read sessions automatically expire 6 hours after they are created and do not require manual
* clean-up by the caller.
*
* <p>Sample code:
Expand Down Expand Up @@ -319,7 +323,7 @@ public final Storage.ReadSession createReadSession(Storage.CreateReadSessionRequ
* <p>A particular row can be read by at most one stream. When the caller has reached the end of
* each stream in the session, then all the data in the table has been read.
*
* <p>Read sessions automatically expire 24 hours after they are created and do not require manual
* <p>Read sessions automatically expire 6 hours after they are created and do not require manual
* clean-up by the caller.
*
* <p>Sample code:
Expand Down Expand Up @@ -494,8 +498,8 @@ public final Storage.BatchCreateReadSessionStreamsResponse batchCreateReadSessio

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Triggers the graceful termination of a single stream in a ReadSession. This API can be used to
* dynamically adjust the parallelism of a batch processing task downwards without losing data.
* Causes a single stream in a ReadSession to gracefully stop. This API can be used to dynamically
* adjust the parallelism of a batch processing task downwards without losing data.
*
* <p>This API does not delete the stream -- it remains visible in the ReadSession, and any data
* processed by the stream is not released to other streams. However, no additional data will be
Expand Down Expand Up @@ -531,8 +535,8 @@ public final void finalizeStream(Storage.Stream stream) {

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Triggers the graceful termination of a single stream in a ReadSession. This API can be used to
* dynamically adjust the parallelism of a batch processing task downwards without losing data.
* Causes a single stream in a ReadSession to gracefully stop. This API can be used to dynamically
* adjust the parallelism of a batch processing task downwards without losing data.
*
* <p>This API does not delete the stream -- it remains visible in the ReadSession, and any data
* processed by the stream is not released to other streams. However, no additional data will be
Expand Down Expand Up @@ -569,8 +573,8 @@ public final void finalizeStream(Storage.FinalizeStreamRequest request) {

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Triggers the graceful termination of a single stream in a ReadSession. This API can be used to
* dynamically adjust the parallelism of a batch processing task downwards without losing data.
* Causes a single stream in a ReadSession to gracefully stop. This API can be used to dynamically
* adjust the parallelism of a batch processing task downwards without losing data.
*
* <p>This API does not delete the stream -- it remains visible in the ReadSession, and any data
* processed by the stream is not released to other streams. However, no additional data will be
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -25,6 +25,10 @@
*
* <p>The BigQuery storage API can be used to read data stored in BigQuery.
*
* <p>The v1beta1 API is not yet officially deprecated, and will go through a full deprecation cycle
* (https://cloud.google.com/products#product-launch-stages) before the service is turned down.
* However, new code should use the v1 API going forward.
*
* <p>Sample for BaseBigQueryStorageClient:
*
* <pre>{@code
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 5d2d3c6

Please sign in to comment.