diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClient.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClient.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClient.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClient.java diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadSettings.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadSettings.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadSettings.java index baab7e9c3a..a24fe3d332 100644 --- a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadSettings.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadSettings.java @@ -25,7 +25,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.ServerStreamingCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.bigquery.storage.v1.stub.BigQueryReadStubSettings; diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClient.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClient.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClient.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClient.java diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteSettings.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteSettings.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteSettings.java index 01fe386251..58b5f8f2fa 100644 --- a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteSettings.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteSettings.java @@ -25,7 +25,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.StreamingCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.bigquery.storage.v1.stub.BigQueryWriteStubSettings; diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/gapic_metadata.json b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/gapic_metadata.json rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/package-info.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/package-info.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStub.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStub.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStub.java diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStub.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStub.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStub.java diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStubSettings.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStubSettings.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStubSettings.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStubSettings.java diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadCallableFactory.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadCallableFactory.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadStub.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadStub.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadStub.java index bb937f3ef8..311064c87b 100644 --- a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadStub.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadStub.java @@ -34,7 +34,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteCallableFactory.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteCallableFactory.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteStub.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteStub.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteStub.java index 0e14eb69e2..04f22270d1 100644 --- a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteStub.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteStub.java @@ -39,7 +39,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java diff --git a/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java similarity index 99% rename from owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java index 117145284d..8bf0b80d3d 100644 --- a/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java @@ -25,7 +25,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.ServerStreamingCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.bigquery.storage.v1beta1.stub.BigQueryStorageStubSettings; diff --git a/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/gapic_metadata.json b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/gapic_metadata.json rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/gapic_metadata.json diff --git a/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/package-info.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/package-info.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/package-info.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/package-info.java diff --git a/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStub.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStub.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStub.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStub.java diff --git a/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java diff --git a/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageCallableFactory.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageCallableFactory.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageCallableFactory.java diff --git a/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java similarity index 99% rename from owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java index 23980b12d1..c0472c8a8e 100644 --- a/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java @@ -31,7 +31,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadSettings.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadSettings.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadSettings.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadSettings.java index d6acbcfcb4..e8717d346a 100644 --- a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadSettings.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadSettings.java @@ -25,7 +25,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.ServerStreamingCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.bigquery.storage.v1beta2.stub.BigQueryReadStubSettings; diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClient.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClient.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClient.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClient.java diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteSettings.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteSettings.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteSettings.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteSettings.java index 8d619dae3a..6f45f970ad 100644 --- a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteSettings.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteSettings.java @@ -25,7 +25,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.StreamingCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.bigquery.storage.v1beta2.stub.BigQueryWriteStubSettings; diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/gapic_metadata.json b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/gapic_metadata.json rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/gapic_metadata.json diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/package-info.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/package-info.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/package-info.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/package-info.java diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStub.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStub.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStub.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStub.java diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStub.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStub.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStub.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStub.java diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadCallableFactory.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadCallableFactory.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadCallableFactory.java diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadStub.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadStub.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadStub.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadStub.java index 155c39b7ae..f173d06d73 100644 --- a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadStub.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadStub.java @@ -35,7 +35,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteCallableFactory.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteCallableFactory.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteCallableFactory.java diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteStub.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteStub.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteStub.java rename to google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteStub.java index 17946f5741..1bb2cb0a87 100644 --- a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteStub.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteStub.java @@ -40,7 +40,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1/reflect-config.json b/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1/reflect-config.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1/reflect-config.json rename to google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1/reflect-config.json diff --git a/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1beta1/reflect-config.json b/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1beta1/reflect-config.json similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1beta1/reflect-config.json rename to google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1beta1/reflect-config.json diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1beta2/reflect-config.json b/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1beta2/reflect-config.json similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1beta2/reflect-config.json rename to google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1beta2/reflect-config.json diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClientTest.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClientTest.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClientTest.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClientTest.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryRead.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryRead.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryRead.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryRead.java diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryReadImpl.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryReadImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryReadImpl.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryReadImpl.java diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWrite.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWrite.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWrite.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWrite.java diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWriteImpl.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWriteImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWriteImpl.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWriteImpl.java diff --git a/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClientTest.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClientTest.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClientTest.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClientTest.java diff --git a/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorage.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorage.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorage.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorage.java diff --git a/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorageImpl.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorageImpl.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorageImpl.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorageImpl.java diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClientTest.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClientTest.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClientTest.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClientTest.java diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClientTest.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClientTest.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClientTest.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClientTest.java diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryRead.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryRead.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryRead.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryRead.java diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryReadImpl.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryReadImpl.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryReadImpl.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryReadImpl.java diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWrite.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWrite.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWrite.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWrite.java diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWriteImpl.java b/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWriteImpl.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWriteImpl.java rename to google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWriteImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java b/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java similarity index 60% rename from owl-bot-staging/v1/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java rename to grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java index 6aecaeeb36..1ea103f612 100644 --- a/owl-bot-staging/v1/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java +++ b/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java @@ -1,8 +1,25 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.bigquery.storage.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * BigQuery Read API.
  * The Read API can be used to read data from BigQuery.
@@ -19,144 +36,190 @@ private BigQueryReadGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.bigquery.storage.v1.BigQueryRead";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getCreateReadSessionMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest,
+          com.google.cloud.bigquery.storage.v1.ReadSession>
+      getCreateReadSessionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateReadSession",
       requestType = com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.ReadSession.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateReadSessionMethod() {
-    io.grpc.MethodDescriptor getCreateReadSessionMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest,
+          com.google.cloud.bigquery.storage.v1.ReadSession>
+      getCreateReadSessionMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest,
+            com.google.cloud.bigquery.storage.v1.ReadSession>
+        getCreateReadSessionMethod;
     if ((getCreateReadSessionMethod = BigQueryReadGrpc.getCreateReadSessionMethod) == null) {
       synchronized (BigQueryReadGrpc.class) {
         if ((getCreateReadSessionMethod = BigQueryReadGrpc.getCreateReadSessionMethod) == null) {
-          BigQueryReadGrpc.getCreateReadSessionMethod = getCreateReadSessionMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateReadSession"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryReadMethodDescriptorSupplier("CreateReadSession"))
-              .build();
+          BigQueryReadGrpc.getCreateReadSessionMethod =
+              getCreateReadSessionMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateReadSession"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.ReadSession
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigQueryReadMethodDescriptorSupplier("CreateReadSession"))
+                      .build();
         }
       }
     }
     return getCreateReadSessionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getReadRowsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.ReadRowsRequest,
+          com.google.cloud.bigquery.storage.v1.ReadRowsResponse>
+      getReadRowsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ReadRows",
       requestType = com.google.cloud.bigquery.storage.v1.ReadRowsRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.ReadRowsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-  public static io.grpc.MethodDescriptor getReadRowsMethod() {
-    io.grpc.MethodDescriptor getReadRowsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.ReadRowsRequest,
+          com.google.cloud.bigquery.storage.v1.ReadRowsResponse>
+      getReadRowsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1.ReadRowsRequest,
+            com.google.cloud.bigquery.storage.v1.ReadRowsResponse>
+        getReadRowsMethod;
     if ((getReadRowsMethod = BigQueryReadGrpc.getReadRowsMethod) == null) {
       synchronized (BigQueryReadGrpc.class) {
         if ((getReadRowsMethod = BigQueryReadGrpc.getReadRowsMethod) == null) {
-          BigQueryReadGrpc.getReadRowsMethod = getReadRowsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadRows"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.ReadRowsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.ReadRowsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryReadMethodDescriptorSupplier("ReadRows"))
-              .build();
+          BigQueryReadGrpc.getReadRowsMethod =
+              getReadRowsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadRows"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.ReadRowsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.ReadRowsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new BigQueryReadMethodDescriptorSupplier("ReadRows"))
+                      .build();
         }
       }
     }
     return getReadRowsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSplitReadStreamMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest,
+          com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse>
+      getSplitReadStreamMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SplitReadStream",
       requestType = com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getSplitReadStreamMethod() {
-    io.grpc.MethodDescriptor getSplitReadStreamMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest,
+          com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse>
+      getSplitReadStreamMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest,
+            com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse>
+        getSplitReadStreamMethod;
     if ((getSplitReadStreamMethod = BigQueryReadGrpc.getSplitReadStreamMethod) == null) {
       synchronized (BigQueryReadGrpc.class) {
         if ((getSplitReadStreamMethod = BigQueryReadGrpc.getSplitReadStreamMethod) == null) {
-          BigQueryReadGrpc.getSplitReadStreamMethod = getSplitReadStreamMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SplitReadStream"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryReadMethodDescriptorSupplier("SplitReadStream"))
-              .build();
+          BigQueryReadGrpc.getSplitReadStreamMethod =
+              getSplitReadStreamMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SplitReadStream"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigQueryReadMethodDescriptorSupplier("SplitReadStream"))
+                      .build();
         }
       }
     }
     return getSplitReadStreamMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static BigQueryReadStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BigQueryReadStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BigQueryReadStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BigQueryReadStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BigQueryReadStub(channel, callOptions);
+          }
+        };
     return BigQueryReadStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static BigQueryReadBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static BigQueryReadBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BigQueryReadBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BigQueryReadBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BigQueryReadBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BigQueryReadBlockingStub(channel, callOptions);
+          }
+        };
     return BigQueryReadBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static BigQueryReadFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static BigQueryReadFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BigQueryReadFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BigQueryReadFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BigQueryReadFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BigQueryReadFutureStub(channel, callOptions);
+          }
+        };
     return BigQueryReadFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -165,6 +228,8 @@ public BigQueryReadFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptio
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -184,12 +249,17 @@ public interface AsyncService {
      * not require manual clean-up by the caller.
      * 
*/ - default void createReadSession(com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateReadSessionMethod(), responseObserver); + default void createReadSession( + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateReadSessionMethod(), responseObserver); } /** + * + * *
      * Reads rows from the stream in the format prescribed by the ReadSession.
      * Each response contains one or more table rows, up to a maximum of 100 MiB
@@ -199,12 +269,16 @@ default void createReadSession(com.google.cloud.bigquery.storage.v1.CreateReadSe
      * state of the stream.
      * 
*/ - default void readRows(com.google.cloud.bigquery.storage.v1.ReadRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + default void readRows( + com.google.cloud.bigquery.storage.v1.ReadRowsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); } /** + * + * *
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -219,29 +293,35 @@ default void readRows(com.google.cloud.bigquery.storage.v1.ReadRowsRequest reque
      * completion.
      * 
*/ - default void splitReadStream(com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSplitReadStreamMethod(), responseObserver); + default void splitReadStream( + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSplitReadStreamMethod(), responseObserver); } } /** * Base class for the server implementation of the service BigQueryRead. + * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
    * 
*/ - public static abstract class BigQueryReadImplBase + public abstract static class BigQueryReadImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return BigQueryReadGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service BigQueryRead. + * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -249,18 +329,18 @@ public static abstract class BigQueryReadImplBase
    */
   public static final class BigQueryReadStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private BigQueryReadStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryReadStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected BigQueryReadStub build(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected BigQueryReadStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new BigQueryReadStub(channel, callOptions);
     }
 
     /**
+     *
+     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -280,13 +360,19 @@ protected BigQueryReadStub build(
      * not require manual clean-up by the caller.
      * 
*/ - public void createReadSession(com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void createReadSession( + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateReadSessionMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateReadSessionMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Reads rows from the stream in the format prescribed by the ReadSession.
      * Each response contains one or more table rows, up to a maximum of 100 MiB
@@ -296,13 +382,17 @@ public void createReadSession(com.google.cloud.bigquery.storage.v1.CreateReadSes
      * state of the stream.
      * 
*/ - public void readRows(com.google.cloud.bigquery.storage.v1.ReadRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void readRows( + com.google.cloud.bigquery.storage.v1.ReadRowsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getReadRowsMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -317,15 +407,20 @@ public void readRows(com.google.cloud.bigquery.storage.v1.ReadRowsRequest reques
      * completion.
      * 
*/ - public void splitReadStream(com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void splitReadStream( + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service BigQueryRead. + * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -333,8 +428,7 @@ public void splitReadStream(com.google.cloud.bigquery.storage.v1.SplitReadStream
    */
   public static final class BigQueryReadBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private BigQueryReadBlockingStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryReadBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -345,6 +439,8 @@ protected BigQueryReadBlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -364,12 +460,15 @@ protected BigQueryReadBlockingStub build(
      * not require manual clean-up by the caller.
      * 
*/ - public com.google.cloud.bigquery.storage.v1.ReadSession createReadSession(com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request) { + public com.google.cloud.bigquery.storage.v1.ReadSession createReadSession( + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateReadSessionMethod(), getCallOptions(), request); } /** + * + * *
      * Reads rows from the stream in the format prescribed by the ReadSession.
      * Each response contains one or more table rows, up to a maximum of 100 MiB
@@ -386,6 +485,8 @@ public java.util.Iterator
     }
 
     /**
+     *
+     *
      * 
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -400,7 +501,8 @@ public java.util.Iterator
      * completion.
      * 
*/ - public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse splitReadStream(com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request) { + public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse splitReadStream( + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSplitReadStreamMethod(), getCallOptions(), request); } @@ -408,6 +510,7 @@ public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse splitReadStr /** * A stub to allow clients to do ListenableFuture-style rpc calls to service BigQueryRead. + * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -415,8 +518,7 @@ public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse splitReadStr
    */
   public static final class BigQueryReadFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private BigQueryReadFutureStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryReadFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -427,6 +529,8 @@ protected BigQueryReadFutureStub build(
     }
 
     /**
+     *
+     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -446,13 +550,16 @@ protected BigQueryReadFutureStub build(
      * not require manual clean-up by the caller.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createReadSession( - com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.storage.v1.ReadSession> + createReadSession(com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateReadSessionMethod(), getCallOptions()), request); } /** + * + * *
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -467,8 +574,9 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture splitReadStream(
-        com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse>
+        splitReadStream(com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), request);
     }
@@ -478,11 +586,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final AsyncService serviceImpl;
     private final int methodId;
 
@@ -496,16 +604,23 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_CREATE_READ_SESSION:
-          serviceImpl.createReadSession((com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.createReadSession(
+              (com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_READ_ROWS:
-          serviceImpl.readRows((com.google.cloud.bigquery.storage.v1.ReadRowsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.readRows(
+              (com.google.cloud.bigquery.storage.v1.ReadRowsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_SPLIT_READ_STREAM:
-          serviceImpl.splitReadStream((com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.splitReadStream(
+              (com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse>)
+                  responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -526,31 +641,32 @@ public io.grpc.stub.StreamObserver invoke(
   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
         .addMethod(
-          getCreateReadSessionMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest,
-              com.google.cloud.bigquery.storage.v1.ReadSession>(
-                service, METHODID_CREATE_READ_SESSION)))
+            getCreateReadSessionMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest,
+                    com.google.cloud.bigquery.storage.v1.ReadSession>(
+                    service, METHODID_CREATE_READ_SESSION)))
         .addMethod(
-          getReadRowsMethod(),
-          io.grpc.stub.ServerCalls.asyncServerStreamingCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1.ReadRowsRequest,
-              com.google.cloud.bigquery.storage.v1.ReadRowsResponse>(
-                service, METHODID_READ_ROWS)))
+            getReadRowsMethod(),
+            io.grpc.stub.ServerCalls.asyncServerStreamingCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1.ReadRowsRequest,
+                    com.google.cloud.bigquery.storage.v1.ReadRowsResponse>(
+                    service, METHODID_READ_ROWS)))
         .addMethod(
-          getSplitReadStreamMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest,
-              com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse>(
-                service, METHODID_SPLIT_READ_STREAM)))
+            getSplitReadStreamMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest,
+                    com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse>(
+                    service, METHODID_SPLIT_READ_STREAM)))
         .build();
   }
 
-  private static abstract class BigQueryReadBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class BigQueryReadBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     BigQueryReadBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -592,12 +708,14 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (BigQueryReadGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new BigQueryReadFileDescriptorSupplier())
-              .addMethod(getCreateReadSessionMethod())
-              .addMethod(getReadRowsMethod())
-              .addMethod(getSplitReadStreamMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new BigQueryReadFileDescriptorSupplier())
+                      .addMethod(getCreateReadSessionMethod())
+                      .addMethod(getReadRowsMethod())
+                      .addMethod(getSplitReadStreamMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v1/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java b/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java
similarity index 50%
rename from owl-bot-staging/v1/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java
rename to grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java
index 1344d37861..1553527690 100644
--- a/owl-bot-staging/v1/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java
+++ b/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java
@@ -1,8 +1,25 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.google.cloud.bigquery.storage.v1;
 
 import static io.grpc.MethodDescriptor.generateFullMethodName;
 
 /**
+ *
+ *
  * 
  * BigQuery Write API.
  * The Write API can be used to write data to BigQuery.
@@ -21,237 +38,335 @@ private BigQueryWriteGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.bigquery.storage.v1.BigQueryWrite";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getCreateWriteStreamMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest,
+          com.google.cloud.bigquery.storage.v1.WriteStream>
+      getCreateWriteStreamMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateWriteStream",
       requestType = com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.WriteStream.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateWriteStreamMethod() {
-    io.grpc.MethodDescriptor getCreateWriteStreamMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest,
+          com.google.cloud.bigquery.storage.v1.WriteStream>
+      getCreateWriteStreamMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest,
+            com.google.cloud.bigquery.storage.v1.WriteStream>
+        getCreateWriteStreamMethod;
     if ((getCreateWriteStreamMethod = BigQueryWriteGrpc.getCreateWriteStreamMethod) == null) {
       synchronized (BigQueryWriteGrpc.class) {
         if ((getCreateWriteStreamMethod = BigQueryWriteGrpc.getCreateWriteStreamMethod) == null) {
-          BigQueryWriteGrpc.getCreateWriteStreamMethod = getCreateWriteStreamMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWriteStream"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("CreateWriteStream"))
-              .build();
+          BigQueryWriteGrpc.getCreateWriteStreamMethod =
+              getCreateWriteStreamMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWriteStream"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.WriteStream
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigQueryWriteMethodDescriptorSupplier("CreateWriteStream"))
+                      .build();
         }
       }
     }
     return getCreateWriteStreamMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getAppendRowsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.AppendRowsRequest,
+          com.google.cloud.bigquery.storage.v1.AppendRowsResponse>
+      getAppendRowsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "AppendRows",
       requestType = com.google.cloud.bigquery.storage.v1.AppendRowsRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.AppendRowsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
-  public static io.grpc.MethodDescriptor getAppendRowsMethod() {
-    io.grpc.MethodDescriptor getAppendRowsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.AppendRowsRequest,
+          com.google.cloud.bigquery.storage.v1.AppendRowsResponse>
+      getAppendRowsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1.AppendRowsRequest,
+            com.google.cloud.bigquery.storage.v1.AppendRowsResponse>
+        getAppendRowsMethod;
     if ((getAppendRowsMethod = BigQueryWriteGrpc.getAppendRowsMethod) == null) {
       synchronized (BigQueryWriteGrpc.class) {
         if ((getAppendRowsMethod = BigQueryWriteGrpc.getAppendRowsMethod) == null) {
-          BigQueryWriteGrpc.getAppendRowsMethod = getAppendRowsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AppendRows"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.AppendRowsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.AppendRowsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("AppendRows"))
-              .build();
+          BigQueryWriteGrpc.getAppendRowsMethod =
+              getAppendRowsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AppendRows"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.AppendRowsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.AppendRowsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("AppendRows"))
+                      .build();
         }
       }
     }
     return getAppendRowsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetWriteStreamMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest,
+          com.google.cloud.bigquery.storage.v1.WriteStream>
+      getGetWriteStreamMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetWriteStream",
       requestType = com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.WriteStream.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetWriteStreamMethod() {
-    io.grpc.MethodDescriptor getGetWriteStreamMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest,
+          com.google.cloud.bigquery.storage.v1.WriteStream>
+      getGetWriteStreamMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest,
+            com.google.cloud.bigquery.storage.v1.WriteStream>
+        getGetWriteStreamMethod;
     if ((getGetWriteStreamMethod = BigQueryWriteGrpc.getGetWriteStreamMethod) == null) {
       synchronized (BigQueryWriteGrpc.class) {
         if ((getGetWriteStreamMethod = BigQueryWriteGrpc.getGetWriteStreamMethod) == null) {
-          BigQueryWriteGrpc.getGetWriteStreamMethod = getGetWriteStreamMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWriteStream"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("GetWriteStream"))
-              .build();
+          BigQueryWriteGrpc.getGetWriteStreamMethod =
+              getGetWriteStreamMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWriteStream"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.WriteStream
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigQueryWriteMethodDescriptorSupplier("GetWriteStream"))
+                      .build();
         }
       }
     }
     return getGetWriteStreamMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getFinalizeWriteStreamMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest,
+          com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse>
+      getFinalizeWriteStreamMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "FinalizeWriteStream",
       requestType = com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getFinalizeWriteStreamMethod() {
-    io.grpc.MethodDescriptor getFinalizeWriteStreamMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest,
+          com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse>
+      getFinalizeWriteStreamMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest,
+            com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse>
+        getFinalizeWriteStreamMethod;
     if ((getFinalizeWriteStreamMethod = BigQueryWriteGrpc.getFinalizeWriteStreamMethod) == null) {
       synchronized (BigQueryWriteGrpc.class) {
-        if ((getFinalizeWriteStreamMethod = BigQueryWriteGrpc.getFinalizeWriteStreamMethod) == null) {
-          BigQueryWriteGrpc.getFinalizeWriteStreamMethod = getFinalizeWriteStreamMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FinalizeWriteStream"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("FinalizeWriteStream"))
-              .build();
+        if ((getFinalizeWriteStreamMethod = BigQueryWriteGrpc.getFinalizeWriteStreamMethod)
+            == null) {
+          BigQueryWriteGrpc.getFinalizeWriteStreamMethod =
+              getFinalizeWriteStreamMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "FinalizeWriteStream"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigQueryWriteMethodDescriptorSupplier("FinalizeWriteStream"))
+                      .build();
         }
       }
     }
     return getFinalizeWriteStreamMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getBatchCommitWriteStreamsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest,
+          com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse>
+      getBatchCommitWriteStreamsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "BatchCommitWriteStreams",
       requestType = com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getBatchCommitWriteStreamsMethod() {
-    io.grpc.MethodDescriptor getBatchCommitWriteStreamsMethod;
-    if ((getBatchCommitWriteStreamsMethod = BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest,
+          com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse>
+      getBatchCommitWriteStreamsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest,
+            com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse>
+        getBatchCommitWriteStreamsMethod;
+    if ((getBatchCommitWriteStreamsMethod = BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod)
+        == null) {
       synchronized (BigQueryWriteGrpc.class) {
-        if ((getBatchCommitWriteStreamsMethod = BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod) == null) {
-          BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod = getBatchCommitWriteStreamsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCommitWriteStreams"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("BatchCommitWriteStreams"))
-              .build();
+        if ((getBatchCommitWriteStreamsMethod = BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod)
+            == null) {
+          BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod =
+              getBatchCommitWriteStreamsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "BatchCommitWriteStreams"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigQueryWriteMethodDescriptorSupplier("BatchCommitWriteStreams"))
+                      .build();
         }
       }
     }
     return getBatchCommitWriteStreamsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getFlushRowsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.FlushRowsRequest,
+          com.google.cloud.bigquery.storage.v1.FlushRowsResponse>
+      getFlushRowsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "FlushRows",
       requestType = com.google.cloud.bigquery.storage.v1.FlushRowsRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.FlushRowsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getFlushRowsMethod() {
-    io.grpc.MethodDescriptor getFlushRowsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1.FlushRowsRequest,
+          com.google.cloud.bigquery.storage.v1.FlushRowsResponse>
+      getFlushRowsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1.FlushRowsRequest,
+            com.google.cloud.bigquery.storage.v1.FlushRowsResponse>
+        getFlushRowsMethod;
     if ((getFlushRowsMethod = BigQueryWriteGrpc.getFlushRowsMethod) == null) {
       synchronized (BigQueryWriteGrpc.class) {
         if ((getFlushRowsMethod = BigQueryWriteGrpc.getFlushRowsMethod) == null) {
-          BigQueryWriteGrpc.getFlushRowsMethod = getFlushRowsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FlushRows"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.FlushRowsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1.FlushRowsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("FlushRows"))
-              .build();
+          BigQueryWriteGrpc.getFlushRowsMethod =
+              getFlushRowsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FlushRows"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.FlushRowsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1.FlushRowsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("FlushRows"))
+                      .build();
         }
       }
     }
     return getFlushRowsMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static BigQueryWriteStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BigQueryWriteStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BigQueryWriteStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BigQueryWriteStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BigQueryWriteStub(channel, callOptions);
+          }
+        };
     return BigQueryWriteStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static BigQueryWriteBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static BigQueryWriteBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BigQueryWriteBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BigQueryWriteBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BigQueryWriteBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BigQueryWriteBlockingStub(channel, callOptions);
+          }
+        };
     return BigQueryWriteBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static BigQueryWriteFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static BigQueryWriteFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BigQueryWriteFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BigQueryWriteFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BigQueryWriteFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BigQueryWriteFutureStub(channel, callOptions);
+          }
+        };
     return BigQueryWriteFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * BigQuery Write API.
    * The Write API can be used to write data to BigQuery.
@@ -262,6 +377,8 @@ public BigQueryWriteFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOpti
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Creates a write stream to the given table.
      * Additionally, every table has a special stream named '_default'
@@ -271,12 +388,17 @@ public interface AsyncService {
      * soon as an acknowledgement is received.
      * 
*/ - default void createWriteStream(com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateWriteStreamMethod(), responseObserver); + default void createWriteStream( + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateWriteStreamMethod(), responseObserver); } /** + * + * *
      * Appends data to the given stream.
      * If `offset` is specified, the `offset` is checked against the end of
@@ -304,33 +426,49 @@ default void createWriteStream(com.google.cloud.bigquery.storage.v1.CreateWriteS
      * committed via the `BatchCommitWriteStreams` rpc.
      * 
*/ - default io.grpc.stub.StreamObserver appendRows( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getAppendRowsMethod(), responseObserver); + default io.grpc.stub.StreamObserver + appendRows( + io.grpc.stub.StreamObserver + responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall( + getAppendRowsMethod(), responseObserver); } /** + * + * *
      * Gets information about a write stream.
      * 
*/ - default void getWriteStream(com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetWriteStreamMethod(), responseObserver); + default void getWriteStream( + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetWriteStreamMethod(), responseObserver); } /** + * + * *
      * Finalize a write stream so that no new data can be appended to the
      * stream. Finalize is not supported on the '_default' stream.
      * 
*/ - default void finalizeWriteStream(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFinalizeWriteStreamMethod(), responseObserver); + default void finalizeWriteStream( + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFinalizeWriteStreamMethod(), responseObserver); } /** + * + * *
      * Atomically commits a group of `PENDING` streams that belong to the same
      * `parent` table.
@@ -339,12 +477,18 @@ default void finalizeWriteStream(com.google.cloud.bigquery.storage.v1.FinalizeWr
      * for read operations.
      * 
*/ - default void batchCommitWriteStreams(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCommitWriteStreamsMethod(), responseObserver); + default void batchCommitWriteStreams( + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCommitWriteStreamsMethod(), responseObserver); } /** + * + * *
      * Flushes rows to a BUFFERED stream.
      * If users are appending rows to BUFFERED stream, flush operation is
@@ -354,14 +498,17 @@ default void batchCommitWriteStreams(com.google.cloud.bigquery.storage.v1.BatchC
      * Flush is not supported on the _default stream, since it is not BUFFERED.
      * 
*/ - default void flushRows(com.google.cloud.bigquery.storage.v1.FlushRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + default void flushRows( + com.google.cloud.bigquery.storage.v1.FlushRowsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFlushRowsMethod(), responseObserver); } } /** * Base class for the server implementation of the service BigQueryWrite. + * *
    * BigQuery Write API.
    * The Write API can be used to write data to BigQuery.
@@ -369,16 +516,18 @@ default void flushRows(com.google.cloud.bigquery.storage.v1.FlushRowsRequest req
    * https://cloud.google.com/bigquery/docs/write-api
    * 
*/ - public static abstract class BigQueryWriteImplBase + public abstract static class BigQueryWriteImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return BigQueryWriteGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service BigQueryWrite. + * *
    * BigQuery Write API.
    * The Write API can be used to write data to BigQuery.
@@ -388,18 +537,18 @@ public static abstract class BigQueryWriteImplBase
    */
   public static final class BigQueryWriteStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private BigQueryWriteStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryWriteStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected BigQueryWriteStub build(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected BigQueryWriteStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new BigQueryWriteStub(channel, callOptions);
     }
 
     /**
+     *
+     *
      * 
      * Creates a write stream to the given table.
      * Additionally, every table has a special stream named '_default'
@@ -409,13 +558,19 @@ protected BigQueryWriteStub build(
      * soon as an acknowledgement is received.
      * 
*/ - public void createWriteStream(com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void createWriteStream( + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateWriteStreamMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateWriteStreamMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Appends data to the given stream.
      * If `offset` is specified, the `offset` is checked against the end of
@@ -443,36 +598,53 @@ public void createWriteStream(com.google.cloud.bigquery.storage.v1.CreateWriteSt
      * committed via the `BatchCommitWriteStreams` rpc.
      * 
*/ - public io.grpc.stub.StreamObserver appendRows( - io.grpc.stub.StreamObserver responseObserver) { + public io.grpc.stub.StreamObserver + appendRows( + io.grpc.stub.StreamObserver + responseObserver) { return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( getChannel().newCall(getAppendRowsMethod(), getCallOptions()), responseObserver); } /** + * + * *
      * Gets information about a write stream.
      * 
*/ - public void getWriteStream(com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getWriteStream( + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetWriteStreamMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetWriteStreamMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Finalize a write stream so that no new data can be appended to the
      * stream. Finalize is not supported on the '_default' stream.
      * 
*/ - public void finalizeWriteStream(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void finalizeWriteStream( + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFinalizeWriteStreamMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getFinalizeWriteStreamMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Atomically commits a group of `PENDING` streams that belong to the same
      * `parent` table.
@@ -481,13 +653,20 @@ public void finalizeWriteStream(com.google.cloud.bigquery.storage.v1.FinalizeWri
      * for read operations.
      * 
*/ - public void batchCommitWriteStreams(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void batchCommitWriteStreams( + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCommitWriteStreamsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getBatchCommitWriteStreamsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Flushes rows to a BUFFERED stream.
      * If users are appending rows to BUFFERED stream, flush operation is
@@ -497,8 +676,10 @@ public void batchCommitWriteStreams(com.google.cloud.bigquery.storage.v1.BatchCo
      * Flush is not supported on the _default stream, since it is not BUFFERED.
      * 
*/ - public void flushRows(com.google.cloud.bigquery.storage.v1.FlushRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void flushRows( + com.google.cloud.bigquery.storage.v1.FlushRowsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getFlushRowsMethod(), getCallOptions()), request, responseObserver); } @@ -506,6 +687,7 @@ public void flushRows(com.google.cloud.bigquery.storage.v1.FlushRowsRequest requ /** * A stub to allow clients to do synchronous rpc calls to service BigQueryWrite. + * *
    * BigQuery Write API.
    * The Write API can be used to write data to BigQuery.
@@ -515,8 +697,7 @@ public void flushRows(com.google.cloud.bigquery.storage.v1.FlushRowsRequest requ
    */
   public static final class BigQueryWriteBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private BigQueryWriteBlockingStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryWriteBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -527,6 +708,8 @@ protected BigQueryWriteBlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * Creates a write stream to the given table.
      * Additionally, every table has a special stream named '_default'
@@ -536,33 +719,42 @@ protected BigQueryWriteBlockingStub build(
      * soon as an acknowledgement is received.
      * 
*/ - public com.google.cloud.bigquery.storage.v1.WriteStream createWriteStream(com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request) { + public com.google.cloud.bigquery.storage.v1.WriteStream createWriteStream( + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateWriteStreamMethod(), getCallOptions(), request); } /** + * + * *
      * Gets information about a write stream.
      * 
*/ - public com.google.cloud.bigquery.storage.v1.WriteStream getWriteStream(com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request) { + public com.google.cloud.bigquery.storage.v1.WriteStream getWriteStream( + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetWriteStreamMethod(), getCallOptions(), request); } /** + * + * *
      * Finalize a write stream so that no new data can be appended to the
      * stream. Finalize is not supported on the '_default' stream.
      * 
*/ - public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse finalizeWriteStream(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request) { + public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse finalizeWriteStream( + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getFinalizeWriteStreamMethod(), getCallOptions(), request); } /** + * + * *
      * Atomically commits a group of `PENDING` streams that belong to the same
      * `parent` table.
@@ -571,12 +763,16 @@ public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse finalize
      * for read operations.
      * 
*/ - public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse batchCommitWriteStreams(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request) { + public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse + batchCommitWriteStreams( + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchCommitWriteStreamsMethod(), getCallOptions(), request); } /** + * + * *
      * Flushes rows to a BUFFERED stream.
      * If users are appending rows to BUFFERED stream, flush operation is
@@ -586,7 +782,8 @@ public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse batc
      * Flush is not supported on the _default stream, since it is not BUFFERED.
      * 
*/ - public com.google.cloud.bigquery.storage.v1.FlushRowsResponse flushRows(com.google.cloud.bigquery.storage.v1.FlushRowsRequest request) { + public com.google.cloud.bigquery.storage.v1.FlushRowsResponse flushRows( + com.google.cloud.bigquery.storage.v1.FlushRowsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getFlushRowsMethod(), getCallOptions(), request); } @@ -594,6 +791,7 @@ public com.google.cloud.bigquery.storage.v1.FlushRowsResponse flushRows(com.goog /** * A stub to allow clients to do ListenableFuture-style rpc calls to service BigQueryWrite. + * *
    * BigQuery Write API.
    * The Write API can be used to write data to BigQuery.
@@ -603,8 +801,7 @@ public com.google.cloud.bigquery.storage.v1.FlushRowsResponse flushRows(com.goog
    */
   public static final class BigQueryWriteFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private BigQueryWriteFutureStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryWriteFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -615,6 +812,8 @@ protected BigQueryWriteFutureStub build(
     }
 
     /**
+     *
+     *
      * 
      * Creates a write stream to the given table.
      * Additionally, every table has a special stream named '_default'
@@ -624,36 +823,46 @@ protected BigQueryWriteFutureStub build(
      * soon as an acknowledgement is received.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createWriteStream( - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.storage.v1.WriteStream> + createWriteStream(com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateWriteStreamMethod(), getCallOptions()), request); } /** + * + * *
      * Gets information about a write stream.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getWriteStream( - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.storage.v1.WriteStream> + getWriteStream(com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetWriteStreamMethod(), getCallOptions()), request); } /** + * + * *
      * Finalize a write stream so that no new data can be appended to the
      * stream. Finalize is not supported on the '_default' stream.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture finalizeWriteStream( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse> + finalizeWriteStream( + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getFinalizeWriteStreamMethod(), getCallOptions()), request); } /** + * + * *
      * Atomically commits a group of `PENDING` streams that belong to the same
      * `parent` table.
@@ -662,13 +871,17 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture batchCommitWriteStreams(
-        com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse>
+        batchCommitWriteStreams(
+            com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getBatchCommitWriteStreamsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Flushes rows to a BUFFERED stream.
      * If users are appending rows to BUFFERED stream, flush operation is
@@ -678,8 +891,9 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture flushRows(
-        com.google.cloud.bigquery.storage.v1.FlushRowsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.bigquery.storage.v1.FlushRowsResponse>
+        flushRows(com.google.cloud.bigquery.storage.v1.FlushRowsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getFlushRowsMethod(), getCallOptions()), request);
     }
@@ -692,11 +906,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final AsyncService serviceImpl;
     private final int methodId;
 
@@ -710,24 +924,36 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_CREATE_WRITE_STREAM:
-          serviceImpl.createWriteStream((com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.createWriteStream(
+              (com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_GET_WRITE_STREAM:
-          serviceImpl.getWriteStream((com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.getWriteStream(
+              (com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_FINALIZE_WRITE_STREAM:
-          serviceImpl.finalizeWriteStream((com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.finalizeWriteStream(
+              (com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse>)
+                  responseObserver);
           break;
         case METHODID_BATCH_COMMIT_WRITE_STREAMS:
-          serviceImpl.batchCommitWriteStreams((com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.batchCommitWriteStreams(
+              (com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse>)
+                  responseObserver);
           break;
         case METHODID_FLUSH_ROWS:
-          serviceImpl.flushRows((com.google.cloud.bigquery.storage.v1.FlushRowsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.flushRows(
+              (com.google.cloud.bigquery.storage.v1.FlushRowsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -740,8 +966,11 @@ public io.grpc.stub.StreamObserver invoke(
         io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_APPEND_ROWS:
-          return (io.grpc.stub.StreamObserver) serviceImpl.appendRows(
-              (io.grpc.stub.StreamObserver) responseObserver);
+          return (io.grpc.stub.StreamObserver)
+              serviceImpl.appendRows(
+                  (io.grpc.stub.StreamObserver<
+                          com.google.cloud.bigquery.storage.v1.AppendRowsResponse>)
+                      responseObserver);
         default:
           throw new AssertionError();
       }
@@ -751,52 +980,53 @@ public io.grpc.stub.StreamObserver invoke(
   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
         .addMethod(
-          getCreateWriteStreamMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest,
-              com.google.cloud.bigquery.storage.v1.WriteStream>(
-                service, METHODID_CREATE_WRITE_STREAM)))
+            getCreateWriteStreamMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest,
+                    com.google.cloud.bigquery.storage.v1.WriteStream>(
+                    service, METHODID_CREATE_WRITE_STREAM)))
         .addMethod(
-          getAppendRowsMethod(),
-          io.grpc.stub.ServerCalls.asyncBidiStreamingCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1.AppendRowsRequest,
-              com.google.cloud.bigquery.storage.v1.AppendRowsResponse>(
-                service, METHODID_APPEND_ROWS)))
+            getAppendRowsMethod(),
+            io.grpc.stub.ServerCalls.asyncBidiStreamingCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1.AppendRowsRequest,
+                    com.google.cloud.bigquery.storage.v1.AppendRowsResponse>(
+                    service, METHODID_APPEND_ROWS)))
         .addMethod(
-          getGetWriteStreamMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest,
-              com.google.cloud.bigquery.storage.v1.WriteStream>(
-                service, METHODID_GET_WRITE_STREAM)))
+            getGetWriteStreamMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest,
+                    com.google.cloud.bigquery.storage.v1.WriteStream>(
+                    service, METHODID_GET_WRITE_STREAM)))
         .addMethod(
-          getFinalizeWriteStreamMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest,
-              com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse>(
-                service, METHODID_FINALIZE_WRITE_STREAM)))
+            getFinalizeWriteStreamMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest,
+                    com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse>(
+                    service, METHODID_FINALIZE_WRITE_STREAM)))
         .addMethod(
-          getBatchCommitWriteStreamsMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest,
-              com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse>(
-                service, METHODID_BATCH_COMMIT_WRITE_STREAMS)))
+            getBatchCommitWriteStreamsMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest,
+                    com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse>(
+                    service, METHODID_BATCH_COMMIT_WRITE_STREAMS)))
         .addMethod(
-          getFlushRowsMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1.FlushRowsRequest,
-              com.google.cloud.bigquery.storage.v1.FlushRowsResponse>(
-                service, METHODID_FLUSH_ROWS)))
+            getFlushRowsMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1.FlushRowsRequest,
+                    com.google.cloud.bigquery.storage.v1.FlushRowsResponse>(
+                    service, METHODID_FLUSH_ROWS)))
         .build();
   }
 
-  private static abstract class BigQueryWriteBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class BigQueryWriteBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     BigQueryWriteBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -838,15 +1068,17 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (BigQueryWriteGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new BigQueryWriteFileDescriptorSupplier())
-              .addMethod(getCreateWriteStreamMethod())
-              .addMethod(getAppendRowsMethod())
-              .addMethod(getGetWriteStreamMethod())
-              .addMethod(getFinalizeWriteStreamMethod())
-              .addMethod(getBatchCommitWriteStreamsMethod())
-              .addMethod(getFlushRowsMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new BigQueryWriteFileDescriptorSupplier())
+                      .addMethod(getCreateWriteStreamMethod())
+                      .addMethod(getAppendRowsMethod())
+                      .addMethod(getGetWriteStreamMethod())
+                      .addMethod(getFinalizeWriteStreamMethod())
+                      .addMethod(getBatchCommitWriteStreamsMethod())
+                      .addMethod(getFlushRowsMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v1beta1/grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java b/grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java
similarity index 53%
rename from owl-bot-staging/v1beta1/grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java
rename to grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java
index a7b35fd6a5..6a31e3f930 100644
--- a/owl-bot-staging/v1beta1/grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java
+++ b/grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java
@@ -1,8 +1,25 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.google.cloud.bigquery.storage.v1beta1;
 
 import static io.grpc.MethodDescriptor.generateFullMethodName;
 
 /**
+ *
+ *
  * 
  * BigQuery storage API.
  * The BigQuery storage API can be used to read data stored in BigQuery.
@@ -23,206 +40,297 @@ private BigQueryStorageGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.bigquery.storage.v1beta1.BigQueryStorage";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getCreateReadSessionMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest,
+          com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession>
+      getCreateReadSessionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateReadSession",
-      requestType = com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.class,
+      requestType =
+          com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateReadSessionMethod() {
-    io.grpc.MethodDescriptor getCreateReadSessionMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest,
+          com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession>
+      getCreateReadSessionMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest,
+            com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession>
+        getCreateReadSessionMethod;
     if ((getCreateReadSessionMethod = BigQueryStorageGrpc.getCreateReadSessionMethod) == null) {
       synchronized (BigQueryStorageGrpc.class) {
         if ((getCreateReadSessionMethod = BigQueryStorageGrpc.getCreateReadSessionMethod) == null) {
-          BigQueryStorageGrpc.getCreateReadSessionMethod = getCreateReadSessionMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateReadSession"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryStorageMethodDescriptorSupplier("CreateReadSession"))
-              .build();
+          BigQueryStorageGrpc.getCreateReadSessionMethod =
+              getCreateReadSessionMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateReadSession"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta1.Storage
+                                  .CreateReadSessionRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigQueryStorageMethodDescriptorSupplier("CreateReadSession"))
+                      .build();
         }
       }
     }
     return getCreateReadSessionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getReadRowsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest,
+          com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse>
+      getReadRowsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ReadRows",
       requestType = com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-  public static io.grpc.MethodDescriptor getReadRowsMethod() {
-    io.grpc.MethodDescriptor getReadRowsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest,
+          com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse>
+      getReadRowsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest,
+            com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse>
+        getReadRowsMethod;
     if ((getReadRowsMethod = BigQueryStorageGrpc.getReadRowsMethod) == null) {
       synchronized (BigQueryStorageGrpc.class) {
         if ((getReadRowsMethod = BigQueryStorageGrpc.getReadRowsMethod) == null) {
-          BigQueryStorageGrpc.getReadRowsMethod = getReadRowsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadRows"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryStorageMethodDescriptorSupplier("ReadRows"))
-              .build();
+          BigQueryStorageGrpc.getReadRowsMethod =
+              getReadRowsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadRows"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new BigQueryStorageMethodDescriptorSupplier("ReadRows"))
+                      .build();
         }
       }
     }
     return getReadRowsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getBatchCreateReadSessionStreamsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest,
+          com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse>
+      getBatchCreateReadSessionStreamsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "BatchCreateReadSessionStreams",
-      requestType = com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest.class,
-      responseType = com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.class,
+      requestType =
+          com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest
+              .class,
+      responseType =
+          com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse
+              .class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getBatchCreateReadSessionStreamsMethod() {
-    io.grpc.MethodDescriptor getBatchCreateReadSessionStreamsMethod;
-    if ((getBatchCreateReadSessionStreamsMethod = BigQueryStorageGrpc.getBatchCreateReadSessionStreamsMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest,
+          com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse>
+      getBatchCreateReadSessionStreamsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest,
+            com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse>
+        getBatchCreateReadSessionStreamsMethod;
+    if ((getBatchCreateReadSessionStreamsMethod =
+            BigQueryStorageGrpc.getBatchCreateReadSessionStreamsMethod)
+        == null) {
       synchronized (BigQueryStorageGrpc.class) {
-        if ((getBatchCreateReadSessionStreamsMethod = BigQueryStorageGrpc.getBatchCreateReadSessionStreamsMethod) == null) {
-          BigQueryStorageGrpc.getBatchCreateReadSessionStreamsMethod = getBatchCreateReadSessionStreamsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateReadSessionStreams"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryStorageMethodDescriptorSupplier("BatchCreateReadSessionStreams"))
-              .build();
+        if ((getBatchCreateReadSessionStreamsMethod =
+                BigQueryStorageGrpc.getBatchCreateReadSessionStreamsMethod)
+            == null) {
+          BigQueryStorageGrpc.getBatchCreateReadSessionStreamsMethod =
+              getBatchCreateReadSessionStreamsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "BatchCreateReadSessionStreams"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta1.Storage
+                                  .BatchCreateReadSessionStreamsRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta1.Storage
+                                  .BatchCreateReadSessionStreamsResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigQueryStorageMethodDescriptorSupplier(
+                              "BatchCreateReadSessionStreams"))
+                      .build();
         }
       }
     }
     return getBatchCreateReadSessionStreamsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getFinalizeStreamMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest,
+          com.google.protobuf.Empty>
+      getFinalizeStreamMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "FinalizeStream",
       requestType = com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getFinalizeStreamMethod() {
-    io.grpc.MethodDescriptor getFinalizeStreamMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest,
+          com.google.protobuf.Empty>
+      getFinalizeStreamMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest,
+            com.google.protobuf.Empty>
+        getFinalizeStreamMethod;
     if ((getFinalizeStreamMethod = BigQueryStorageGrpc.getFinalizeStreamMethod) == null) {
       synchronized (BigQueryStorageGrpc.class) {
         if ((getFinalizeStreamMethod = BigQueryStorageGrpc.getFinalizeStreamMethod) == null) {
-          BigQueryStorageGrpc.getFinalizeStreamMethod = getFinalizeStreamMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FinalizeStream"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryStorageMethodDescriptorSupplier("FinalizeStream"))
-              .build();
+          BigQueryStorageGrpc.getFinalizeStreamMethod =
+              getFinalizeStreamMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FinalizeStream"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta1.Storage
+                                  .FinalizeStreamRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigQueryStorageMethodDescriptorSupplier("FinalizeStream"))
+                      .build();
         }
       }
     }
     return getFinalizeStreamMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSplitReadStreamMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest,
+          com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse>
+      getSplitReadStreamMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SplitReadStream",
       requestType = com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.class,
-      responseType = com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.class,
+      responseType =
+          com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getSplitReadStreamMethod() {
-    io.grpc.MethodDescriptor getSplitReadStreamMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest,
+          com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse>
+      getSplitReadStreamMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest,
+            com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse>
+        getSplitReadStreamMethod;
     if ((getSplitReadStreamMethod = BigQueryStorageGrpc.getSplitReadStreamMethod) == null) {
       synchronized (BigQueryStorageGrpc.class) {
         if ((getSplitReadStreamMethod = BigQueryStorageGrpc.getSplitReadStreamMethod) == null) {
-          BigQueryStorageGrpc.getSplitReadStreamMethod = getSplitReadStreamMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SplitReadStream"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryStorageMethodDescriptorSupplier("SplitReadStream"))
-              .build();
+          BigQueryStorageGrpc.getSplitReadStreamMethod =
+              getSplitReadStreamMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SplitReadStream"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta1.Storage
+                                  .SplitReadStreamRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta1.Storage
+                                  .SplitReadStreamResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigQueryStorageMethodDescriptorSupplier("SplitReadStream"))
+                      .build();
         }
       }
     }
     return getSplitReadStreamMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static BigQueryStorageStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BigQueryStorageStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BigQueryStorageStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BigQueryStorageStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BigQueryStorageStub(channel, callOptions);
+          }
+        };
     return BigQueryStorageStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static BigQueryStorageBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static BigQueryStorageBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BigQueryStorageBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BigQueryStorageBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BigQueryStorageBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BigQueryStorageBlockingStub(channel, callOptions);
+          }
+        };
     return BigQueryStorageBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static BigQueryStorageFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static BigQueryStorageFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BigQueryStorageFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BigQueryStorageFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BigQueryStorageFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BigQueryStorageFutureStub(channel, callOptions);
+          }
+        };
     return BigQueryStorageFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
@@ -235,6 +343,8 @@ public BigQueryStorageFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOp
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -248,12 +358,17 @@ public interface AsyncService {
      * not require manual clean-up by the caller.
      * 
*/ - default void createReadSession(com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateReadSessionMethod(), responseObserver); + default void createReadSession( + com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateReadSessionMethod(), responseObserver); } /** + * + * *
      * Reads rows from the table in the format prescribed by the read session.
      * Each response contains one or more table rows, up to a maximum of 10 MiB
@@ -265,24 +380,37 @@ default void createReadSession(com.google.cloud.bigquery.storage.v1beta1.Storage
      * session, and may change as other streams continue to read data.
      * 
*/ - default void readRows(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + default void readRows( + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse> + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); } /** + * + * *
      * Creates additional streams for a ReadSession. This API can be used to
      * dynamically adjust the parallelism of a batch processing task upwards by
      * adding additional workers.
      * 
*/ - default void batchCreateReadSessionStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateReadSessionStreamsMethod(), responseObserver); + default void batchCreateReadSessionStreams( + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCreateReadSessionStreamsMethod(), responseObserver); } /** + * + * *
      * Causes a single stream in a ReadSession to gracefully stop. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -298,12 +426,16 @@ default void batchCreateReadSessionStreams(com.google.cloud.bigquery.storage.v1b
      * Stream.
      * 
*/ - default void finalizeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest request, + default void finalizeStream( + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFinalizeStreamMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFinalizeStreamMethod(), responseObserver); } /** + * + * *
      * Splits a given read stream into two Streams. These streams are referred to
      * as the primary and the residual of the split. The original stream can still
@@ -318,14 +450,19 @@ default void finalizeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Fi
      * This method is guaranteed to be idempotent.
      * 
*/ - default void splitReadStream(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSplitReadStreamMethod(), responseObserver); + default void splitReadStream( + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSplitReadStreamMethod(), responseObserver); } } /** * Base class for the server implementation of the service BigQueryStorage. + * *
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
@@ -335,16 +472,18 @@ default void splitReadStream(com.google.cloud.bigquery.storage.v1beta1.Storage.S
    * going forward.
    * 
*/ - public static abstract class BigQueryStorageImplBase + public abstract static class BigQueryStorageImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return BigQueryStorageGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service BigQueryStorage. + * *
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
@@ -356,18 +495,18 @@ public static abstract class BigQueryStorageImplBase
    */
   public static final class BigQueryStorageStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private BigQueryStorageStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryStorageStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected BigQueryStorageStub build(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected BigQueryStorageStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new BigQueryStorageStub(channel, callOptions);
     }
 
     /**
+     *
+     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -381,13 +520,19 @@ protected BigQueryStorageStub build(
      * not require manual clean-up by the caller.
      * 
*/ - public void createReadSession(com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void createReadSession( + com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateReadSessionMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateReadSessionMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Reads rows from the table in the format prescribed by the read session.
      * Each response contains one or more table rows, up to a maximum of 10 MiB
@@ -399,26 +544,40 @@ public void createReadSession(com.google.cloud.bigquery.storage.v1beta1.Storage.
      * session, and may change as other streams continue to read data.
      * 
*/ - public void readRows(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void readRows( + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getReadRowsMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates additional streams for a ReadSession. This API can be used to
      * dynamically adjust the parallelism of a batch processing task upwards by
      * adding additional workers.
      * 
*/ - public void batchCreateReadSessionStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void batchCreateReadSessionStreams( + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateReadSessionStreamsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getBatchCreateReadSessionStreamsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Causes a single stream in a ReadSession to gracefully stop. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -434,13 +593,18 @@ public void batchCreateReadSessionStreams(com.google.cloud.bigquery.storage.v1be
      * Stream.
      * 
*/ - public void finalizeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest request, + public void finalizeStream( + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFinalizeStreamMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getFinalizeStreamMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Splits a given read stream into two Streams. These streams are referred to
      * as the primary and the residual of the split. The original stream can still
@@ -455,15 +619,21 @@ public void finalizeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Fin
      * This method is guaranteed to be idempotent.
      * 
*/ - public void splitReadStream(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void splitReadStream( + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service BigQueryStorage. + * *
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
@@ -475,8 +645,7 @@ public void splitReadStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Sp
    */
   public static final class BigQueryStorageBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private BigQueryStorageBlockingStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryStorageBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -487,6 +656,8 @@ protected BigQueryStorageBlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -500,12 +671,15 @@ protected BigQueryStorageBlockingStub build(
      * not require manual clean-up by the caller.
      * 
*/ - public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession createReadSession(com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest request) { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession createReadSession( + com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateReadSessionMethod(), getCallOptions(), request); } /** + * + * *
      * Reads rows from the table in the format prescribed by the read session.
      * Each response contains one or more table rows, up to a maximum of 10 MiB
@@ -517,25 +691,32 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession createReadS
      * session, and may change as other streams continue to read data.
      * 
*/ - public java.util.Iterator readRows( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest request) { + public java.util.Iterator + readRows(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getReadRowsMethod(), getCallOptions(), request); } /** + * + * *
      * Creates additional streams for a ReadSession. This API can be used to
      * dynamically adjust the parallelism of a batch processing task upwards by
      * adding additional workers.
      * 
*/ - public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse batchCreateReadSessionStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest request) { + public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse + batchCreateReadSessionStreams( + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchCreateReadSessionStreamsMethod(), getCallOptions(), request); } /** + * + * *
      * Causes a single stream in a ReadSession to gracefully stop. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -551,12 +732,15 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionS
      * Stream.
      * 
*/ - public com.google.protobuf.Empty finalizeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest request) { + public com.google.protobuf.Empty finalizeStream( + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getFinalizeStreamMethod(), getCallOptions(), request); } /** + * + * *
      * Splits a given read stream into two Streams. These streams are referred to
      * as the primary and the residual of the split. The original stream can still
@@ -571,7 +755,9 @@ public com.google.protobuf.Empty finalizeStream(com.google.cloud.bigquery.storag
      * This method is guaranteed to be idempotent.
      * 
*/ - public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse splitReadStream(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest request) { + public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse + splitReadStream( + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSplitReadStreamMethod(), getCallOptions(), request); } @@ -579,6 +765,7 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse /** * A stub to allow clients to do ListenableFuture-style rpc calls to service BigQueryStorage. + * *
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
@@ -590,8 +777,7 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
    */
   public static final class BigQueryStorageFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private BigQueryStorageFutureStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryStorageFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -602,6 +788,8 @@ protected BigQueryStorageFutureStub build(
     }
 
     /**
+     *
+     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -615,26 +803,36 @@ protected BigQueryStorageFutureStub build(
      * not require manual clean-up by the caller.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createReadSession( - com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession> + createReadSession( + com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateReadSessionMethod(), getCallOptions()), request); } /** + * + * *
      * Creates additional streams for a ReadSession. This API can be used to
      * dynamically adjust the parallelism of a batch processing task upwards by
      * adding additional workers.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture batchCreateReadSessionStreams( - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse> + batchCreateReadSessionStreams( + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateReadSessionStreamsMethod(), getCallOptions()), request); + getChannel().newCall(getBatchCreateReadSessionStreamsMethod(), getCallOptions()), + request); } /** + * + * *
      * Causes a single stream in a ReadSession to gracefully stop. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -650,13 +848,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture finalizeStream(
-        com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        finalizeStream(
+            com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getFinalizeStreamMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Splits a given read stream into two Streams. These streams are referred to
      * as the primary and the residual of the split. The original stream can still
@@ -671,8 +872,10 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture splitReadStream(
-        com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse>
+        splitReadStream(
+            com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), request);
     }
@@ -684,11 +887,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final AsyncService serviceImpl;
     private final int methodId;
 
@@ -702,24 +905,40 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_CREATE_READ_SESSION:
-          serviceImpl.createReadSession((com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.createReadSession(
+              (com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession>)
+                  responseObserver);
           break;
         case METHODID_READ_ROWS:
-          serviceImpl.readRows((com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.readRows(
+              (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse>)
+                  responseObserver);
           break;
         case METHODID_BATCH_CREATE_READ_SESSION_STREAMS:
-          serviceImpl.batchCreateReadSessionStreams((com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.batchCreateReadSessionStreams(
+              (com.google.cloud.bigquery.storage.v1beta1.Storage
+                      .BatchCreateReadSessionStreamsRequest)
+                  request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.bigquery.storage.v1beta1.Storage
+                          .BatchCreateReadSessionStreamsResponse>)
+                  responseObserver);
           break;
         case METHODID_FINALIZE_STREAM:
-          serviceImpl.finalizeStream((com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest) request,
+          serviceImpl.finalizeStream(
+              (com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_SPLIT_READ_STREAM:
-          serviceImpl.splitReadStream((com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.splitReadStream(
+              (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse>)
+                  responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -740,45 +959,47 @@ public io.grpc.stub.StreamObserver invoke(
   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
         .addMethod(
-          getCreateReadSessionMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest,
-              com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession>(
-                service, METHODID_CREATE_READ_SESSION)))
+            getCreateReadSessionMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest,
+                    com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession>(
+                    service, METHODID_CREATE_READ_SESSION)))
         .addMethod(
-          getReadRowsMethod(),
-          io.grpc.stub.ServerCalls.asyncServerStreamingCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest,
-              com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse>(
-                service, METHODID_READ_ROWS)))
+            getReadRowsMethod(),
+            io.grpc.stub.ServerCalls.asyncServerStreamingCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest,
+                    com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse>(
+                    service, METHODID_READ_ROWS)))
         .addMethod(
-          getBatchCreateReadSessionStreamsMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest,
-              com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse>(
-                service, METHODID_BATCH_CREATE_READ_SESSION_STREAMS)))
+            getBatchCreateReadSessionStreamsMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1beta1.Storage
+                        .BatchCreateReadSessionStreamsRequest,
+                    com.google.cloud.bigquery.storage.v1beta1.Storage
+                        .BatchCreateReadSessionStreamsResponse>(
+                    service, METHODID_BATCH_CREATE_READ_SESSION_STREAMS)))
         .addMethod(
-          getFinalizeStreamMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest,
-              com.google.protobuf.Empty>(
-                service, METHODID_FINALIZE_STREAM)))
+            getFinalizeStreamMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest,
+                    com.google.protobuf.Empty>(service, METHODID_FINALIZE_STREAM)))
         .addMethod(
-          getSplitReadStreamMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest,
-              com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse>(
-                service, METHODID_SPLIT_READ_STREAM)))
+            getSplitReadStreamMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest,
+                    com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse>(
+                    service, METHODID_SPLIT_READ_STREAM)))
         .build();
   }
 
-  private static abstract class BigQueryStorageBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class BigQueryStorageBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     BigQueryStorageBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -820,14 +1041,16 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (BigQueryStorageGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new BigQueryStorageFileDescriptorSupplier())
-              .addMethod(getCreateReadSessionMethod())
-              .addMethod(getReadRowsMethod())
-              .addMethod(getBatchCreateReadSessionStreamsMethod())
-              .addMethod(getFinalizeStreamMethod())
-              .addMethod(getSplitReadStreamMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new BigQueryStorageFileDescriptorSupplier())
+                      .addMethod(getCreateReadSessionMethod())
+                      .addMethod(getReadRowsMethod())
+                      .addMethod(getBatchCreateReadSessionStreamsMethod())
+                      .addMethod(getFinalizeStreamMethod())
+                      .addMethod(getSplitReadStreamMethod())
+                      .build();
         }
       }
     }
diff --git a/owl-bot-staging/v1beta2/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java b/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java
similarity index 59%
rename from owl-bot-staging/v1beta2/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java
rename to grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java
index ce5813ec04..fd1a8ffea4 100644
--- a/owl-bot-staging/v1beta2/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java
+++ b/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java
@@ -1,8 +1,25 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.google.cloud.bigquery.storage.v1beta2;
 
 import static io.grpc.MethodDescriptor.generateFullMethodName;
 
 /**
+ *
+ *
  * 
  * BigQuery Read API.
  * The Read API can be used to read data from BigQuery.
@@ -21,144 +38,190 @@ private BigQueryReadGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.bigquery.storage.v1beta2.BigQueryRead";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getCreateReadSessionMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest,
+          com.google.cloud.bigquery.storage.v1beta2.ReadSession>
+      getCreateReadSessionMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateReadSession",
       requestType = com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1beta2.ReadSession.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateReadSessionMethod() {
-    io.grpc.MethodDescriptor getCreateReadSessionMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest,
+          com.google.cloud.bigquery.storage.v1beta2.ReadSession>
+      getCreateReadSessionMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest,
+            com.google.cloud.bigquery.storage.v1beta2.ReadSession>
+        getCreateReadSessionMethod;
     if ((getCreateReadSessionMethod = BigQueryReadGrpc.getCreateReadSessionMethod) == null) {
       synchronized (BigQueryReadGrpc.class) {
         if ((getCreateReadSessionMethod = BigQueryReadGrpc.getCreateReadSessionMethod) == null) {
-          BigQueryReadGrpc.getCreateReadSessionMethod = getCreateReadSessionMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateReadSession"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryReadMethodDescriptorSupplier("CreateReadSession"))
-              .build();
+          BigQueryReadGrpc.getCreateReadSessionMethod =
+              getCreateReadSessionMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateReadSession"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta2.ReadSession
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigQueryReadMethodDescriptorSupplier("CreateReadSession"))
+                      .build();
         }
       }
     }
     return getCreateReadSessionMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getReadRowsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest,
+          com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse>
+      getReadRowsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ReadRows",
       requestType = com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-  public static io.grpc.MethodDescriptor getReadRowsMethod() {
-    io.grpc.MethodDescriptor getReadRowsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest,
+          com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse>
+      getReadRowsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest,
+            com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse>
+        getReadRowsMethod;
     if ((getReadRowsMethod = BigQueryReadGrpc.getReadRowsMethod) == null) {
       synchronized (BigQueryReadGrpc.class) {
         if ((getReadRowsMethod = BigQueryReadGrpc.getReadRowsMethod) == null) {
-          BigQueryReadGrpc.getReadRowsMethod = getReadRowsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadRows"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryReadMethodDescriptorSupplier("ReadRows"))
-              .build();
+          BigQueryReadGrpc.getReadRowsMethod =
+              getReadRowsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadRows"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new BigQueryReadMethodDescriptorSupplier("ReadRows"))
+                      .build();
         }
       }
     }
     return getReadRowsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSplitReadStreamMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest,
+          com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse>
+      getSplitReadStreamMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SplitReadStream",
       requestType = com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getSplitReadStreamMethod() {
-    io.grpc.MethodDescriptor getSplitReadStreamMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest,
+          com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse>
+      getSplitReadStreamMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest,
+            com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse>
+        getSplitReadStreamMethod;
     if ((getSplitReadStreamMethod = BigQueryReadGrpc.getSplitReadStreamMethod) == null) {
       synchronized (BigQueryReadGrpc.class) {
         if ((getSplitReadStreamMethod = BigQueryReadGrpc.getSplitReadStreamMethod) == null) {
-          BigQueryReadGrpc.getSplitReadStreamMethod = getSplitReadStreamMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SplitReadStream"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigQueryReadMethodDescriptorSupplier("SplitReadStream"))
-              .build();
+          BigQueryReadGrpc.getSplitReadStreamMethod =
+              getSplitReadStreamMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SplitReadStream"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigQueryReadMethodDescriptorSupplier("SplitReadStream"))
+                      .build();
         }
       }
     }
     return getSplitReadStreamMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static BigQueryReadStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BigQueryReadStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BigQueryReadStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BigQueryReadStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BigQueryReadStub(channel, callOptions);
+          }
+        };
     return BigQueryReadStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static BigQueryReadBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static BigQueryReadBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BigQueryReadBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BigQueryReadBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BigQueryReadBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BigQueryReadBlockingStub(channel, callOptions);
+          }
+        };
     return BigQueryReadBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static BigQueryReadFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static BigQueryReadFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BigQueryReadFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BigQueryReadFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BigQueryReadFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BigQueryReadFutureStub(channel, callOptions);
+          }
+        };
     return BigQueryReadFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -169,6 +232,8 @@ public BigQueryReadFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptio
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -188,12 +253,17 @@ public interface AsyncService {
      * not require manual clean-up by the caller.
      * 
*/ - default void createReadSession(com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateReadSessionMethod(), responseObserver); + default void createReadSession( + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateReadSessionMethod(), responseObserver); } /** + * + * *
      * Reads rows from the stream in the format prescribed by the ReadSession.
      * Each response contains one or more table rows, up to a maximum of 100 MiB
@@ -203,12 +273,16 @@ default void createReadSession(com.google.cloud.bigquery.storage.v1beta2.CreateR
      * state of the stream.
      * 
*/ - default void readRows(com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + default void readRows( + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); } /** + * + * *
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -223,14 +297,19 @@ default void readRows(com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest
      * completion.
      * 
*/ - default void splitReadStream(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSplitReadStreamMethod(), responseObserver); + default void splitReadStream( + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSplitReadStreamMethod(), responseObserver); } } /** * Base class for the server implementation of the service BigQueryRead. + * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -238,16 +317,18 @@ default void splitReadStream(com.google.cloud.bigquery.storage.v1beta2.SplitRead
    * API at the same time.
    * 
*/ - public static abstract class BigQueryReadImplBase + public abstract static class BigQueryReadImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return BigQueryReadGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service BigQueryRead. + * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -257,18 +338,18 @@ public static abstract class BigQueryReadImplBase
    */
   public static final class BigQueryReadStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private BigQueryReadStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryReadStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected BigQueryReadStub build(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected BigQueryReadStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new BigQueryReadStub(channel, callOptions);
     }
 
     /**
+     *
+     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -288,13 +369,19 @@ protected BigQueryReadStub build(
      * not require manual clean-up by the caller.
      * 
*/ - public void createReadSession(com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void createReadSession( + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateReadSessionMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateReadSessionMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Reads rows from the stream in the format prescribed by the ReadSession.
      * Each response contains one or more table rows, up to a maximum of 100 MiB
@@ -304,13 +391,17 @@ public void createReadSession(com.google.cloud.bigquery.storage.v1beta2.CreateRe
      * state of the stream.
      * 
*/ - public void readRows(com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void readRows( + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getReadRowsMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -325,15 +416,21 @@ public void readRows(com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest r
      * completion.
      * 
*/ - public void splitReadStream(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void splitReadStream( + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service BigQueryRead. + * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -343,8 +440,7 @@ public void splitReadStream(com.google.cloud.bigquery.storage.v1beta2.SplitReadS
    */
   public static final class BigQueryReadBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private BigQueryReadBlockingStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryReadBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -355,6 +451,8 @@ protected BigQueryReadBlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -374,12 +472,15 @@ protected BigQueryReadBlockingStub build(
      * not require manual clean-up by the caller.
      * 
*/ - public com.google.cloud.bigquery.storage.v1beta2.ReadSession createReadSession(com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest request) { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession createReadSession( + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateReadSessionMethod(), getCallOptions(), request); } /** + * + * *
      * Reads rows from the stream in the format prescribed by the ReadSession.
      * Each response contains one or more table rows, up to a maximum of 100 MiB
@@ -396,6 +497,8 @@ public java.util.Iterator
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -410,7 +513,8 @@ public java.util.Iterator
      */
-    public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse splitReadStream(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request) {
+    public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse splitReadStream(
+        com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request) {
       return io.grpc.stub.ClientCalls.blockingUnaryCall(
           getChannel(), getSplitReadStreamMethod(), getCallOptions(), request);
     }
@@ -418,6 +522,7 @@ public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse splitRe
 
   /**
    * A stub to allow clients to do ListenableFuture-style rpc calls to service BigQueryRead.
+   *
    * 
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -427,8 +532,7 @@ public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse splitRe
    */
   public static final class BigQueryReadFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private BigQueryReadFutureStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryReadFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -439,6 +543,8 @@ protected BigQueryReadFutureStub build(
     }
 
     /**
+     *
+     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -458,13 +564,17 @@ protected BigQueryReadFutureStub build(
      * not require manual clean-up by the caller.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createReadSession( - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.storage.v1beta2.ReadSession> + createReadSession( + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateReadSessionMethod(), getCallOptions()), request); } /** + * + * *
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -479,8 +589,9 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture splitReadStream(
-        com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse>
+        splitReadStream(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), request);
     }
@@ -490,11 +601,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final AsyncService serviceImpl;
     private final int methodId;
 
@@ -508,16 +619,24 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_CREATE_READ_SESSION:
-          serviceImpl.createReadSession((com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.createReadSession(
+              (com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_READ_ROWS:
-          serviceImpl.readRows((com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.readRows(
+              (com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse>)
+                  responseObserver);
           break;
         case METHODID_SPLIT_READ_STREAM:
-          serviceImpl.splitReadStream((com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.splitReadStream(
+              (com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse>)
+                  responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -538,31 +657,32 @@ public io.grpc.stub.StreamObserver invoke(
   public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
     return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
         .addMethod(
-          getCreateReadSessionMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest,
-              com.google.cloud.bigquery.storage.v1beta2.ReadSession>(
-                service, METHODID_CREATE_READ_SESSION)))
+            getCreateReadSessionMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest,
+                    com.google.cloud.bigquery.storage.v1beta2.ReadSession>(
+                    service, METHODID_CREATE_READ_SESSION)))
         .addMethod(
-          getReadRowsMethod(),
-          io.grpc.stub.ServerCalls.asyncServerStreamingCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest,
-              com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse>(
-                service, METHODID_READ_ROWS)))
+            getReadRowsMethod(),
+            io.grpc.stub.ServerCalls.asyncServerStreamingCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest,
+                    com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse>(
+                    service, METHODID_READ_ROWS)))
         .addMethod(
-          getSplitReadStreamMethod(),
-          io.grpc.stub.ServerCalls.asyncUnaryCall(
-            new MethodHandlers<
-              com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest,
-              com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse>(
-                service, METHODID_SPLIT_READ_STREAM)))
+            getSplitReadStreamMethod(),
+            io.grpc.stub.ServerCalls.asyncUnaryCall(
+                new MethodHandlers<
+                    com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest,
+                    com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse>(
+                    service, METHODID_SPLIT_READ_STREAM)))
         .build();
   }
 
-  private static abstract class BigQueryReadBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class BigQueryReadBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     BigQueryReadBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -604,12 +724,14 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (BigQueryReadGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new BigQueryReadFileDescriptorSupplier())
-              .addMethod(getCreateReadSessionMethod())
-              .addMethod(getReadRowsMethod())
-              .addMethod(getSplitReadStreamMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new BigQueryReadFileDescriptorSupplier())
+                      .addMethod(getCreateReadSessionMethod())
+                      .addMethod(getReadRowsMethod())
+                      .addMethod(getSplitReadStreamMethod())
+                      .build();
         }
       }
     }
diff --git a/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java b/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java
new file mode 100644
index 0000000000..c9f9fa96d2
--- /dev/null
+++ b/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java
@@ -0,0 +1,1065 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.google.cloud.bigquery.storage.v1beta2;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ * 
+ * BigQuery Write API.
+ * The Write API can be used to write data to BigQuery.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/bigquery/storage/v1beta2/storage.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class BigQueryWriteGrpc { + + private BigQueryWriteGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.bigquery.storage.v1beta2.BigQueryWrite"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.WriteStream> + getCreateWriteStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateWriteStream", + requestType = com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.class, + responseType = com.google.cloud.bigquery.storage.v1beta2.WriteStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.WriteStream> + getCreateWriteStreamMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.WriteStream> + getCreateWriteStreamMethod; + if ((getCreateWriteStreamMethod = BigQueryWriteGrpc.getCreateWriteStreamMethod) == null) { + synchronized (BigQueryWriteGrpc.class) { + if ((getCreateWriteStreamMethod = BigQueryWriteGrpc.getCreateWriteStreamMethod) == null) { + BigQueryWriteGrpc.getCreateWriteStreamMethod = + getCreateWriteStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWriteStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.storage.v1beta2.WriteStream + .getDefaultInstance())) + .setSchemaDescriptor( + new BigQueryWriteMethodDescriptorSupplier("CreateWriteStream")) + .build(); + } + } + } + return getCreateWriteStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse> + getAppendRowsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AppendRows", + requestType = com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.class, + responseType = com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse> + getAppendRowsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse> + getAppendRowsMethod; + if ((getAppendRowsMethod = BigQueryWriteGrpc.getAppendRowsMethod) == null) { + synchronized (BigQueryWriteGrpc.class) { + if ((getAppendRowsMethod = BigQueryWriteGrpc.getAppendRowsMethod) == null) { + BigQueryWriteGrpc.getAppendRowsMethod = + getAppendRowsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AppendRows")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("AppendRows")) + .build(); + } + } + } + return getAppendRowsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.WriteStream> + getGetWriteStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetWriteStream", + requestType = com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.class, + responseType = com.google.cloud.bigquery.storage.v1beta2.WriteStream.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.WriteStream> + getGetWriteStreamMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.WriteStream> + getGetWriteStreamMethod; + if ((getGetWriteStreamMethod = BigQueryWriteGrpc.getGetWriteStreamMethod) == null) { + synchronized (BigQueryWriteGrpc.class) { + if ((getGetWriteStreamMethod = BigQueryWriteGrpc.getGetWriteStreamMethod) == null) { + BigQueryWriteGrpc.getGetWriteStreamMethod = + getGetWriteStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWriteStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.storage.v1beta2.WriteStream + .getDefaultInstance())) + .setSchemaDescriptor( + new BigQueryWriteMethodDescriptorSupplier("GetWriteStream")) + .build(); + } + } + } + return getGetWriteStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse> + getFinalizeWriteStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FinalizeWriteStream", + requestType = com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.class, + responseType = com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse> + getFinalizeWriteStreamMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse> + getFinalizeWriteStreamMethod; + if ((getFinalizeWriteStreamMethod = BigQueryWriteGrpc.getFinalizeWriteStreamMethod) == null) { + synchronized (BigQueryWriteGrpc.class) { + if ((getFinalizeWriteStreamMethod = BigQueryWriteGrpc.getFinalizeWriteStreamMethod) + == null) { + BigQueryWriteGrpc.getFinalizeWriteStreamMethod = + getFinalizeWriteStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "FinalizeWriteStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new BigQueryWriteMethodDescriptorSupplier("FinalizeWriteStream")) + .build(); + } + } + } + return getFinalizeWriteStreamMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest, + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse> + getBatchCommitWriteStreamsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCommitWriteStreams", + requestType = com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.class, + responseType = + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest, + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse> + getBatchCommitWriteStreamsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest, + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse> + getBatchCommitWriteStreamsMethod; + if ((getBatchCommitWriteStreamsMethod = BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod) + == null) { + synchronized (BigQueryWriteGrpc.class) { + if ((getBatchCommitWriteStreamsMethod = BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod) + == null) { + BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod = + getBatchCommitWriteStreamsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchCommitWriteStreams")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.storage.v1beta2 + .BatchCommitWriteStreamsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.storage.v1beta2 + .BatchCommitWriteStreamsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new BigQueryWriteMethodDescriptorSupplier("BatchCommitWriteStreams")) + .build(); + } + } + } + return getBatchCommitWriteStreamsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest, + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse> + getFlushRowsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FlushRows", + requestType = com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.class, + responseType = com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest, + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse> + getFlushRowsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest, + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse> + getFlushRowsMethod; + if ((getFlushRowsMethod = BigQueryWriteGrpc.getFlushRowsMethod) == null) { + synchronized (BigQueryWriteGrpc.class) { + if ((getFlushRowsMethod = BigQueryWriteGrpc.getFlushRowsMethod) == null) { + BigQueryWriteGrpc.getFlushRowsMethod = + getFlushRowsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FlushRows")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("FlushRows")) + .build(); + } + } + } + return getFlushRowsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static BigQueryWriteStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigQueryWriteStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigQueryWriteStub(channel, callOptions); + } + }; + return BigQueryWriteStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static BigQueryWriteBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigQueryWriteBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigQueryWriteBlockingStub(channel, callOptions); + } + }; + return BigQueryWriteBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static BigQueryWriteFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigQueryWriteFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigQueryWriteFutureStub(channel, callOptions); + } + }; + return BigQueryWriteFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * BigQuery Write API.
+   * The Write API can be used to write data to BigQuery.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Creates a write stream to the given table.
+     * Additionally, every table has a special COMMITTED stream named '_default'
+     * to which data can be written. This stream doesn't need to be created using
+     * CreateWriteStream. It is a stream that can be used simultaneously by any
+     * number of clients. Data written to this stream is considered committed as
+     * soon as an acknowledgement is received.
+     * 
+ */ + default void createWriteStream( + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateWriteStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Appends data to the given stream.
+     * If `offset` is specified, the `offset` is checked against the end of
+     * stream. The server returns `OUT_OF_RANGE` in `AppendRowsResponse` if an
+     * attempt is made to append to an offset beyond the current end of the stream
+     * or `ALREADY_EXISTS` if user provids an `offset` that has already been
+     * written to. User can retry with adjusted offset within the same RPC
+     * stream. If `offset` is not specified, append happens at the end of the
+     * stream.
+     * The response contains the offset at which the append happened. Responses
+     * are received in the same order in which requests are sent. There will be
+     * one response for each successful request. If the `offset` is not set in
+     * response, it means append didn't happen due to some errors. If one request
+     * fails, all the subsequent requests will also fail until a success request
+     * is made again.
+     * If the stream is of `PENDING` type, data will only be available for read
+     * operations after the stream is committed.
+     * 
+ */ + default io.grpc.stub.StreamObserver + appendRows( + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse> + responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall( + getAppendRowsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a write stream.
+     * 
+ */ + default void getWriteStream( + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetWriteStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Finalize a write stream so that no new data can be appended to the
+     * stream. Finalize is not supported on the '_default' stream.
+     * 
+ */ + default void finalizeWriteStream( + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFinalizeWriteStreamMethod(), responseObserver); + } + + /** + * + * + *
+     * Atomically commits a group of `PENDING` streams that belong to the same
+     * `parent` table.
+     * Streams must be finalized before commit and cannot be committed multiple
+     * times. Once a stream is committed, data in the stream becomes available
+     * for read operations.
+     * 
+ */ + default void batchCommitWriteStreams( + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCommitWriteStreamsMethod(), responseObserver); + } + + /** + * + * + *
+     * Flushes rows to a BUFFERED stream.
+     * If users are appending rows to BUFFERED stream, flush operation is
+     * required in order for the rows to become available for reading. A
+     * Flush operation flushes up to any previously flushed offset in a BUFFERED
+     * stream, to the offset specified in the request.
+     * Flush is not supported on the _default stream, since it is not BUFFERED.
+     * 
+ */ + default void flushRows( + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFlushRowsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service BigQueryWrite. + * + *
+   * BigQuery Write API.
+   * The Write API can be used to write data to BigQuery.
+   * 
+ */ + public abstract static class BigQueryWriteImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return BigQueryWriteGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service BigQueryWrite. + * + *
+   * BigQuery Write API.
+   * The Write API can be used to write data to BigQuery.
+   * 
+ */ + public static final class BigQueryWriteStub + extends io.grpc.stub.AbstractAsyncStub { + private BigQueryWriteStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigQueryWriteStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigQueryWriteStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a write stream to the given table.
+     * Additionally, every table has a special COMMITTED stream named '_default'
+     * to which data can be written. This stream doesn't need to be created using
+     * CreateWriteStream. It is a stream that can be used simultaneously by any
+     * number of clients. Data written to this stream is considered committed as
+     * soon as an acknowledgement is received.
+     * 
+ */ + public void createWriteStream( + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateWriteStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Appends data to the given stream.
+     * If `offset` is specified, the `offset` is checked against the end of
+     * stream. The server returns `OUT_OF_RANGE` in `AppendRowsResponse` if an
+     * attempt is made to append to an offset beyond the current end of the stream
+     * or `ALREADY_EXISTS` if user provids an `offset` that has already been
+     * written to. User can retry with adjusted offset within the same RPC
+     * stream. If `offset` is not specified, append happens at the end of the
+     * stream.
+     * The response contains the offset at which the append happened. Responses
+     * are received in the same order in which requests are sent. There will be
+     * one response for each successful request. If the `offset` is not set in
+     * response, it means append didn't happen due to some errors. If one request
+     * fails, all the subsequent requests will also fail until a success request
+     * is made again.
+     * If the stream is of `PENDING` type, data will only be available for read
+     * operations after the stream is committed.
+     * 
+ */ + public io.grpc.stub.StreamObserver + appendRows( + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse> + responseObserver) { + return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( + getChannel().newCall(getAppendRowsMethod(), getCallOptions()), responseObserver); + } + + /** + * + * + *
+     * Gets a write stream.
+     * 
+ */ + public void getWriteStream( + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetWriteStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Finalize a write stream so that no new data can be appended to the
+     * stream. Finalize is not supported on the '_default' stream.
+     * 
+ */ + public void finalizeWriteStream( + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFinalizeWriteStreamMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Atomically commits a group of `PENDING` streams that belong to the same
+     * `parent` table.
+     * Streams must be finalized before commit and cannot be committed multiple
+     * times. Once a stream is committed, data in the stream becomes available
+     * for read operations.
+     * 
+ */ + public void batchCommitWriteStreams( + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCommitWriteStreamsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Flushes rows to a BUFFERED stream.
+     * If users are appending rows to BUFFERED stream, flush operation is
+     * required in order for the rows to become available for reading. A
+     * Flush operation flushes up to any previously flushed offset in a BUFFERED
+     * stream, to the offset specified in the request.
+     * Flush is not supported on the _default stream, since it is not BUFFERED.
+     * 
+ */ + public void flushRows( + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFlushRowsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service BigQueryWrite. + * + *
+   * BigQuery Write API.
+   * The Write API can be used to write data to BigQuery.
+   * 
+ */ + public static final class BigQueryWriteBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BigQueryWriteBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigQueryWriteBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigQueryWriteBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a write stream to the given table.
+     * Additionally, every table has a special COMMITTED stream named '_default'
+     * to which data can be written. This stream doesn't need to be created using
+     * CreateWriteStream. It is a stream that can be used simultaneously by any
+     * number of clients. Data written to this stream is considered committed as
+     * soon as an acknowledgement is received.
+     * 
+ */ + public com.google.cloud.bigquery.storage.v1beta2.WriteStream createWriteStream( + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateWriteStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a write stream.
+     * 
+ */ + public com.google.cloud.bigquery.storage.v1beta2.WriteStream getWriteStream( + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetWriteStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Finalize a write stream so that no new data can be appended to the
+     * stream. Finalize is not supported on the '_default' stream.
+     * 
+ */ + public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse + finalizeWriteStream( + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFinalizeWriteStreamMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Atomically commits a group of `PENDING` streams that belong to the same
+     * `parent` table.
+     * Streams must be finalized before commit and cannot be committed multiple
+     * times. Once a stream is committed, data in the stream becomes available
+     * for read operations.
+     * 
+ */ + public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse + batchCommitWriteStreams( + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCommitWriteStreamsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Flushes rows to a BUFFERED stream.
+     * If users are appending rows to BUFFERED stream, flush operation is
+     * required in order for the rows to become available for reading. A
+     * Flush operation flushes up to any previously flushed offset in a BUFFERED
+     * stream, to the offset specified in the request.
+     * Flush is not supported on the _default stream, since it is not BUFFERED.
+     * 
+ */ + public com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse flushRows( + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFlushRowsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service BigQueryWrite. + * + *
+   * BigQuery Write API.
+   * The Write API can be used to write data to BigQuery.
+   * 
+ */ + public static final class BigQueryWriteFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BigQueryWriteFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigQueryWriteFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigQueryWriteFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a write stream to the given table.
+     * Additionally, every table has a special COMMITTED stream named '_default'
+     * to which data can be written. This stream doesn't need to be created using
+     * CreateWriteStream. It is a stream that can be used simultaneously by any
+     * number of clients. Data written to this stream is considered committed as
+     * soon as an acknowledgement is received.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.storage.v1beta2.WriteStream> + createWriteStream( + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateWriteStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a write stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.storage.v1beta2.WriteStream> + getWriteStream(com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetWriteStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Finalize a write stream so that no new data can be appended to the
+     * stream. Finalize is not supported on the '_default' stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse> + finalizeWriteStream( + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFinalizeWriteStreamMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Atomically commits a group of `PENDING` streams that belong to the same
+     * `parent` table.
+     * Streams must be finalized before commit and cannot be committed multiple
+     * times. Once a stream is committed, data in the stream becomes available
+     * for read operations.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse> + batchCommitWriteStreams( + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCommitWriteStreamsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Flushes rows to a BUFFERED stream.
+     * If users are appending rows to BUFFERED stream, flush operation is
+     * required in order for the rows to become available for reading. A
+     * Flush operation flushes up to any previously flushed offset in a BUFFERED
+     * stream, to the offset specified in the request.
+     * Flush is not supported on the _default stream, since it is not BUFFERED.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse> + flushRows(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFlushRowsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_WRITE_STREAM = 0; + private static final int METHODID_GET_WRITE_STREAM = 1; + private static final int METHODID_FINALIZE_WRITE_STREAM = 2; + private static final int METHODID_BATCH_COMMIT_WRITE_STREAMS = 3; + private static final int METHODID_FLUSH_ROWS = 4; + private static final int METHODID_APPEND_ROWS = 5; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_WRITE_STREAM: + serviceImpl.createWriteStream( + (com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_WRITE_STREAM: + serviceImpl.getWriteStream( + (com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_FINALIZE_WRITE_STREAM: + serviceImpl.finalizeWriteStream( + (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse>) + responseObserver); + break; + case METHODID_BATCH_COMMIT_WRITE_STREAMS: + serviceImpl.batchCommitWriteStreams( + (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse>) + responseObserver); + break; + case METHODID_FLUSH_ROWS: + serviceImpl.flushRows( + (com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_APPEND_ROWS: + return (io.grpc.stub.StreamObserver) + serviceImpl.appendRows( + (io.grpc.stub.StreamObserver< + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse>) + responseObserver); + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateWriteStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.WriteStream>( + service, METHODID_CREATE_WRITE_STREAM))) + .addMethod( + getAppendRowsMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse>( + service, METHODID_APPEND_ROWS))) + .addMethod( + getGetWriteStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.WriteStream>( + service, METHODID_GET_WRITE_STREAM))) + .addMethod( + getFinalizeWriteStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse>( + service, METHODID_FINALIZE_WRITE_STREAM))) + .addMethod( + getBatchCommitWriteStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest, + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse>( + service, METHODID_BATCH_COMMIT_WRITE_STREAMS))) + .addMethod( + getFlushRowsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest, + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse>( + service, METHODID_FLUSH_ROWS))) + .build(); + } + + private abstract static class BigQueryWriteBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BigQueryWriteBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("BigQueryWrite"); + } + } + + private static final class BigQueryWriteFileDescriptorSupplier + extends BigQueryWriteBaseDescriptorSupplier { + BigQueryWriteFileDescriptorSupplier() {} + } + + private static final class BigQueryWriteMethodDescriptorSupplier + extends BigQueryWriteBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + BigQueryWriteMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (BigQueryWriteGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BigQueryWriteFileDescriptorSupplier()) + .addMethod(getCreateWriteStreamMethod()) + .addMethod(getAppendRowsMethod()) + .addMethod(getGetWriteStreamMethod()) + .addMethod(getFinalizeWriteStreamMethod()) + .addMethod(getBatchCommitWriteStreamsMethod()) + .addMethod(getFlushRowsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStubSettings.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStubSettings.java deleted file mode 100644 index ea6001f7cb..0000000000 --- a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStubSettings.java +++ /dev/null @@ -1,369 +0,0 @@ -/* - * 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. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.bigquery.storage.v1.stub; - -import com.google.api.core.ApiFunction; -import com.google.api.core.BetaApi; -import com.google.api.gax.core.GaxProperties; -import com.google.api.gax.core.GoogleCredentialsProvider; -import com.google.api.gax.core.InstantiatingExecutorProvider; -import com.google.api.gax.grpc.GaxGrpcProperties; -import com.google.api.gax.grpc.GrpcTransportChannel; -import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.retrying.RetrySettings; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.ServerStreamingCallSettings; -import com.google.api.gax.rpc.StatusCode; -import com.google.api.gax.rpc.StubSettings; -import com.google.api.gax.rpc.TransportChannelProvider; -import com.google.api.gax.rpc.UnaryCallSettings; -import com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest; -import com.google.cloud.bigquery.storage.v1.ReadRowsRequest; -import com.google.cloud.bigquery.storage.v1.ReadRowsResponse; -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.ImmutableList; -import com.google.common.collect.ImmutableMap; -import com.google.common.collect.ImmutableSet; -import com.google.common.collect.Lists; -import java.io.IOException; -import java.util.List; -import javax.annotation.Generated; -import org.threeten.bp.Duration; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Settings class to configure an instance of {@link BigQueryReadStub}. - * - *

The default instance has everything set to sensible defaults: - * - *

    - *
  • The default service address (bigquerystorage.googleapis.com) and default port (443) are - * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. - *
- * - *

The builder of this class is recursive, so contained classes are themselves builders. When - * build() is called, the tree of builders is called to create the complete settings object. - * - *

For example, to set the total timeout of createReadSession to 30 seconds: - * - *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * BigQueryReadStubSettings.Builder baseBigQueryReadSettingsBuilder =
- *     BigQueryReadStubSettings.newBuilder();
- * baseBigQueryReadSettingsBuilder
- *     .createReadSessionSettings()
- *     .setRetrySettings(
- *         baseBigQueryReadSettingsBuilder
- *             .createReadSessionSettings()
- *             .getRetrySettings()
- *             .toBuilder()
- *             .setTotalTimeout(Duration.ofSeconds(30))
- *             .build());
- * BigQueryReadStubSettings baseBigQueryReadSettings = baseBigQueryReadSettingsBuilder.build();
- * }
- */ -@Generated("by gapic-generator-java") -public class BigQueryReadStubSettings extends StubSettings { - /** The default scopes of the service. */ - private static final ImmutableList DEFAULT_SERVICE_SCOPES = - ImmutableList.builder() - .add("https://www.googleapis.com/auth/bigquery") - .add("https://www.googleapis.com/auth/cloud-platform") - .build(); - - private final UnaryCallSettings createReadSessionSettings; - private final ServerStreamingCallSettings readRowsSettings; - private final UnaryCallSettings - splitReadStreamSettings; - - /** Returns the object with the settings used for calls to createReadSession. */ - public UnaryCallSettings createReadSessionSettings() { - return createReadSessionSettings; - } - - /** Returns the object with the settings used for calls to readRows. */ - public ServerStreamingCallSettings readRowsSettings() { - return readRowsSettings; - } - - /** Returns the object with the settings used for calls to splitReadStream. */ - public UnaryCallSettings - splitReadStreamSettings() { - return splitReadStreamSettings; - } - - public BigQueryReadStub createStub() throws IOException { - if (getTransportChannelProvider() - .getTransportName() - .equals(GrpcTransportChannel.getGrpcTransportName())) { - return GrpcBigQueryReadStub.create(this); - } - throw new UnsupportedOperationException( - String.format( - "Transport not supported: %s", getTransportChannelProvider().getTransportName())); - } - - /** Returns a builder for the default ExecutorProvider for this service. */ - public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { - return InstantiatingExecutorProvider.newBuilder(); - } - - /** Returns the default service endpoint. */ - public static String getDefaultEndpoint() { - return "bigquerystorage.googleapis.com:443"; - } - - /** Returns the default mTLS service endpoint. */ - public static String getDefaultMtlsEndpoint() { - return "bigquerystorage.mtls.googleapis.com:443"; - } - - /** Returns the default service scopes. */ - public static List getDefaultServiceScopes() { - return DEFAULT_SERVICE_SCOPES; - } - - /** Returns a builder for the default credentials for this service. */ - public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { - return GoogleCredentialsProvider.newBuilder() - .setScopesToApply(DEFAULT_SERVICE_SCOPES) - .setUseJwtAccessWithScope(true); - } - - /** Returns a builder for the default ChannelProvider for this service. */ - public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { - return InstantiatingGrpcChannelProvider.newBuilder() - .setMaxInboundMessageSize(Integer.MAX_VALUE); - } - - public static TransportChannelProvider defaultTransportChannelProvider() { - return defaultGrpcTransportProviderBuilder().build(); - } - - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { - return ApiClientHeaderProvider.newBuilder() - .setGeneratedLibToken( - "gapic", GaxProperties.getLibraryVersion(BigQueryReadStubSettings.class)) - .setTransportToken( - GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder() { - return Builder.createDefault(); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder(ClientContext clientContext) { - return new Builder(clientContext); - } - - /** Returns a builder containing all the values of this settings class. */ - public Builder toBuilder() { - return new Builder(this); - } - - protected BigQueryReadStubSettings(Builder settingsBuilder) throws IOException { - super(settingsBuilder); - - createReadSessionSettings = settingsBuilder.createReadSessionSettings().build(); - readRowsSettings = settingsBuilder.readRowsSettings().build(); - splitReadStreamSettings = settingsBuilder.splitReadStreamSettings().build(); - } - - /** Builder for BigQueryReadStubSettings. */ - public static class Builder extends StubSettings.Builder { - private final ImmutableList> unaryMethodSettingsBuilders; - private final UnaryCallSettings.Builder - createReadSessionSettings; - private final ServerStreamingCallSettings.Builder - readRowsSettings; - private final UnaryCallSettings.Builder - splitReadStreamSettings; - private static final ImmutableMap> - RETRYABLE_CODE_DEFINITIONS; - - static { - ImmutableMap.Builder> definitions = - ImmutableMap.builder(); - definitions.put( - "retry_policy_0_codes", - ImmutableSet.copyOf( - Lists.newArrayList( - StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); - definitions.put( - "retry_policy_1_codes", - ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); - definitions.put( - "retry_policy_2_codes", - ImmutableSet.copyOf( - Lists.newArrayList( - StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); - RETRYABLE_CODE_DEFINITIONS = definitions.build(); - } - - private static final ImmutableMap RETRY_PARAM_DEFINITIONS; - - static { - ImmutableMap.Builder definitions = ImmutableMap.builder(); - RetrySettings settings = null; - settings = - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(100L)) - .setRetryDelayMultiplier(1.3) - .setMaxRetryDelay(Duration.ofMillis(60000L)) - .setInitialRpcTimeout(Duration.ofMillis(600000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(600000L)) - .setTotalTimeout(Duration.ofMillis(600000L)) - .build(); - definitions.put("retry_policy_0_params", settings); - settings = - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(100L)) - .setRetryDelayMultiplier(1.3) - .setMaxRetryDelay(Duration.ofMillis(60000L)) - .setInitialRpcTimeout(Duration.ofMillis(86400000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(86400000L)) - .setTotalTimeout(Duration.ofMillis(86400000L)) - .build(); - definitions.put("retry_policy_1_params", settings); - settings = - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(100L)) - .setRetryDelayMultiplier(1.3) - .setMaxRetryDelay(Duration.ofMillis(60000L)) - .setInitialRpcTimeout(Duration.ofMillis(600000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(600000L)) - .setTotalTimeout(Duration.ofMillis(600000L)) - .build(); - definitions.put("retry_policy_2_params", settings); - RETRY_PARAM_DEFINITIONS = definitions.build(); - } - - protected Builder() { - this(((ClientContext) null)); - } - - protected Builder(ClientContext clientContext) { - super(clientContext); - - createReadSessionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - readRowsSettings = ServerStreamingCallSettings.newBuilder(); - splitReadStreamSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - - unaryMethodSettingsBuilders = - ImmutableList.>of( - createReadSessionSettings, splitReadStreamSettings); - initDefaults(this); - } - - protected Builder(BigQueryReadStubSettings settings) { - super(settings); - - createReadSessionSettings = settings.createReadSessionSettings.toBuilder(); - readRowsSettings = settings.readRowsSettings.toBuilder(); - splitReadStreamSettings = settings.splitReadStreamSettings.toBuilder(); - - unaryMethodSettingsBuilders = - ImmutableList.>of( - createReadSessionSettings, splitReadStreamSettings); - } - - private static Builder createDefault() { - Builder builder = new Builder(((ClientContext) null)); - - builder.setTransportChannelProvider(defaultTransportChannelProvider()); - builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); - builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); - builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); - builder.setSwitchToMtlsEndpointAllowed(true); - - return initDefaults(builder); - } - - private static Builder initDefaults(Builder builder) { - builder - .createReadSessionSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); - - builder - .readRowsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); - - builder - .splitReadStreamSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); - - return builder; - } - - /** - * Applies the given settings updater function to all of the unary API methods in this service. - * - *

Note: This method does not support applying settings to streaming methods. - */ - public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) { - super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); - return this; - } - - public ImmutableList> unaryMethodSettingsBuilders() { - return unaryMethodSettingsBuilders; - } - - /** Returns the builder for the settings used for calls to createReadSession. */ - public UnaryCallSettings.Builder - createReadSessionSettings() { - return createReadSessionSettings; - } - - /** Returns the builder for the settings used for calls to readRows. */ - public ServerStreamingCallSettings.Builder - readRowsSettings() { - return readRowsSettings; - } - - /** Returns the builder for the settings used for calls to splitReadStream. */ - public UnaryCallSettings.Builder - splitReadStreamSettings() { - return splitReadStreamSettings; - } - - @Override - public BigQueryReadStubSettings build() throws IOException { - return new BigQueryReadStubSettings(this); - } - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AnnotationsProto.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AnnotationsProto.java deleted file mode 100644 index 112c4b0762..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AnnotationsProto.java +++ /dev/null @@ -1,74 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/annotations.proto - -package com.google.cloud.bigquery.storage.v1; - -public final class AnnotationsProto { - private AnnotationsProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - registry.add(com.google.cloud.bigquery.storage.v1.AnnotationsProto.columnName); - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - public static final int COLUMN_NAME_FIELD_NUMBER = 454943157; - /** - *

-   * Setting the column_name extension allows users to reference
-   * bigquery column independently of the field name in the protocol buffer
-   * message.
-   *
-   * The intended use of this annotation is to reference a destination column
-   * named using characters unavailable for protobuf field names (e.g. unicode
-   * characters).
-   *
-   * More details about BigQuery naming limitations can be found here:
-   * https://cloud.google.com/bigquery/docs/schemas#column_names
-   *
-   * This extension is currently experimental.
-   * 
- * - * extend .google.protobuf.FieldOptions { ... } - */ - public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FieldOptions, - java.lang.String> columnName = com.google.protobuf.GeneratedMessage - .newFileScopedGeneratedExtension( - java.lang.String.class, - null); - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/cloud/bigquery/storage/v1/annot" + - "ations.proto\022 google.cloud.bigquery.stor" + - "age.v1\032 google/protobuf/descriptor.proto" + - ":9\n\013column_name\022\035.google.protobuf.FieldO" + - "ptions\030\265\303\367\330\001 \001(\t\210\001\001B\300\001\n$com.google.cloud" + - ".bigquery.storage.v1B\020AnnotationsProtoP\001" + - "Z>cloud.google.com/go/bigquery/storage/a" + - "piv1/storagepb;storagepb\252\002 Google.Cloud." + - "BigQuery.Storage.V1\312\002 Google\\Cloud\\BigQu" + - "ery\\Storage\\V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DescriptorProtos.getDescriptor(), - }); - columnName.internalInit(descriptor.getExtensions().get(0)); - com.google.protobuf.DescriptorProtos.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java deleted file mode 100644 index 14ee256f03..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java +++ /dev/null @@ -1,83 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/arrow.proto - -package com.google.cloud.bigquery.storage.v1; - -public final class ArrowProto { - private ArrowProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n,google/cloud/bigquery/storage/v1/arrow" + - ".proto\022 google.cloud.bigquery.storage.v1" + - "\"(\n\013ArrowSchema\022\031\n\021serialized_schema\030\001 \001" + - "(\014\"J\n\020ArrowRecordBatch\022\037\n\027serialized_rec" + - "ord_batch\030\001 \001(\014\022\025\n\trow_count\030\002 \001(\003B\002\030\001\"\317" + - "\001\n\031ArrowSerializationOptions\022h\n\022buffer_c" + - "ompression\030\002 \001(\0162L.google.cloud.bigquery" + - ".storage.v1.ArrowSerializationOptions.Co" + - "mpressionCodec\"H\n\020CompressionCodec\022\033\n\027CO" + - "MPRESSION_UNSPECIFIED\020\000\022\r\n\tLZ4_FRAME\020\001\022\010" + - "\n\004ZSTD\020\002B\272\001\n$com.google.cloud.bigquery.s" + - "torage.v1B\nArrowProtoP\001Z>cloud.google.co" + - "m/go/bigquery/storage/apiv1/storagepb;st" + - "oragepb\252\002 Google.Cloud.BigQuery.Storage." + - "V1\312\002 Google\\Cloud\\BigQuery\\Storage\\V1b\006p" + - "roto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor, - new java.lang.String[] { "SerializedSchema", }); - internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor, - new java.lang.String[] { "SerializedRecordBatch", "RowCount", }); - internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor, - new java.lang.String[] { "BufferCompression", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java deleted file mode 100644 index 5a10e618b2..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/arrow.proto - -package com.google.cloud.bigquery.storage.v1; - -public interface ArrowSchemaOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ArrowSchema) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * IPC serialized Arrow schema.
-   * 
- * - * bytes serialized_schema = 1; - * @return The serializedSchema. - */ - com.google.protobuf.ByteString getSerializedSchema(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java deleted file mode 100644 index 902c0cf3a1..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/arrow.proto - -package com.google.cloud.bigquery.storage.v1; - -public interface ArrowSerializationOptionsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ArrowSerializationOptions) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The compression codec to use for Arrow buffers in serialized record
-   * batches.
-   * 
- * - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; - * @return The enum numeric value on the wire for bufferCompression. - */ - int getBufferCompressionValue(); - /** - *
-   * The compression codec to use for Arrow buffers in serialized record
-   * batches.
-   * 
- * - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; - * @return The bufferCompression. - */ - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec getBufferCompression(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroProto.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroProto.java deleted file mode 100644 index 9d10e926dc..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroProto.java +++ /dev/null @@ -1,78 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/avro.proto - -package com.google.cloud.bigquery.storage.v1; - -public final class AvroProto { - private AvroProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n+google/cloud/bigquery/storage/v1/avro." + - "proto\022 google.cloud.bigquery.storage.v1\"" + - "\034\n\nAvroSchema\022\016\n\006schema\030\001 \001(\t\"A\n\010AvroRow" + - "s\022\036\n\026serialized_binary_rows\030\001 \001(\014\022\025\n\trow" + - "_count\030\002 \001(\003B\002\030\001\"A\n\030AvroSerializationOpt" + - "ions\022%\n\035enable_display_name_attribute\030\001 " + - "\001(\010B\271\001\n$com.google.cloud.bigquery.storag" + - "e.v1B\tAvroProtoP\001Z>cloud.google.com/go/b" + - "igquery/storage/apiv1/storagepb;storagep" + - "b\252\002 Google.Cloud.BigQuery.Storage.V1\312\002 G" + - "oogle\\Cloud\\BigQuery\\Storage\\V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor, - new java.lang.String[] { "Schema", }); - internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor, - new java.lang.String[] { "SerializedBinaryRows", "RowCount", }); - internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor, - new java.lang.String[] { "EnableDisplayNameAttribute", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequestOrBuilder.java deleted file mode 100644 index dc9030be18..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/storage.proto - -package com.google.cloud.bigquery.storage.v1; - -public interface CreateWriteStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Reference to the table to which the stream belongs, in the format
-   * of `projects/{project}/datasets/{dataset}/tables/{table}`.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. Reference to the table to which the stream belongs, in the format
-   * of `projects/{project}/datasets/{dataset}/tables/{table}`.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. Stream to be created.
-   * 
- * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the writeStream field is set. - */ - boolean hasWriteStream(); - /** - *
-   * Required. Stream to be created.
-   * 
- * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The writeStream. - */ - com.google.cloud.bigquery.storage.v1.WriteStream getWriteStream(); - /** - *
-   * Required. Stream to be created.
-   * 
- * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder getWriteStreamOrBuilder(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequestOrBuilder.java deleted file mode 100644 index f1f0861c0f..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/storage.proto - -package com.google.cloud.bigquery.storage.v1; - -public interface FinalizeWriteStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the stream to finalize, in the form of
-   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the stream to finalize, in the form of
-   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponseOrBuilder.java deleted file mode 100644 index e118c45f70..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponseOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/storage.proto - -package com.google.cloud.bigquery.storage.v1; - -public interface FinalizeWriteStreamResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Number of rows in the finalized stream.
-   * 
- * - * int64 row_count = 1; - * @return The rowCount. - */ - long getRowCount(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponseOrBuilder.java deleted file mode 100644 index cefdb2bb27..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponseOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/storage.proto - -package com.google.cloud.bigquery.storage.v1; - -public interface FlushRowsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.FlushRowsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The rows before this offset (including this offset) are flushed.
-   * 
- * - * int64 offset = 1; - * @return The offset. - */ - long getOffset(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoBufProto.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoBufProto.java deleted file mode 100644 index 4ed7b7b037..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoBufProto.java +++ /dev/null @@ -1,69 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/protobuf.proto - -package com.google.cloud.bigquery.storage.v1; - -public final class ProtoBufProto { - private ProtoBufProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/bigquery/storage/v1/proto" + - "buf.proto\022 google.cloud.bigquery.storage" + - ".v1\032 google/protobuf/descriptor.proto\"I\n" + - "\013ProtoSchema\022:\n\020proto_descriptor\030\001 \001(\0132 " + - ".google.protobuf.DescriptorProto\"$\n\tProt" + - "oRows\022\027\n\017serialized_rows\030\001 \003(\014B\275\001\n$com.g" + - "oogle.cloud.bigquery.storage.v1B\rProtoBu" + - "fProtoP\001Z>cloud.google.com/go/bigquery/s" + - "torage/apiv1/storagepb;storagepb\252\002 Googl" + - "e.Cloud.BigQuery.Storage.V1\312\002 Google\\Clo" + - "ud\\BigQuery\\Storage\\V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DescriptorProtos.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor, - new java.lang.String[] { "ProtoDescriptor", }); - internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor, - new java.lang.String[] { "SerializedRows", }); - com.google.protobuf.DescriptorProtos.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java deleted file mode 100644 index a695b011a8..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/storage.proto - -package com.google.cloud.bigquery.storage.v1; - -public interface ReadRowsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ReadRowsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Stream to read rows from.
-   * 
- * - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The readStream. - */ - java.lang.String getReadStream(); - /** - *
-   * Required. Stream to read rows from.
-   * 
- * - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for readStream. - */ - com.google.protobuf.ByteString - getReadStreamBytes(); - - /** - *
-   * The offset requested must be less than the last row read from Read.
-   * Requesting a larger offset is undefined. If not specified, start reading
-   * from offset zero.
-   * 
- * - * int64 offset = 2; - * @return The offset. - */ - long getOffset(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java deleted file mode 100644 index ee260187c0..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java +++ /dev/null @@ -1,502 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/storage.proto - -package com.google.cloud.bigquery.storage.v1; - -public final class StorageProto { - private StorageProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n.google/cloud/bigquery/storage/v1/stora" + - "ge.proto\022 google.cloud.bigquery.storage." + - "v1\032\034google/api/annotations.proto\032\027google" + - "/api/client.proto\032\037google/api/field_beha" + - "vior.proto\032\031google/api/resource.proto\032,g" + - "oogle/cloud/bigquery/storage/v1/arrow.pr" + - "oto\032+google/cloud/bigquery/storage/v1/av" + - "ro.proto\032/google/cloud/bigquery/storage/" + - "v1/protobuf.proto\032-google/cloud/bigquery" + - "/storage/v1/stream.proto\032,google/cloud/b" + - "igquery/storage/v1/table.proto\032\037google/p" + - "rotobuf/timestamp.proto\032\036google/protobuf" + - "/wrappers.proto\032\027google/rpc/status.proto" + - "\"\351\001\n\030CreateReadSessionRequest\022D\n\006parent\030" + - "\001 \001(\tB4\342A\001\002\372A-\n+cloudresourcemanager.goo" + - "gleapis.com/Project\022I\n\014read_session\030\002 \001(" + - "\0132-.google.cloud.bigquery.storage.v1.Rea" + - "dSessionB\004\342A\001\002\022\030\n\020max_stream_count\030\003 \001(\005" + - "\022\"\n\032preferred_min_stream_count\030\004 \001(\005\"j\n\017" + - "ReadRowsRequest\022G\n\013read_stream\030\001 \001(\tB2\342A" + - "\001\002\372A+\n)bigquerystorage.googleapis.com/Re" + - "adStream\022\016\n\006offset\030\002 \001(\003\")\n\rThrottleStat" + - "e\022\030\n\020throttle_percent\030\001 \001(\005\"\227\001\n\013StreamSt" + - "ats\022H\n\010progress\030\002 \001(\01326.google.cloud.big" + - "query.storage.v1.StreamStats.Progress\032>\n" + - "\010Progress\022\031\n\021at_response_start\030\001 \001(\001\022\027\n\017" + - "at_response_end\030\002 \001(\001\"\351\003\n\020ReadRowsRespon" + - "se\022?\n\tavro_rows\030\003 \001(\0132*.google.cloud.big" + - "query.storage.v1.AvroRowsH\000\022P\n\022arrow_rec" + - "ord_batch\030\004 \001(\01322.google.cloud.bigquery." + - "storage.v1.ArrowRecordBatchH\000\022\021\n\trow_cou" + - "nt\030\006 \001(\003\022<\n\005stats\030\002 \001(\0132-.google.cloud.b" + - "igquery.storage.v1.StreamStats\022G\n\016thrott" + - "le_state\030\005 \001(\0132/.google.cloud.bigquery.s" + - "torage.v1.ThrottleState\022I\n\013avro_schema\030\007" + - " \001(\0132,.google.cloud.bigquery.storage.v1." + - "AvroSchemaB\004\342A\001\003H\001\022K\n\014arrow_schema\030\010 \001(\013" + - "2-.google.cloud.bigquery.storage.v1.Arro" + - "wSchemaB\004\342A\001\003H\001B\006\n\004rowsB\010\n\006schema\"l\n\026Spl" + - "itReadStreamRequest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372" + - "A+\n)bigquerystorage.googleapis.com/ReadS" + - "tream\022\020\n\010fraction\030\002 \001(\001\"\247\001\n\027SplitReadStr" + - "eamResponse\022D\n\016primary_stream\030\001 \001(\0132,.go" + - "ogle.cloud.bigquery.storage.v1.ReadStrea" + - "m\022F\n\020remainder_stream\030\002 \001(\0132,.google.clo" + - "ud.bigquery.storage.v1.ReadStream\"\235\001\n\030Cr" + - "eateWriteStreamRequest\0226\n\006parent\030\001 \001(\tB&" + - "\342A\001\002\372A\037\n\035bigquery.googleapis.com/Table\022I" + - "\n\014write_stream\030\002 \001(\0132-.google.cloud.bigq" + - "uery.storage.v1.WriteStreamB\004\342A\001\002\"\212\006\n\021Ap" + - "pendRowsRequest\022I\n\014write_stream\030\001 \001(\tB3\342" + - "A\001\002\372A,\n*bigquerystorage.googleapis.com/W" + - "riteStream\022+\n\006offset\030\002 \001(\0132\033.google.prot" + - "obuf.Int64Value\022S\n\nproto_rows\030\004 \001(\0132=.go" + - "ogle.cloud.bigquery.storage.v1.AppendRow" + - "sRequest.ProtoDataH\000\022\020\n\010trace_id\030\006 \001(\t\022{" + - "\n\035missing_value_interpretations\030\007 \003(\0132T." + - "google.cloud.bigquery.storage.v1.AppendR" + - "owsRequest.MissingValueInterpretationsEn" + - "try\032\214\001\n\tProtoData\022D\n\rwriter_schema\030\001 \001(\013" + - "2-.google.cloud.bigquery.storage.v1.Prot" + - "oSchema\0229\n\004rows\030\002 \001(\0132+.google.cloud.big" + - "query.storage.v1.ProtoRows\032\222\001\n MissingVa" + - "lueInterpretationsEntry\022\013\n\003key\030\001 \001(\t\022]\n\005" + - "value\030\002 \001(\0162N.google.cloud.bigquery.stor" + - "age.v1.AppendRowsRequest.MissingValueInt" + - "erpretation:\0028\001\"m\n\032MissingValueInterpret" + - "ation\022,\n(MISSING_VALUE_INTERPRETATION_UN" + - "SPECIFIED\020\000\022\016\n\nNULL_VALUE\020\001\022\021\n\rDEFAULT_V" + - "ALUE\020\002B\006\n\004rows\"\373\002\n\022AppendRowsResponse\022Z\n" + - "\rappend_result\030\001 \001(\0132A.google.cloud.bigq" + - "uery.storage.v1.AppendRowsResponse.Appen" + - "dResultH\000\022#\n\005error\030\002 \001(\0132\022.google.rpc.St" + - "atusH\000\022E\n\016updated_schema\030\003 \001(\0132-.google." + - "cloud.bigquery.storage.v1.TableSchema\022>\n" + - "\nrow_errors\030\004 \003(\0132*.google.cloud.bigquer" + - "y.storage.v1.RowError\022\024\n\014write_stream\030\005 " + - "\001(\t\032;\n\014AppendResult\022+\n\006offset\030\001 \001(\0132\033.go" + - "ogle.protobuf.Int64ValueB\n\n\010response\"\233\001\n" + - "\025GetWriteStreamRequest\022A\n\004name\030\001 \001(\tB3\342A" + - "\001\002\372A,\n*bigquerystorage.googleapis.com/Wr" + - "iteStream\022?\n\004view\030\003 \001(\01621.google.cloud.b" + - "igquery.storage.v1.WriteStreamView\"u\n\036Ba" + - "tchCommitWriteStreamsRequest\0226\n\006parent\030\001" + - " \001(\tB&\342A\001\002\372A\037\n\035bigquery.googleapis.com/T" + - "able\022\033\n\rwrite_streams\030\002 \003(\tB\004\342A\001\002\"\231\001\n\037Ba" + - "tchCommitWriteStreamsResponse\022/\n\013commit_" + - "time\030\001 \001(\0132\032.google.protobuf.Timestamp\022E" + - "\n\rstream_errors\030\002 \003(\0132..google.cloud.big" + - "query.storage.v1.StorageError\"_\n\032Finaliz" + - "eWriteStreamRequest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372" + - "A,\n*bigquerystorage.googleapis.com/Write" + - "Stream\"0\n\033FinalizeWriteStreamResponse\022\021\n" + - "\trow_count\030\001 \001(\003\"\212\001\n\020FlushRowsRequest\022I\n" + - "\014write_stream\030\001 \001(\tB3\342A\001\002\372A,\n*bigqueryst" + - "orage.googleapis.com/WriteStream\022+\n\006offs" + - "et\030\002 \001(\0132\033.google.protobuf.Int64Value\"#\n" + - "\021FlushRowsResponse\022\016\n\006offset\030\001 \001(\003\"\244\004\n\014S" + - "torageError\022M\n\004code\030\001 \001(\0162?.google.cloud" + - ".bigquery.storage.v1.StorageError.Storag" + - "eErrorCode\022\016\n\006entity\030\002 \001(\t\022\025\n\rerror_mess" + - "age\030\003 \001(\t\"\235\003\n\020StorageErrorCode\022\"\n\036STORAG" + - "E_ERROR_CODE_UNSPECIFIED\020\000\022\023\n\017TABLE_NOT_" + - "FOUND\020\001\022\034\n\030STREAM_ALREADY_COMMITTED\020\002\022\024\n" + - "\020STREAM_NOT_FOUND\020\003\022\027\n\023INVALID_STREAM_TY" + - "PE\020\004\022\030\n\024INVALID_STREAM_STATE\020\005\022\024\n\020STREAM" + - "_FINALIZED\020\006\022 \n\034SCHEMA_MISMATCH_EXTRA_FI" + - "ELDS\020\007\022\031\n\025OFFSET_ALREADY_EXISTS\020\010\022\027\n\023OFF" + - "SET_OUT_OF_RANGE\020\t\022\025\n\021CMEK_NOT_PROVIDED\020" + - "\n\022\031\n\025INVALID_CMEK_PROVIDED\020\013\022\031\n\025CMEK_ENC" + - "RYPTION_ERROR\020\014\022\025\n\021KMS_SERVICE_ERROR\020\r\022\031" + - "\n\025KMS_PERMISSION_DENIED\020\016\"\263\001\n\010RowError\022\r" + - "\n\005index\030\001 \001(\003\022E\n\004code\030\002 \001(\01627.google.clo" + - "ud.bigquery.storage.v1.RowError.RowError" + - "Code\022\017\n\007message\030\003 \001(\t\"@\n\014RowErrorCode\022\036\n" + - "\032ROW_ERROR_CODE_UNSPECIFIED\020\000\022\020\n\014FIELDS_" + - "ERROR\020\0012\222\006\n\014BigQueryRead\022\351\001\n\021CreateReadS" + - "ession\022:.google.cloud.bigquery.storage.v" + - "1.CreateReadSessionRequest\032-.google.clou" + - "d.bigquery.storage.v1.ReadSession\"i\332A$pa" + - "rent,read_session,max_stream_count\202\323\344\223\002<" + - "\"7/v1/{read_session.table=projects/*/dat" + - "asets/*/tables/*}:\001*\022\317\001\n\010ReadRows\0221.goog" + - "le.cloud.bigquery.storage.v1.ReadRowsReq" + - "uest\0322.google.cloud.bigquery.storage.v1." + - "ReadRowsResponse\"Z\332A\022read_stream,offset\202" + - "\323\344\223\002?\022=/v1/{read_stream=projects/*/locat" + - "ions/*/sessions/*/streams/*}0\001\022\306\001\n\017Split" + - "ReadStream\0228.google.cloud.bigquery.stora" + - "ge.v1.SplitReadStreamRequest\0329.google.cl" + - "oud.bigquery.storage.v1.SplitReadStreamR" + - "esponse\">\202\323\344\223\0028\0226/v1/{name=projects/*/lo" + - "cations/*/sessions/*/streams/*}\032{\312A\036bigq" + - "uerystorage.googleapis.com\322AWhttps://www" + - ".googleapis.com/auth/bigquery,https://ww" + - "w.googleapis.com/auth/cloud-platform2\274\013\n" + - "\rBigQueryWrite\022\327\001\n\021CreateWriteStream\022:.g" + - "oogle.cloud.bigquery.storage.v1.CreateWr" + - "iteStreamRequest\032-.google.cloud.bigquery" + - ".storage.v1.WriteStream\"W\332A\023parent,write" + - "_stream\202\323\344\223\002;\"+/v1/{parent=projects/*/da" + - "tasets/*/tables/*}:\014write_stream\022\322\001\n\nApp" + - "endRows\0223.google.cloud.bigquery.storage." + - "v1.AppendRowsRequest\0324.google.cloud.bigq" + - "uery.storage.v1.AppendRowsResponse\"U\332A\014w" + - "rite_stream\202\323\344\223\002@\";/v1/{write_stream=pro" + - "jects/*/datasets/*/tables/*/streams/*}:\001" + - "*(\0010\001\022\277\001\n\016GetWriteStream\0227.google.cloud." + - "bigquery.storage.v1.GetWriteStreamReques" + - "t\032-.google.cloud.bigquery.storage.v1.Wri" + - "teStream\"E\332A\004name\202\323\344\223\0028\"3/v1/{name=proje" + - "cts/*/datasets/*/tables/*/streams/*}:\001*\022" + - "\331\001\n\023FinalizeWriteStream\022<.google.cloud.b" + - "igquery.storage.v1.FinalizeWriteStreamRe" + - "quest\032=.google.cloud.bigquery.storage.v1" + - ".FinalizeWriteStreamResponse\"E\332A\004name\202\323\344" + - "\223\0028\"3/v1/{name=projects/*/datasets/*/tab" + - "les/*/streams/*}:\001*\022\334\001\n\027BatchCommitWrite" + - "Streams\022@.google.cloud.bigquery.storage." + - "v1.BatchCommitWriteStreamsRequest\032A.goog" + - "le.cloud.bigquery.storage.v1.BatchCommit" + - "WriteStreamsResponse\"<\332A\006parent\202\323\344\223\002-\022+/" + - "v1/{parent=projects/*/datasets/*/tables/" + - "*}\022\313\001\n\tFlushRows\0222.google.cloud.bigquery" + - ".storage.v1.FlushRowsRequest\0323.google.cl" + - "oud.bigquery.storage.v1.FlushRowsRespons" + - "e\"U\332A\014write_stream\202\323\344\223\002@\";/v1/{write_str" + - "eam=projects/*/datasets/*/tables/*/strea" + - "ms/*}:\001*\032\260\001\312A\036bigquerystorage.googleapis" + - ".com\322A\213\001https://www.googleapis.com/auth/" + - "bigquery,https://www.googleapis.com/auth" + - "/bigquery.insertdata,https://www.googlea" + - "pis.com/auth/cloud-platformB\224\002\n$com.goog" + - "le.cloud.bigquery.storage.v1B\014StoragePro" + - "toP\001Z>cloud.google.com/go/bigquery/stora" + - "ge/apiv1/storagepb;storagepb\252\002 Google.Cl" + - "oud.BigQuery.Storage.V1\312\002 Google\\Cloud\\B" + - "igQuery\\Storage\\V1\352AU\n\035bigquery.googleap" + - "is.com/Table\0224projects/{project}/dataset" + - "s/{dataset}/tables/{table}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.ProtoBufProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.StreamProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor, - new java.lang.String[] { "Parent", "ReadSession", "MaxStreamCount", "PreferredMinStreamCount", }); - internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor, - new java.lang.String[] { "ReadStream", "Offset", }); - internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor, - new java.lang.String[] { "ThrottlePercent", }); - internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor, - new java.lang.String[] { "Progress", }); - internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor = - internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor, - new java.lang.String[] { "AtResponseStart", "AtResponseEnd", }); - internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor, - new java.lang.String[] { "AvroRows", "ArrowRecordBatch", "RowCount", "Stats", "ThrottleState", "AvroSchema", "ArrowSchema", "Rows", "Schema", }); - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor, - new java.lang.String[] { "Name", "Fraction", }); - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor, - new java.lang.String[] { "PrimaryStream", "RemainderStream", }); - internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor, - new java.lang.String[] { "Parent", "WriteStream", }); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor, - new java.lang.String[] { "WriteStream", "Offset", "ProtoRows", "TraceId", "MissingValueInterpretations", "Rows", }); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor = - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor, - new java.lang.String[] { "WriterSchema", "Rows", }); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor = - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor, - new java.lang.String[] { "AppendResult", "Error", "UpdatedSchema", "RowErrors", "WriteStream", "Response", }); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor = - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor, - new java.lang.String[] { "Offset", }); - internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor, - new java.lang.String[] { "Parent", "WriteStreams", }); - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor, - new java.lang.String[] { "CommitTime", "StreamErrors", }); - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor, - new java.lang.String[] { "RowCount", }); - internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor, - new java.lang.String[] { "WriteStream", "Offset", }); - internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor, - new java.lang.String[] { "Offset", }); - internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor, - new java.lang.String[] { "Code", "Entity", "ErrorMessage", }); - internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor, - new java.lang.String[] { "Index", "Code", "Message", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.ProtoBufProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.StreamProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java deleted file mode 100644 index faf4e618c0..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java +++ /dev/null @@ -1,178 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/stream.proto - -package com.google.cloud.bigquery.storage.v1; - -public final class StreamProto { - private StreamProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ReadSession_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ReadStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/bigquery/storage/v1/strea" + - "m.proto\022 google.cloud.bigquery.storage.v" + - "1\032\037google/api/field_behavior.proto\032\031goog" + - "le/api/resource.proto\032,google/cloud/bigq" + - "uery/storage/v1/arrow.proto\032+google/clou" + - "d/bigquery/storage/v1/avro.proto\032,google" + - "/cloud/bigquery/storage/v1/table.proto\032\037" + - "google/protobuf/timestamp.proto\"\300\n\n\013Read" + - "Session\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\0225\n\013expire_ti" + - "me\030\002 \001(\0132\032.google.protobuf.TimestampB\004\342A" + - "\001\003\022G\n\013data_format\030\003 \001(\0162,.google.cloud.b" + - "igquery.storage.v1.DataFormatB\004\342A\001\005\022I\n\013a" + - "vro_schema\030\004 \001(\0132,.google.cloud.bigquery" + - ".storage.v1.AvroSchemaB\004\342A\001\003H\000\022K\n\014arrow_" + - "schema\030\005 \001(\0132-.google.cloud.bigquery.sto" + - "rage.v1.ArrowSchemaB\004\342A\001\003H\000\0225\n\005table\030\006 \001" + - "(\tB&\342A\001\005\372A\037\n\035bigquery.googleapis.com/Tab" + - "le\022[\n\017table_modifiers\030\007 \001(\0132<.google.clo" + - "ud.bigquery.storage.v1.ReadSession.Table" + - "ModifiersB\004\342A\001\001\022Z\n\014read_options\030\010 \001(\0132>." + - "google.cloud.bigquery.storage.v1.ReadSes" + - "sion.TableReadOptionsB\004\342A\001\001\022C\n\007streams\030\n" + - " \003(\0132,.google.cloud.bigquery.storage.v1." + - "ReadStreamB\004\342A\001\003\022+\n\035estimated_total_byte" + - "s_scanned\030\014 \001(\003B\004\342A\001\003\0220\n\"estimated_total" + - "_physical_file_size\030\017 \001(\003B\004\342A\001\003\022!\n\023estim" + - "ated_row_count\030\016 \001(\003B\004\342A\001\003\022\026\n\010trace_id\030\r" + - " \001(\tB\004\342A\001\001\032C\n\016TableModifiers\0221\n\rsnapshot" + - "_time\030\001 \001(\0132\032.google.protobuf.Timestamp\032" + - "\371\002\n\020TableReadOptions\022\027\n\017selected_fields\030" + - "\001 \003(\t\022\027\n\017row_restriction\030\002 \001(\t\022h\n\033arrow_" + - "serialization_options\030\003 \001(\0132;.google.clo" + - "ud.bigquery.storage.v1.ArrowSerializatio" + - "nOptionsB\004\342A\001\001H\000\022f\n\032avro_serialization_o" + - "ptions\030\004 \001(\0132:.google.cloud.bigquery.sto" + - "rage.v1.AvroSerializationOptionsB\004\342A\001\001H\000" + - "\022$\n\021sample_percentage\030\005 \001(\001B\004\342A\001\001H\001\210\001\001B%" + - "\n#output_format_serialization_optionsB\024\n" + - "\022_sample_percentage:k\352Ah\n*bigquerystorag" + - "e.googleapis.com/ReadSession\022:projects/{" + - "project}/locations/{location}/sessions/{" + - "session}B\010\n\006schema\"\235\001\n\nReadStream\022\022\n\004nam" + - "e\030\001 \001(\tB\004\342A\001\003:{\352Ax\n)bigquerystorage.goog" + - "leapis.com/ReadStream\022Kprojects/{project" + - "}/locations/{location}/sessions/{session" + - "}/streams/{stream}\"\202\005\n\013WriteStream\022\022\n\004na" + - "me\030\001 \001(\tB\004\342A\001\003\022F\n\004type\030\002 \001(\01622.google.cl" + - "oud.bigquery.storage.v1.WriteStream.Type" + - "B\004\342A\001\005\0225\n\013create_time\030\003 \001(\0132\032.google.pro" + - "tobuf.TimestampB\004\342A\001\003\0225\n\013commit_time\030\004 \001" + - "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022I\n\014" + - "table_schema\030\005 \001(\0132-.google.cloud.bigque" + - "ry.storage.v1.TableSchemaB\004\342A\001\003\022Q\n\nwrite" + - "_mode\030\007 \001(\01627.google.cloud.bigquery.stor" + - "age.v1.WriteStream.WriteModeB\004\342A\001\005\022\026\n\010lo" + - "cation\030\010 \001(\tB\004\342A\001\005\"F\n\004Type\022\024\n\020TYPE_UNSPE" + - "CIFIED\020\000\022\r\n\tCOMMITTED\020\001\022\013\n\007PENDING\020\002\022\014\n\010" + - "BUFFERED\020\003\"3\n\tWriteMode\022\032\n\026WRITE_MODE_UN" + - "SPECIFIED\020\000\022\n\n\006INSERT\020\001:v\352As\n*bigqueryst" + - "orage.googleapis.com/WriteStream\022Eprojec" + - "ts/{project}/datasets/{dataset}/tables/{" + - "table}/streams/{stream}*>\n\nDataFormat\022\033\n" + - "\027DATA_FORMAT_UNSPECIFIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005" + - "ARROW\020\002*I\n\017WriteStreamView\022!\n\035WRITE_STRE" + - "AM_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL" + - "\020\002B\273\001\n$com.google.cloud.bigquery.storage" + - ".v1B\013StreamProtoP\001Z>cloud.google.com/go/" + - "bigquery/storage/apiv1/storagepb;storage" + - "pb\252\002 Google.Cloud.BigQuery.Storage.V1\312\002 " + - "Google\\Cloud\\BigQuery\\Storage\\V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_ReadSession_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor, - new java.lang.String[] { "Name", "ExpireTime", "DataFormat", "AvroSchema", "ArrowSchema", "Table", "TableModifiers", "ReadOptions", "Streams", "EstimatedTotalBytesScanned", "EstimatedTotalPhysicalFileSize", "EstimatedRowCount", "TraceId", "Schema", }); - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor = - internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor, - new java.lang.String[] { "SnapshotTime", }); - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor = - internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor, - new java.lang.String[] { "SelectedFields", "RowRestriction", "ArrowSerializationOptions", "AvroSerializationOptions", "SamplePercentage", "OutputFormatSerializationOptions", "SamplePercentage", }); - internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1_ReadStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor, - new java.lang.String[] { "Name", "Type", "CreateTime", "CommitTime", "TableSchema", "WriteMode", "Location", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableProto.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableProto.java deleted file mode 100644 index e926c84574..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableProto.java +++ /dev/null @@ -1,91 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/table.proto - -package com.google.cloud.bigquery.storage.v1; - -public final class TableProto { - private TableProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n,google/cloud/bigquery/storage/v1/table" + - ".proto\022 google.cloud.bigquery.storage.v1" + - "\032\037google/api/field_behavior.proto\"Q\n\013Tab" + - "leSchema\022B\n\006fields\030\001 \003(\01322.google.cloud." + - "bigquery.storage.v1.TableFieldSchema\"\265\005\n" + - "\020TableFieldSchema\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022K\n" + - "\004type\030\002 \001(\01627.google.cloud.bigquery.stor" + - "age.v1.TableFieldSchema.TypeB\004\342A\001\002\022K\n\004mo" + - "de\030\003 \001(\01627.google.cloud.bigquery.storage" + - ".v1.TableFieldSchema.ModeB\004\342A\001\001\022H\n\006field" + - "s\030\004 \003(\01322.google.cloud.bigquery.storage." + - "v1.TableFieldSchemaB\004\342A\001\001\022\031\n\013description" + - "\030\006 \001(\tB\004\342A\001\001\022\030\n\nmax_length\030\007 \001(\003B\004\342A\001\001\022\027" + - "\n\tprecision\030\010 \001(\003B\004\342A\001\001\022\023\n\005scale\030\t \001(\003B\004" + - "\342A\001\001\022&\n\030default_value_expression\030\n \001(\tB\004" + - "\342A\001\001\"\325\001\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n\006S" + - "TRING\020\001\022\t\n\005INT64\020\002\022\n\n\006DOUBLE\020\003\022\n\n\006STRUCT" + - "\020\004\022\t\n\005BYTES\020\005\022\010\n\004BOOL\020\006\022\r\n\tTIMESTAMP\020\007\022\010" + - "\n\004DATE\020\010\022\010\n\004TIME\020\t\022\014\n\010DATETIME\020\n\022\r\n\tGEOG" + - "RAPHY\020\013\022\013\n\007NUMERIC\020\014\022\016\n\nBIGNUMERIC\020\r\022\014\n\010" + - "INTERVAL\020\016\022\010\n\004JSON\020\017\"F\n\004Mode\022\024\n\020MODE_UNS" + - "PECIFIED\020\000\022\014\n\010NULLABLE\020\001\022\014\n\010REQUIRED\020\002\022\014" + - "\n\010REPEATED\020\003B\272\001\n$com.google.cloud.bigque" + - "ry.storage.v1B\nTableProtoP\001Z>cloud.googl" + - "e.com/go/bigquery/storage/apiv1/storagep" + - "b;storagepb\252\002 Google.Cloud.BigQuery.Stor" + - "age.V1\312\002 Google\\Cloud\\BigQuery\\Storage\\V" + - "1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor, - new java.lang.String[] { "Fields", }); - internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor, - new java.lang.String[] { "Name", "Type", "Mode", "Fields", "Description", "MaxLength", "Precision", "Scale", "DefaultValueExpression", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java deleted file mode 100644 index ed4dfcf538..0000000000 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/storage.proto - -package com.google.cloud.bigquery.storage.v1; - -public interface ThrottleStateOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ThrottleState) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * How much this connection is being throttled. Zero means no throttling,
-   * 100 means fully throttled.
-   * 
- * - * int32 throttle_percent = 1; - * @return The throttlePercent. - */ - int getThrottlePercent(); -} diff --git a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStubSettings.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStubSettings.java deleted file mode 100644 index 4272e3d6b2..0000000000 --- a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStubSettings.java +++ /dev/null @@ -1,370 +0,0 @@ -/* - * 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. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.bigquery.storage.v1beta2.stub; - -import com.google.api.core.ApiFunction; -import com.google.api.core.BetaApi; -import com.google.api.gax.core.GaxProperties; -import com.google.api.gax.core.GoogleCredentialsProvider; -import com.google.api.gax.core.InstantiatingExecutorProvider; -import com.google.api.gax.grpc.GaxGrpcProperties; -import com.google.api.gax.grpc.GrpcTransportChannel; -import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.retrying.RetrySettings; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.ServerStreamingCallSettings; -import com.google.api.gax.rpc.StatusCode; -import com.google.api.gax.rpc.StubSettings; -import com.google.api.gax.rpc.TransportChannelProvider; -import com.google.api.gax.rpc.UnaryCallSettings; -import com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest; -import com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest; -import com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse; -import com.google.cloud.bigquery.storage.v1beta2.ReadSession; -import com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest; -import com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse; -import com.google.common.collect.ImmutableList; -import com.google.common.collect.ImmutableMap; -import com.google.common.collect.ImmutableSet; -import com.google.common.collect.Lists; -import java.io.IOException; -import java.util.List; -import javax.annotation.Generated; -import org.threeten.bp.Duration; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Settings class to configure an instance of {@link BigQueryReadStub}. - * - *

The default instance has everything set to sensible defaults: - * - *

    - *
  • The default service address (bigquerystorage.googleapis.com) and default port (443) are - * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. - *
- * - *

The builder of this class is recursive, so contained classes are themselves builders. When - * build() is called, the tree of builders is called to create the complete settings object. - * - *

For example, to set the total timeout of createReadSession to 30 seconds: - * - *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * BigQueryReadStubSettings.Builder baseBigQueryReadSettingsBuilder =
- *     BigQueryReadStubSettings.newBuilder();
- * baseBigQueryReadSettingsBuilder
- *     .createReadSessionSettings()
- *     .setRetrySettings(
- *         baseBigQueryReadSettingsBuilder
- *             .createReadSessionSettings()
- *             .getRetrySettings()
- *             .toBuilder()
- *             .setTotalTimeout(Duration.ofSeconds(30))
- *             .build());
- * BigQueryReadStubSettings baseBigQueryReadSettings = baseBigQueryReadSettingsBuilder.build();
- * }
- */ -@BetaApi -@Generated("by gapic-generator-java") -public class BigQueryReadStubSettings extends StubSettings { - /** The default scopes of the service. */ - private static final ImmutableList DEFAULT_SERVICE_SCOPES = - ImmutableList.builder() - .add("https://www.googleapis.com/auth/bigquery") - .add("https://www.googleapis.com/auth/cloud-platform") - .build(); - - private final UnaryCallSettings createReadSessionSettings; - private final ServerStreamingCallSettings readRowsSettings; - private final UnaryCallSettings - splitReadStreamSettings; - - /** Returns the object with the settings used for calls to createReadSession. */ - public UnaryCallSettings createReadSessionSettings() { - return createReadSessionSettings; - } - - /** Returns the object with the settings used for calls to readRows. */ - public ServerStreamingCallSettings readRowsSettings() { - return readRowsSettings; - } - - /** Returns the object with the settings used for calls to splitReadStream. */ - public UnaryCallSettings - splitReadStreamSettings() { - return splitReadStreamSettings; - } - - public BigQueryReadStub createStub() throws IOException { - if (getTransportChannelProvider() - .getTransportName() - .equals(GrpcTransportChannel.getGrpcTransportName())) { - return GrpcBigQueryReadStub.create(this); - } - throw new UnsupportedOperationException( - String.format( - "Transport not supported: %s", getTransportChannelProvider().getTransportName())); - } - - /** Returns a builder for the default ExecutorProvider for this service. */ - public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { - return InstantiatingExecutorProvider.newBuilder(); - } - - /** Returns the default service endpoint. */ - public static String getDefaultEndpoint() { - return "bigquerystorage.googleapis.com:443"; - } - - /** Returns the default mTLS service endpoint. */ - public static String getDefaultMtlsEndpoint() { - return "bigquerystorage.mtls.googleapis.com:443"; - } - - /** Returns the default service scopes. */ - public static List getDefaultServiceScopes() { - return DEFAULT_SERVICE_SCOPES; - } - - /** Returns a builder for the default credentials for this service. */ - public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { - return GoogleCredentialsProvider.newBuilder() - .setScopesToApply(DEFAULT_SERVICE_SCOPES) - .setUseJwtAccessWithScope(true); - } - - /** Returns a builder for the default ChannelProvider for this service. */ - public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { - return InstantiatingGrpcChannelProvider.newBuilder() - .setMaxInboundMessageSize(Integer.MAX_VALUE); - } - - public static TransportChannelProvider defaultTransportChannelProvider() { - return defaultGrpcTransportProviderBuilder().build(); - } - - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { - return ApiClientHeaderProvider.newBuilder() - .setGeneratedLibToken( - "gapic", GaxProperties.getLibraryVersion(BigQueryReadStubSettings.class)) - .setTransportToken( - GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder() { - return Builder.createDefault(); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder(ClientContext clientContext) { - return new Builder(clientContext); - } - - /** Returns a builder containing all the values of this settings class. */ - public Builder toBuilder() { - return new Builder(this); - } - - protected BigQueryReadStubSettings(Builder settingsBuilder) throws IOException { - super(settingsBuilder); - - createReadSessionSettings = settingsBuilder.createReadSessionSettings().build(); - readRowsSettings = settingsBuilder.readRowsSettings().build(); - splitReadStreamSettings = settingsBuilder.splitReadStreamSettings().build(); - } - - /** Builder for BigQueryReadStubSettings. */ - public static class Builder extends StubSettings.Builder { - private final ImmutableList> unaryMethodSettingsBuilders; - private final UnaryCallSettings.Builder - createReadSessionSettings; - private final ServerStreamingCallSettings.Builder - readRowsSettings; - private final UnaryCallSettings.Builder - splitReadStreamSettings; - private static final ImmutableMap> - RETRYABLE_CODE_DEFINITIONS; - - static { - ImmutableMap.Builder> definitions = - ImmutableMap.builder(); - definitions.put( - "retry_policy_0_codes", - ImmutableSet.copyOf( - Lists.newArrayList( - StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); - definitions.put( - "retry_policy_1_codes", - ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); - definitions.put( - "retry_policy_2_codes", - ImmutableSet.copyOf( - Lists.newArrayList( - StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); - RETRYABLE_CODE_DEFINITIONS = definitions.build(); - } - - private static final ImmutableMap RETRY_PARAM_DEFINITIONS; - - static { - ImmutableMap.Builder definitions = ImmutableMap.builder(); - RetrySettings settings = null; - settings = - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(100L)) - .setRetryDelayMultiplier(1.3) - .setMaxRetryDelay(Duration.ofMillis(60000L)) - .setInitialRpcTimeout(Duration.ofMillis(600000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(600000L)) - .setTotalTimeout(Duration.ofMillis(600000L)) - .build(); - definitions.put("retry_policy_0_params", settings); - settings = - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(100L)) - .setRetryDelayMultiplier(1.3) - .setMaxRetryDelay(Duration.ofMillis(60000L)) - .setInitialRpcTimeout(Duration.ofMillis(86400000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(86400000L)) - .setTotalTimeout(Duration.ofMillis(86400000L)) - .build(); - definitions.put("retry_policy_1_params", settings); - settings = - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(100L)) - .setRetryDelayMultiplier(1.3) - .setMaxRetryDelay(Duration.ofMillis(60000L)) - .setInitialRpcTimeout(Duration.ofMillis(600000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(600000L)) - .setTotalTimeout(Duration.ofMillis(600000L)) - .build(); - definitions.put("retry_policy_2_params", settings); - RETRY_PARAM_DEFINITIONS = definitions.build(); - } - - protected Builder() { - this(((ClientContext) null)); - } - - protected Builder(ClientContext clientContext) { - super(clientContext); - - createReadSessionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - readRowsSettings = ServerStreamingCallSettings.newBuilder(); - splitReadStreamSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - - unaryMethodSettingsBuilders = - ImmutableList.>of( - createReadSessionSettings, splitReadStreamSettings); - initDefaults(this); - } - - protected Builder(BigQueryReadStubSettings settings) { - super(settings); - - createReadSessionSettings = settings.createReadSessionSettings.toBuilder(); - readRowsSettings = settings.readRowsSettings.toBuilder(); - splitReadStreamSettings = settings.splitReadStreamSettings.toBuilder(); - - unaryMethodSettingsBuilders = - ImmutableList.>of( - createReadSessionSettings, splitReadStreamSettings); - } - - private static Builder createDefault() { - Builder builder = new Builder(((ClientContext) null)); - - builder.setTransportChannelProvider(defaultTransportChannelProvider()); - builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); - builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); - builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); - builder.setSwitchToMtlsEndpointAllowed(true); - - return initDefaults(builder); - } - - private static Builder initDefaults(Builder builder) { - builder - .createReadSessionSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); - - builder - .readRowsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); - - builder - .splitReadStreamSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); - - return builder; - } - - /** - * Applies the given settings updater function to all of the unary API methods in this service. - * - *

Note: This method does not support applying settings to streaming methods. - */ - public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) { - super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); - return this; - } - - public ImmutableList> unaryMethodSettingsBuilders() { - return unaryMethodSettingsBuilders; - } - - /** Returns the builder for the settings used for calls to createReadSession. */ - public UnaryCallSettings.Builder - createReadSessionSettings() { - return createReadSessionSettings; - } - - /** Returns the builder for the settings used for calls to readRows. */ - public ServerStreamingCallSettings.Builder - readRowsSettings() { - return readRowsSettings; - } - - /** Returns the builder for the settings used for calls to splitReadStream. */ - public UnaryCallSettings.Builder - splitReadStreamSettings() { - return splitReadStreamSettings; - } - - @Override - public BigQueryReadStubSettings build() throws IOException { - return new BigQueryReadStubSettings(this); - } - } -} diff --git a/owl-bot-staging/v1beta2/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java b/owl-bot-staging/v1beta2/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java deleted file mode 100644 index 8d5912dab1..0000000000 --- a/owl-bot-staging/v1beta2/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java +++ /dev/null @@ -1,827 +0,0 @@ -package com.google.cloud.bigquery.storage.v1beta2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *

- * BigQuery Write API.
- * The Write API can be used to write data to BigQuery.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/bigquery/storage/v1beta2/storage.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class BigQueryWriteGrpc { - - private BigQueryWriteGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.bigquery.storage.v1beta2.BigQueryWrite"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateWriteStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateWriteStream", - requestType = com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.class, - responseType = com.google.cloud.bigquery.storage.v1beta2.WriteStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateWriteStreamMethod() { - io.grpc.MethodDescriptor getCreateWriteStreamMethod; - if ((getCreateWriteStreamMethod = BigQueryWriteGrpc.getCreateWriteStreamMethod) == null) { - synchronized (BigQueryWriteGrpc.class) { - if ((getCreateWriteStreamMethod = BigQueryWriteGrpc.getCreateWriteStreamMethod) == null) { - BigQueryWriteGrpc.getCreateWriteStreamMethod = getCreateWriteStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWriteStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance())) - .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("CreateWriteStream")) - .build(); - } - } - } - return getCreateWriteStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getAppendRowsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AppendRows", - requestType = com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.class, - responseType = com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - public static io.grpc.MethodDescriptor getAppendRowsMethod() { - io.grpc.MethodDescriptor getAppendRowsMethod; - if ((getAppendRowsMethod = BigQueryWriteGrpc.getAppendRowsMethod) == null) { - synchronized (BigQueryWriteGrpc.class) { - if ((getAppendRowsMethod = BigQueryWriteGrpc.getAppendRowsMethod) == null) { - BigQueryWriteGrpc.getAppendRowsMethod = getAppendRowsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AppendRows")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("AppendRows")) - .build(); - } - } - } - return getAppendRowsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetWriteStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetWriteStream", - requestType = com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.class, - responseType = com.google.cloud.bigquery.storage.v1beta2.WriteStream.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetWriteStreamMethod() { - io.grpc.MethodDescriptor getGetWriteStreamMethod; - if ((getGetWriteStreamMethod = BigQueryWriteGrpc.getGetWriteStreamMethod) == null) { - synchronized (BigQueryWriteGrpc.class) { - if ((getGetWriteStreamMethod = BigQueryWriteGrpc.getGetWriteStreamMethod) == null) { - BigQueryWriteGrpc.getGetWriteStreamMethod = getGetWriteStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWriteStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance())) - .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("GetWriteStream")) - .build(); - } - } - } - return getGetWriteStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getFinalizeWriteStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FinalizeWriteStream", - requestType = com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.class, - responseType = com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFinalizeWriteStreamMethod() { - io.grpc.MethodDescriptor getFinalizeWriteStreamMethod; - if ((getFinalizeWriteStreamMethod = BigQueryWriteGrpc.getFinalizeWriteStreamMethod) == null) { - synchronized (BigQueryWriteGrpc.class) { - if ((getFinalizeWriteStreamMethod = BigQueryWriteGrpc.getFinalizeWriteStreamMethod) == null) { - BigQueryWriteGrpc.getFinalizeWriteStreamMethod = getFinalizeWriteStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FinalizeWriteStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("FinalizeWriteStream")) - .build(); - } - } - } - return getFinalizeWriteStreamMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchCommitWriteStreamsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCommitWriteStreams", - requestType = com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.class, - responseType = com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchCommitWriteStreamsMethod() { - io.grpc.MethodDescriptor getBatchCommitWriteStreamsMethod; - if ((getBatchCommitWriteStreamsMethod = BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod) == null) { - synchronized (BigQueryWriteGrpc.class) { - if ((getBatchCommitWriteStreamsMethod = BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod) == null) { - BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod = getBatchCommitWriteStreamsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCommitWriteStreams")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("BatchCommitWriteStreams")) - .build(); - } - } - } - return getBatchCommitWriteStreamsMethod; - } - - private static volatile io.grpc.MethodDescriptor getFlushRowsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FlushRows", - requestType = com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.class, - responseType = com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFlushRowsMethod() { - io.grpc.MethodDescriptor getFlushRowsMethod; - if ((getFlushRowsMethod = BigQueryWriteGrpc.getFlushRowsMethod) == null) { - synchronized (BigQueryWriteGrpc.class) { - if ((getFlushRowsMethod = BigQueryWriteGrpc.getFlushRowsMethod) == null) { - BigQueryWriteGrpc.getFlushRowsMethod = getFlushRowsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FlushRows")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("FlushRows")) - .build(); - } - } - } - return getFlushRowsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static BigQueryWriteStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigQueryWriteStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigQueryWriteStub(channel, callOptions); - } - }; - return BigQueryWriteStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static BigQueryWriteBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigQueryWriteBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigQueryWriteBlockingStub(channel, callOptions); - } - }; - return BigQueryWriteBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static BigQueryWriteFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigQueryWriteFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigQueryWriteFutureStub(channel, callOptions); - } - }; - return BigQueryWriteFutureStub.newStub(factory, channel); - } - - /** - *
-   * BigQuery Write API.
-   * The Write API can be used to write data to BigQuery.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Creates a write stream to the given table.
-     * Additionally, every table has a special COMMITTED stream named '_default'
-     * to which data can be written. This stream doesn't need to be created using
-     * CreateWriteStream. It is a stream that can be used simultaneously by any
-     * number of clients. Data written to this stream is considered committed as
-     * soon as an acknowledgement is received.
-     * 
- */ - default void createWriteStream(com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateWriteStreamMethod(), responseObserver); - } - - /** - *
-     * Appends data to the given stream.
-     * If `offset` is specified, the `offset` is checked against the end of
-     * stream. The server returns `OUT_OF_RANGE` in `AppendRowsResponse` if an
-     * attempt is made to append to an offset beyond the current end of the stream
-     * or `ALREADY_EXISTS` if user provids an `offset` that has already been
-     * written to. User can retry with adjusted offset within the same RPC
-     * stream. If `offset` is not specified, append happens at the end of the
-     * stream.
-     * The response contains the offset at which the append happened. Responses
-     * are received in the same order in which requests are sent. There will be
-     * one response for each successful request. If the `offset` is not set in
-     * response, it means append didn't happen due to some errors. If one request
-     * fails, all the subsequent requests will also fail until a success request
-     * is made again.
-     * If the stream is of `PENDING` type, data will only be available for read
-     * operations after the stream is committed.
-     * 
- */ - default io.grpc.stub.StreamObserver appendRows( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getAppendRowsMethod(), responseObserver); - } - - /** - *
-     * Gets a write stream.
-     * 
- */ - default void getWriteStream(com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetWriteStreamMethod(), responseObserver); - } - - /** - *
-     * Finalize a write stream so that no new data can be appended to the
-     * stream. Finalize is not supported on the '_default' stream.
-     * 
- */ - default void finalizeWriteStream(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFinalizeWriteStreamMethod(), responseObserver); - } - - /** - *
-     * Atomically commits a group of `PENDING` streams that belong to the same
-     * `parent` table.
-     * Streams must be finalized before commit and cannot be committed multiple
-     * times. Once a stream is committed, data in the stream becomes available
-     * for read operations.
-     * 
- */ - default void batchCommitWriteStreams(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCommitWriteStreamsMethod(), responseObserver); - } - - /** - *
-     * Flushes rows to a BUFFERED stream.
-     * If users are appending rows to BUFFERED stream, flush operation is
-     * required in order for the rows to become available for reading. A
-     * Flush operation flushes up to any previously flushed offset in a BUFFERED
-     * stream, to the offset specified in the request.
-     * Flush is not supported on the _default stream, since it is not BUFFERED.
-     * 
- */ - default void flushRows(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFlushRowsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service BigQueryWrite. - *
-   * BigQuery Write API.
-   * The Write API can be used to write data to BigQuery.
-   * 
- */ - public static abstract class BigQueryWriteImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return BigQueryWriteGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service BigQueryWrite. - *
-   * BigQuery Write API.
-   * The Write API can be used to write data to BigQuery.
-   * 
- */ - public static final class BigQueryWriteStub - extends io.grpc.stub.AbstractAsyncStub { - private BigQueryWriteStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigQueryWriteStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigQueryWriteStub(channel, callOptions); - } - - /** - *
-     * Creates a write stream to the given table.
-     * Additionally, every table has a special COMMITTED stream named '_default'
-     * to which data can be written. This stream doesn't need to be created using
-     * CreateWriteStream. It is a stream that can be used simultaneously by any
-     * number of clients. Data written to this stream is considered committed as
-     * soon as an acknowledgement is received.
-     * 
- */ - public void createWriteStream(com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateWriteStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Appends data to the given stream.
-     * If `offset` is specified, the `offset` is checked against the end of
-     * stream. The server returns `OUT_OF_RANGE` in `AppendRowsResponse` if an
-     * attempt is made to append to an offset beyond the current end of the stream
-     * or `ALREADY_EXISTS` if user provids an `offset` that has already been
-     * written to. User can retry with adjusted offset within the same RPC
-     * stream. If `offset` is not specified, append happens at the end of the
-     * stream.
-     * The response contains the offset at which the append happened. Responses
-     * are received in the same order in which requests are sent. There will be
-     * one response for each successful request. If the `offset` is not set in
-     * response, it means append didn't happen due to some errors. If one request
-     * fails, all the subsequent requests will also fail until a success request
-     * is made again.
-     * If the stream is of `PENDING` type, data will only be available for read
-     * operations after the stream is committed.
-     * 
- */ - public io.grpc.stub.StreamObserver appendRows( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( - getChannel().newCall(getAppendRowsMethod(), getCallOptions()), responseObserver); - } - - /** - *
-     * Gets a write stream.
-     * 
- */ - public void getWriteStream(com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetWriteStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Finalize a write stream so that no new data can be appended to the
-     * stream. Finalize is not supported on the '_default' stream.
-     * 
- */ - public void finalizeWriteStream(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFinalizeWriteStreamMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Atomically commits a group of `PENDING` streams that belong to the same
-     * `parent` table.
-     * Streams must be finalized before commit and cannot be committed multiple
-     * times. Once a stream is committed, data in the stream becomes available
-     * for read operations.
-     * 
- */ - public void batchCommitWriteStreams(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCommitWriteStreamsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Flushes rows to a BUFFERED stream.
-     * If users are appending rows to BUFFERED stream, flush operation is
-     * required in order for the rows to become available for reading. A
-     * Flush operation flushes up to any previously flushed offset in a BUFFERED
-     * stream, to the offset specified in the request.
-     * Flush is not supported on the _default stream, since it is not BUFFERED.
-     * 
- */ - public void flushRows(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFlushRowsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service BigQueryWrite. - *
-   * BigQuery Write API.
-   * The Write API can be used to write data to BigQuery.
-   * 
- */ - public static final class BigQueryWriteBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private BigQueryWriteBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigQueryWriteBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigQueryWriteBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a write stream to the given table.
-     * Additionally, every table has a special COMMITTED stream named '_default'
-     * to which data can be written. This stream doesn't need to be created using
-     * CreateWriteStream. It is a stream that can be used simultaneously by any
-     * number of clients. Data written to this stream is considered committed as
-     * soon as an acknowledgement is received.
-     * 
- */ - public com.google.cloud.bigquery.storage.v1beta2.WriteStream createWriteStream(com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateWriteStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a write stream.
-     * 
- */ - public com.google.cloud.bigquery.storage.v1beta2.WriteStream getWriteStream(com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetWriteStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Finalize a write stream so that no new data can be appended to the
-     * stream. Finalize is not supported on the '_default' stream.
-     * 
- */ - public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse finalizeWriteStream(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFinalizeWriteStreamMethod(), getCallOptions(), request); - } - - /** - *
-     * Atomically commits a group of `PENDING` streams that belong to the same
-     * `parent` table.
-     * Streams must be finalized before commit and cannot be committed multiple
-     * times. Once a stream is committed, data in the stream becomes available
-     * for read operations.
-     * 
- */ - public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse batchCommitWriteStreams(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCommitWriteStreamsMethod(), getCallOptions(), request); - } - - /** - *
-     * Flushes rows to a BUFFERED stream.
-     * If users are appending rows to BUFFERED stream, flush operation is
-     * required in order for the rows to become available for reading. A
-     * Flush operation flushes up to any previously flushed offset in a BUFFERED
-     * stream, to the offset specified in the request.
-     * Flush is not supported on the _default stream, since it is not BUFFERED.
-     * 
- */ - public com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse flushRows(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFlushRowsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service BigQueryWrite. - *
-   * BigQuery Write API.
-   * The Write API can be used to write data to BigQuery.
-   * 
- */ - public static final class BigQueryWriteFutureStub - extends io.grpc.stub.AbstractFutureStub { - private BigQueryWriteFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigQueryWriteFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigQueryWriteFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a write stream to the given table.
-     * Additionally, every table has a special COMMITTED stream named '_default'
-     * to which data can be written. This stream doesn't need to be created using
-     * CreateWriteStream. It is a stream that can be used simultaneously by any
-     * number of clients. Data written to this stream is considered committed as
-     * soon as an acknowledgement is received.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createWriteStream( - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateWriteStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a write stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getWriteStream( - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetWriteStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Finalize a write stream so that no new data can be appended to the
-     * stream. Finalize is not supported on the '_default' stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture finalizeWriteStream( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFinalizeWriteStreamMethod(), getCallOptions()), request); - } - - /** - *
-     * Atomically commits a group of `PENDING` streams that belong to the same
-     * `parent` table.
-     * Streams must be finalized before commit and cannot be committed multiple
-     * times. Once a stream is committed, data in the stream becomes available
-     * for read operations.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchCommitWriteStreams( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCommitWriteStreamsMethod(), getCallOptions()), request); - } - - /** - *
-     * Flushes rows to a BUFFERED stream.
-     * If users are appending rows to BUFFERED stream, flush operation is
-     * required in order for the rows to become available for reading. A
-     * Flush operation flushes up to any previously flushed offset in a BUFFERED
-     * stream, to the offset specified in the request.
-     * Flush is not supported on the _default stream, since it is not BUFFERED.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture flushRows( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFlushRowsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_WRITE_STREAM = 0; - private static final int METHODID_GET_WRITE_STREAM = 1; - private static final int METHODID_FINALIZE_WRITE_STREAM = 2; - private static final int METHODID_BATCH_COMMIT_WRITE_STREAMS = 3; - private static final int METHODID_FLUSH_ROWS = 4; - private static final int METHODID_APPEND_ROWS = 5; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_WRITE_STREAM: - serviceImpl.createWriteStream((com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_WRITE_STREAM: - serviceImpl.getWriteStream((com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FINALIZE_WRITE_STREAM: - serviceImpl.finalizeWriteStream((com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_COMMIT_WRITE_STREAMS: - serviceImpl.batchCommitWriteStreams((com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FLUSH_ROWS: - serviceImpl.flushRows((com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_APPEND_ROWS: - return (io.grpc.stub.StreamObserver) serviceImpl.appendRows( - (io.grpc.stub.StreamObserver) responseObserver); - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateWriteStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest, - com.google.cloud.bigquery.storage.v1beta2.WriteStream>( - service, METHODID_CREATE_WRITE_STREAM))) - .addMethod( - getAppendRowsMethod(), - io.grpc.stub.ServerCalls.asyncBidiStreamingCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest, - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse>( - service, METHODID_APPEND_ROWS))) - .addMethod( - getGetWriteStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest, - com.google.cloud.bigquery.storage.v1beta2.WriteStream>( - service, METHODID_GET_WRITE_STREAM))) - .addMethod( - getFinalizeWriteStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest, - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse>( - service, METHODID_FINALIZE_WRITE_STREAM))) - .addMethod( - getBatchCommitWriteStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest, - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse>( - service, METHODID_BATCH_COMMIT_WRITE_STREAMS))) - .addMethod( - getFlushRowsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest, - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse>( - service, METHODID_FLUSH_ROWS))) - .build(); - } - - private static abstract class BigQueryWriteBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - BigQueryWriteBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("BigQueryWrite"); - } - } - - private static final class BigQueryWriteFileDescriptorSupplier - extends BigQueryWriteBaseDescriptorSupplier { - BigQueryWriteFileDescriptorSupplier() {} - } - - private static final class BigQueryWriteMethodDescriptorSupplier - extends BigQueryWriteBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - BigQueryWriteMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (BigQueryWriteGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BigQueryWriteFileDescriptorSupplier()) - .addMethod(getCreateWriteStreamMethod()) - .addMethod(getAppendRowsMethod()) - .addMethod(getGetWriteStreamMethod()) - .addMethod(getFinalizeWriteStreamMethod()) - .addMethod(getBatchCommitWriteStreamsMethod()) - .addMethod(getFlushRowsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java deleted file mode 100644 index b569f579af..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java +++ /dev/null @@ -1,80 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/arrow.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public final class ArrowProto { - private ArrowProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/bigquery/storage/v1beta2/" + - "arrow.proto\022%google.cloud.bigquery.stora" + - "ge.v1beta2\"(\n\013ArrowSchema\022\031\n\021serialized_" + - "schema\030\001 \001(\014\"3\n\020ArrowRecordBatch\022\037\n\027seri" + - "alized_record_batch\030\001 \001(\014\"\266\001\n\031ArrowSeria" + - "lizationOptions\022W\n\006format\030\001 \001(\0162G.google" + - ".cloud.bigquery.storage.v1beta2.ArrowSer" + - "ializationOptions.Format\"@\n\006Format\022\026\n\022FO" + - "RMAT_UNSPECIFIED\020\000\022\016\n\nARROW_0_14\020\001\022\016\n\nAR" + - "ROW_0_15\020\002B~\n)com.google.cloud.bigquery." + - "storage.v1beta2B\nArrowProtoP\001ZCcloud.goo" + - "gle.com/go/bigquery/storage/apiv1beta2/s" + - "toragepb;storagepbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor, - new java.lang.String[] { "SerializedSchema", }); - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor, - new java.lang.String[] { "SerializedRecordBatch", }); - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor, - new java.lang.String[] { "Format", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java deleted file mode 100644 index 70c01bd2a7..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/arrow.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public interface ArrowRecordBatchOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * IPC-serialized Arrow RecordBatch.
-   * 
- * - * bytes serialized_record_batch = 1; - * @return The serializedRecordBatch. - */ - com.google.protobuf.ByteString getSerializedRecordBatch(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java deleted file mode 100644 index f86fe84d59..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/arrow.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public interface ArrowSchemaOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ArrowSchema) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * IPC serialized Arrow schema.
-   * 
- * - * bytes serialized_schema = 1; - * @return The serializedSchema. - */ - com.google.protobuf.ByteString getSerializedSchema(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroProto.java deleted file mode 100644 index 7beb185a37..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroProto.java +++ /dev/null @@ -1,64 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/avro.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public final class AvroProto { - private AvroProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n0google/cloud/bigquery/storage/v1beta2/" + - "avro.proto\022%google.cloud.bigquery.storag" + - "e.v1beta2\"\034\n\nAvroSchema\022\016\n\006schema\030\001 \001(\t\"" + - "*\n\010AvroRows\022\036\n\026serialized_binary_rows\030\001 " + - "\001(\014B}\n)com.google.cloud.bigquery.storage" + - ".v1beta2B\tAvroProtoP\001ZCcloud.google.com/" + - "go/bigquery/storage/apiv1beta2/storagepb" + - ";storagepbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor, - new java.lang.String[] { "Schema", }); - internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor, - new java.lang.String[] { "SerializedBinaryRows", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java deleted file mode 100644 index 3ad59856ae..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/avro.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public interface AvroRowsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.AvroRows) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Binary serialized rows in a block.
-   * 
- * - * bytes serialized_binary_rows = 1; - * @return The serializedBinaryRows. - */ - com.google.protobuf.ByteString getSerializedBinaryRows(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequestOrBuilder.java deleted file mode 100644 index cca21cca1c..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/storage.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public interface CreateWriteStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Reference to the table to which the stream belongs, in the format
-   * of `projects/{project}/datasets/{dataset}/tables/{table}`.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. Reference to the table to which the stream belongs, in the format
-   * of `projects/{project}/datasets/{dataset}/tables/{table}`.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. Stream to be created.
-   * 
- * - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the writeStream field is set. - */ - boolean hasWriteStream(); - /** - *
-   * Required. Stream to be created.
-   * 
- * - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The writeStream. - */ - com.google.cloud.bigquery.storage.v1beta2.WriteStream getWriteStream(); - /** - *
-   * Required. Stream to be created.
-   * 
- * - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder getWriteStreamOrBuilder(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequestOrBuilder.java deleted file mode 100644 index 0d0321ea05..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/storage.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public interface FinalizeWriteStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the stream to finalize, in the form of
-   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the stream to finalize, in the form of
-   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponseOrBuilder.java deleted file mode 100644 index 86314fd7c3..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponseOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/storage.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public interface FinalizeWriteStreamResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Number of rows in the finalized stream.
-   * 
- * - * int64 row_count = 1; - * @return The rowCount. - */ - long getRowCount(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java deleted file mode 100644 index a9ea318974..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/storage.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public interface FlushRowsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The rows before this offset (including this offset) are flushed.
-   * 
- * - * int64 offset = 1; - * @return The offset. - */ - long getOffset(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequestOrBuilder.java deleted file mode 100644 index 1d115c103e..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/storage.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public interface GetWriteStreamRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the stream to get, in the form of
-   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the stream to get, in the form of
-   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoBufProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoBufProto.java deleted file mode 100644 index 0b812399b6..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoBufProto.java +++ /dev/null @@ -1,68 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/protobuf.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public final class ProtoBufProto { - private ProtoBufProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/bigquery/storage/v1beta2/" + - "protobuf.proto\022%google.cloud.bigquery.st" + - "orage.v1beta2\032 google/protobuf/descripto" + - "r.proto\"I\n\013ProtoSchema\022:\n\020proto_descript" + - "or\030\001 \001(\0132 .google.protobuf.DescriptorPro" + - "to\"$\n\tProtoRows\022\027\n\017serialized_rows\030\001 \003(\014" + - "B\201\001\n)com.google.cloud.bigquery.storage.v" + - "1beta2B\rProtoBufProtoP\001ZCcloud.google.co" + - "m/go/bigquery/storage/apiv1beta2/storage" + - "pb;storagepbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DescriptorProtos.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor, - new java.lang.String[] { "ProtoDescriptor", }); - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor, - new java.lang.String[] { "SerializedRows", }); - com.google.protobuf.DescriptorProtos.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java deleted file mode 100644 index e125fcea9e..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/storage.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public interface ReadRowsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Stream to read rows from.
-   * 
- * - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The readStream. - */ - java.lang.String getReadStream(); - /** - *
-   * Required. Stream to read rows from.
-   * 
- * - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for readStream. - */ - com.google.protobuf.ByteString - getReadStreamBytes(); - - /** - *
-   * The offset requested must be less than the last row read from Read.
-   * Requesting a larger offset is undefined. If not specified, start reading
-   * from offset zero.
-   * 
- * - * int64 offset = 2; - * @return The offset. - */ - long getOffset(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageProto.java deleted file mode 100644 index 37a79f830f..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageProto.java +++ /dev/null @@ -1,457 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/storage.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public final class StorageProto { - private StorageProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/cloud/bigquery/storage/v1beta2/" + - "storage.proto\022%google.cloud.bigquery.sto" + - "rage.v1beta2\032\034google/api/annotations.pro" + - "to\032\027google/api/client.proto\032\037google/api/" + - "field_behavior.proto\032\031google/api/resourc" + - "e.proto\0321google/cloud/bigquery/storage/v" + - "1beta2/arrow.proto\0320google/cloud/bigquer" + - "y/storage/v1beta2/avro.proto\0324google/clo" + - "ud/bigquery/storage/v1beta2/protobuf.pro" + - "to\0322google/cloud/bigquery/storage/v1beta" + - "2/stream.proto\0321google/cloud/bigquery/st" + - "orage/v1beta2/table.proto\032\037google/protob" + - "uf/timestamp.proto\032\036google/protobuf/wrap" + - "pers.proto\032\027google/rpc/status.proto\"\312\001\n\030" + - "CreateReadSessionRequest\022D\n\006parent\030\001 \001(\t" + - "B4\342A\001\002\372A-\n+cloudresourcemanager.googleap" + - "is.com/Project\022N\n\014read_session\030\002 \001(\01322.g" + - "oogle.cloud.bigquery.storage.v1beta2.Rea" + - "dSessionB\004\342A\001\002\022\030\n\020max_stream_count\030\003 \001(\005" + - "\"j\n\017ReadRowsRequest\022G\n\013read_stream\030\001 \001(\t" + - "B2\342A\001\002\372A+\n)bigquerystorage.googleapis.co" + - "m/ReadStream\022\016\n\006offset\030\002 \001(\003\")\n\rThrottle" + - "State\022\030\n\020throttle_percent\030\001 \001(\005\"\234\001\n\013Stre" + - "amStats\022M\n\010progress\030\002 \001(\0132;.google.cloud" + - ".bigquery.storage.v1beta2.StreamStats.Pr" + - "ogress\032>\n\010Progress\022\031\n\021at_response_start\030" + - "\001 \001(\001\022\027\n\017at_response_end\030\002 \001(\001\"\207\004\n\020ReadR" + - "owsResponse\022D\n\tavro_rows\030\003 \001(\0132/.google." + - "cloud.bigquery.storage.v1beta2.AvroRowsH" + - "\000\022U\n\022arrow_record_batch\030\004 \001(\01327.google.c" + - "loud.bigquery.storage.v1beta2.ArrowRecor" + - "dBatchH\000\022\021\n\trow_count\030\006 \001(\003\022A\n\005stats\030\002 \001" + - "(\01322.google.cloud.bigquery.storage.v1bet" + - "a2.StreamStats\022L\n\016throttle_state\030\005 \001(\01324" + - ".google.cloud.bigquery.storage.v1beta2.T" + - "hrottleState\022N\n\013avro_schema\030\007 \001(\01321.goog" + - "le.cloud.bigquery.storage.v1beta2.AvroSc" + - "hemaB\004\342A\001\003H\001\022P\n\014arrow_schema\030\010 \001(\01322.goo" + - "gle.cloud.bigquery.storage.v1beta2.Arrow" + - "SchemaB\004\342A\001\003H\001B\006\n\004rowsB\010\n\006schema\"l\n\026Spli" + - "tReadStreamRequest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A" + - "+\n)bigquerystorage.googleapis.com/ReadSt" + - "ream\022\020\n\010fraction\030\002 \001(\001\"\261\001\n\027SplitReadStre" + - "amResponse\022I\n\016primary_stream\030\001 \001(\01321.goo" + - "gle.cloud.bigquery.storage.v1beta2.ReadS" + - "tream\022K\n\020remainder_stream\030\002 \001(\01321.google" + - ".cloud.bigquery.storage.v1beta2.ReadStre" + - "am\"\242\001\n\030CreateWriteStreamRequest\0226\n\006paren" + - "t\030\001 \001(\tB&\342A\001\002\372A\037\n\035bigquery.googleapis.co" + - "m/Table\022N\n\014write_stream\030\002 \001(\01322.google.c" + - "loud.bigquery.storage.v1beta2.WriteStrea" + - "mB\004\342A\001\002\"\230\003\n\021AppendRowsRequest\022I\n\014write_s" + - "tream\030\001 \001(\tB3\342A\001\002\372A,\n*bigquerystorage.go" + - "ogleapis.com/WriteStream\022+\n\006offset\030\002 \001(\013" + - "2\033.google.protobuf.Int64Value\022X\n\nproto_r" + - "ows\030\004 \001(\0132B.google.cloud.bigquery.storag" + - "e.v1beta2.AppendRowsRequest.ProtoDataH\000\022" + - "\020\n\010trace_id\030\006 \001(\t\032\226\001\n\tProtoData\022I\n\rwrite" + - "r_schema\030\001 \001(\01322.google.cloud.bigquery.s" + - "torage.v1beta2.ProtoSchema\022>\n\004rows\030\002 \001(\013" + - "20.google.cloud.bigquery.storage.v1beta2" + - ".ProtoRowsB\006\n\004rows\"\257\002\n\022AppendRowsRespons" + - "e\022_\n\rappend_result\030\001 \001(\0132F.google.cloud." + - "bigquery.storage.v1beta2.AppendRowsRespo" + - "nse.AppendResultH\000\022#\n\005error\030\002 \001(\0132\022.goog" + - "le.rpc.StatusH\000\022J\n\016updated_schema\030\003 \001(\0132" + - "2.google.cloud.bigquery.storage.v1beta2." + - "TableSchema\032;\n\014AppendResult\022+\n\006offset\030\001 " + - "\001(\0132\033.google.protobuf.Int64ValueB\n\n\010resp" + - "onse\"Z\n\025GetWriteStreamRequest\022A\n\004name\030\001 " + - "\001(\tB3\342A\001\002\372A,\n*bigquerystorage.googleapis" + - ".com/WriteStream\"S\n\036BatchCommitWriteStre" + - "amsRequest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022\033\n\rwrit" + - "e_streams\030\002 \003(\tB\004\342A\001\002\"\236\001\n\037BatchCommitWri" + - "teStreamsResponse\022/\n\013commit_time\030\001 \001(\0132\032" + - ".google.protobuf.Timestamp\022J\n\rstream_err" + - "ors\030\002 \003(\01323.google.cloud.bigquery.storag" + - "e.v1beta2.StorageError\"_\n\032FinalizeWriteS" + - "treamRequest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*big" + - "querystorage.googleapis.com/WriteStream\"" + - "0\n\033FinalizeWriteStreamResponse\022\021\n\trow_co" + - "unt\030\001 \001(\003\"\212\001\n\020FlushRowsRequest\022I\n\014write_" + - "stream\030\001 \001(\tB3\342A\001\002\372A,\n*bigquerystorage.g" + - "oogleapis.com/WriteStream\022+\n\006offset\030\002 \001(" + - "\0132\033.google.protobuf.Int64Value\"#\n\021FlushR" + - "owsResponse\022\016\n\006offset\030\001 \001(\003\"\324\002\n\014StorageE" + - "rror\022R\n\004code\030\001 \001(\0162D.google.cloud.bigque" + - "ry.storage.v1beta2.StorageError.StorageE" + - "rrorCode\022\016\n\006entity\030\002 \001(\t\022\025\n\rerror_messag" + - "e\030\003 \001(\t\"\310\001\n\020StorageErrorCode\022\"\n\036STORAGE_" + - "ERROR_CODE_UNSPECIFIED\020\000\022\023\n\017TABLE_NOT_FO" + - "UND\020\001\022\034\n\030STREAM_ALREADY_COMMITTED\020\002\022\024\n\020S" + - "TREAM_NOT_FOUND\020\003\022\027\n\023INVALID_STREAM_TYPE" + - "\020\004\022\030\n\024INVALID_STREAM_STATE\020\005\022\024\n\020STREAM_F" + - "INALIZED\020\0062\277\006\n\014BigQueryRead\022\370\001\n\021CreateRe" + - "adSession\022?.google.cloud.bigquery.storag" + - "e.v1beta2.CreateReadSessionRequest\0322.goo" + - "gle.cloud.bigquery.storage.v1beta2.ReadS" + - "ession\"n\332A$parent,read_session,max_strea" + - "m_count\202\323\344\223\002A\".google.clou" + - "d.bigquery.storage.v1beta2.SplitReadStre" + - "amResponse\"C\202\323\344\223\002=\022;/v1beta2/{name=proje" + - "cts/*/locations/*/sessions/*/streams/*}\032" + - "{\312A\036bigquerystorage.googleapis.com\322AWhtt" + - "ps://www.googleapis.com/auth/bigquery,ht" + - "tps://www.googleapis.com/auth/cloud-plat" + - "form2\226\014\n\rBigQueryWrite\022\346\001\n\021CreateWriteSt" + - "ream\022?.google.cloud.bigquery.storage.v1b" + - "eta2.CreateWriteStreamRequest\0322.google.c" + - "loud.bigquery.storage.v1beta2.WriteStrea" + - "m\"\\\332A\023parent,write_stream\202\323\344\223\002@\"0/v1beta" + - "2/{parent=projects/*/datasets/*/tables/*" + - "}:\014write_stream\022\341\001\n\nAppendRows\0228.google." + - "cloud.bigquery.storage.v1beta2.AppendRow" + - "sRequest\0329.google.cloud.bigquery.storage" + - ".v1beta2.AppendRowsResponse\"Z\332A\014write_st" + - "ream\202\323\344\223\002E\"@/v1beta2/{write_stream=proje" + - "cts/*/datasets/*/tables/*/streams/*}:\001*(" + - "\0010\001\022\316\001\n\016GetWriteStream\022<.google.cloud.bi" + - "gquery.storage.v1beta2.GetWriteStreamReq" + - "uest\0322.google.cloud.bigquery.storage.v1b" + - "eta2.WriteStream\"J\332A\004name\202\323\344\223\002=\"8/v1beta" + - "2/{name=projects/*/datasets/*/tables/*/s" + - "treams/*}:\001*\022\350\001\n\023FinalizeWriteStream\022A.g" + - "oogle.cloud.bigquery.storage.v1beta2.Fin" + - "alizeWriteStreamRequest\032B.google.cloud.b" + - "igquery.storage.v1beta2.FinalizeWriteStr" + - "eamResponse\"J\332A\004name\202\323\344\223\002=\"8/v1beta2/{na" + - "me=projects/*/datasets/*/tables/*/stream" + - "s/*}:\001*\022\353\001\n\027BatchCommitWriteStreams\022E.go" + - "ogle.cloud.bigquery.storage.v1beta2.Batc" + - "hCommitWriteStreamsRequest\032F.google.clou" + - "d.bigquery.storage.v1beta2.BatchCommitWr" + - "iteStreamsResponse\"A\332A\006parent\202\323\344\223\0022\0220/v1" + - "beta2/{parent=projects/*/datasets/*/tabl" + - "es/*}\022\332\001\n\tFlushRows\0227.google.cloud.bigqu" + - "ery.storage.v1beta2.FlushRowsRequest\0328.g" + - "oogle.cloud.bigquery.storage.v1beta2.Flu" + - "shRowsResponse\"Z\332A\014write_stream\202\323\344\223\002E\"@/" + - "v1beta2/{write_stream=projects/*/dataset" + - "s/*/tables/*/streams/*}:\001*\032\260\001\312A\036bigquery" + - "storage.googleapis.com\322A\213\001https://www.go" + - "ogleapis.com/auth/bigquery,https://www.g" + - "oogleapis.com/auth/bigquery.insertdata,h" + - "ttps://www.googleapis.com/auth/cloud-pla" + - "tformB\200\001\n)com.google.cloud.bigquery.stor" + - "age.v1beta2B\014StorageProtoP\001ZCcloud.googl" + - "e.com/go/bigquery/storage/apiv1beta2/sto" + - "ragepb;storagepbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1beta2.ArrowProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1beta2.AvroProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1beta2.StreamProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1beta2.TableProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_descriptor, - new java.lang.String[] { "Parent", "ReadSession", "MaxStreamCount", }); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor, - new java.lang.String[] { "ReadStream", "Offset", }); - internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor, - new java.lang.String[] { "ThrottlePercent", }); - internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor, - new java.lang.String[] { "Progress", }); - internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor = - internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor, - new java.lang.String[] { "AtResponseStart", "AtResponseEnd", }); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_descriptor, - new java.lang.String[] { "AvroRows", "ArrowRecordBatch", "RowCount", "Stats", "ThrottleState", "AvroSchema", "ArrowSchema", "Rows", "Schema", }); - internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor, - new java.lang.String[] { "Name", "Fraction", }); - internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_descriptor, - new java.lang.String[] { "PrimaryStream", "RemainderStream", }); - internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_descriptor, - new java.lang.String[] { "Parent", "WriteStream", }); - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor, - new java.lang.String[] { "WriteStream", "Offset", "ProtoRows", "TraceId", "Rows", }); - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_descriptor = - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_descriptor, - new java.lang.String[] { "WriterSchema", "Rows", }); - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor, - new java.lang.String[] { "AppendResult", "Error", "UpdatedSchema", "Response", }); - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_descriptor = - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_descriptor, - new java.lang.String[] { "Offset", }); - internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor, - new java.lang.String[] { "Parent", "WriteStreams", }); - internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_descriptor, - new java.lang.String[] { "CommitTime", "StreamErrors", }); - internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor, - new java.lang.String[] { "RowCount", }); - internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_descriptor, - new java.lang.String[] { "WriteStream", "Offset", }); - internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor, - new java.lang.String[] { "Offset", }); - internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_descriptor, - new java.lang.String[] { "Code", "Entity", "ErrorMessage", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1beta2.ArrowProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1beta2.AvroProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1beta2.StreamProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1beta2.TableProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java deleted file mode 100644 index 925c74022b..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java +++ /dev/null @@ -1,167 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/stream.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public final class StreamProto { - private StreamProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/cloud/bigquery/storage/v1beta2/" + - "stream.proto\022%google.cloud.bigquery.stor" + - "age.v1beta2\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\0321google/" + - "cloud/bigquery/storage/v1beta2/arrow.pro" + - "to\0320google/cloud/bigquery/storage/v1beta" + - "2/avro.proto\0321google/cloud/bigquery/stor" + - "age/v1beta2/table.proto\032\037google/protobuf" + - "/timestamp.proto\"\374\007\n\013ReadSession\022\022\n\004name" + - "\030\001 \001(\tB\004\342A\001\003\0225\n\013expire_time\030\002 \001(\0132\032.goog" + - "le.protobuf.TimestampB\004\342A\001\003\022L\n\013data_form" + - "at\030\003 \001(\01621.google.cloud.bigquery.storage" + - ".v1beta2.DataFormatB\004\342A\001\005\022N\n\013avro_schema" + - "\030\004 \001(\01321.google.cloud.bigquery.storage.v" + - "1beta2.AvroSchemaB\004\342A\001\003H\000\022P\n\014arrow_schem" + - "a\030\005 \001(\01322.google.cloud.bigquery.storage." + - "v1beta2.ArrowSchemaB\004\342A\001\003H\000\0225\n\005table\030\006 \001" + - "(\tB&\342A\001\005\372A\037\n\035bigquery.googleapis.com/Tab" + - "le\022`\n\017table_modifiers\030\007 \001(\0132A.google.clo" + - "ud.bigquery.storage.v1beta2.ReadSession." + - "TableModifiersB\004\342A\001\001\022_\n\014read_options\030\010 \001" + - "(\0132C.google.cloud.bigquery.storage.v1bet" + - "a2.ReadSession.TableReadOptionsB\004\342A\001\001\022H\n" + - "\007streams\030\n \003(\01321.google.cloud.bigquery.s" + - "torage.v1beta2.ReadStreamB\004\342A\001\003\032C\n\016Table" + - "Modifiers\0221\n\rsnapshot_time\030\001 \001(\0132\032.googl" + - "e.protobuf.Timestamp\032\261\001\n\020TableReadOption" + - "s\022\027\n\017selected_fields\030\001 \003(\t\022\027\n\017row_restri" + - "ction\030\002 \001(\t\022k\n\033arrow_serialization_optio" + - "ns\030\003 \001(\0132@.google.cloud.bigquery.storage" + - ".v1beta2.ArrowSerializationOptionsB\004\342A\001\001" + - ":k\352Ah\n*bigquerystorage.googleapis.com/Re" + - "adSession\022:projects/{project}/locations/" + - "{location}/sessions/{session}B\010\n\006schema\"" + - "\235\001\n\nReadStream\022\022\n\004name\030\001 \001(\tB\004\342A\001\003:{\352Ax\n" + - ")bigquerystorage.googleapis.com/ReadStre" + - "am\022Kprojects/{project}/locations/{locati" + - "on}/sessions/{session}/streams/{stream}\"" + - "\354\003\n\013WriteStream\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022K\n\004t" + - "ype\030\002 \001(\01627.google.cloud.bigquery.storag" + - "e.v1beta2.WriteStream.TypeB\004\342A\001\005\0225\n\013crea" + - "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" + - "pB\004\342A\001\003\0225\n\013commit_time\030\004 \001(\0132\032.google.pr" + - "otobuf.TimestampB\004\342A\001\003\022N\n\014table_schema\030\005" + - " \001(\01322.google.cloud.bigquery.storage.v1b" + - "eta2.TableSchemaB\004\342A\001\003\"F\n\004Type\022\024\n\020TYPE_U" + - "NSPECIFIED\020\000\022\r\n\tCOMMITTED\020\001\022\013\n\007PENDING\020\002" + - "\022\014\n\010BUFFERED\020\003:v\352As\n*bigquerystorage.goo" + - "gleapis.com/WriteStream\022Eprojects/{proje" + - "ct}/datasets/{dataset}/tables/{table}/st" + - "reams/{stream}*>\n\nDataFormat\022\033\n\027DATA_FOR" + - "MAT_UNSPECIFIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\002B\327" + - "\001\n)com.google.cloud.bigquery.storage.v1b" + - "eta2B\013StreamProtoP\001ZCcloud.google.com/go" + - "/bigquery/storage/apiv1beta2/storagepb;s" + - "toragepb\352AU\n\035bigquery.googleapis.com/Tab" + - "le\0224projects/{project}/datasets/{dataset" + - "}/tables/{table}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1beta2.ArrowProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1beta2.AvroProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1beta2.TableProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor, - new java.lang.String[] { "Name", "ExpireTime", "DataFormat", "AvroSchema", "ArrowSchema", "Table", "TableModifiers", "ReadOptions", "Streams", "Schema", }); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor = - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor, - new java.lang.String[] { "SnapshotTime", }); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor = - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor, - new java.lang.String[] { "SelectedFields", "RowRestriction", "ArrowSerializationOptions", }); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor, - new java.lang.String[] { "Name", "Type", "CreateTime", "CommitTime", "TableSchema", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1beta2.ArrowProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1beta2.AvroProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1beta2.TableProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableProto.java deleted file mode 100644 index d7e08925d6..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableProto.java +++ /dev/null @@ -1,87 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/table.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public final class TableProto { - private TableProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/bigquery/storage/v1beta2/" + - "table.proto\022%google.cloud.bigquery.stora" + - "ge.v1beta2\032\037google/api/field_behavior.pr" + - "oto\"V\n\013TableSchema\022G\n\006fields\030\001 \003(\01327.goo" + - "gle.cloud.bigquery.storage.v1beta2.Table" + - "FieldSchema\"\324\004\n\020TableFieldSchema\022\022\n\004name" + - "\030\001 \001(\tB\004\342A\001\002\022P\n\004type\030\002 \001(\0162<.google.clou" + - "d.bigquery.storage.v1beta2.TableFieldSch" + - "ema.TypeB\004\342A\001\002\022P\n\004mode\030\003 \001(\0162<.google.cl" + - "oud.bigquery.storage.v1beta2.TableFieldS" + - "chema.ModeB\004\342A\001\001\022M\n\006fields\030\004 \003(\01327.googl" + - "e.cloud.bigquery.storage.v1beta2.TableFi" + - "eldSchemaB\004\342A\001\001\022\031\n\013description\030\006 \001(\tB\004\342A" + - "\001\001\"\325\001\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n\006STR" + - "ING\020\001\022\t\n\005INT64\020\002\022\n\n\006DOUBLE\020\003\022\n\n\006STRUCT\020\004" + - "\022\t\n\005BYTES\020\005\022\010\n\004BOOL\020\006\022\r\n\tTIMESTAMP\020\007\022\010\n\004" + - "DATE\020\010\022\010\n\004TIME\020\t\022\014\n\010DATETIME\020\n\022\r\n\tGEOGRA" + - "PHY\020\013\022\013\n\007NUMERIC\020\014\022\016\n\nBIGNUMERIC\020\r\022\014\n\010IN" + - "TERVAL\020\016\022\010\n\004JSON\020\017\"F\n\004Mode\022\024\n\020MODE_UNSPE" + - "CIFIED\020\000\022\014\n\010NULLABLE\020\001\022\014\n\010REQUIRED\020\002\022\014\n\010" + - "REPEATED\020\003B~\n)com.google.cloud.bigquery." + - "storage.v1beta2B\nTableProtoP\001ZCcloud.goo" + - "gle.com/go/bigquery/storage/apiv1beta2/s" + - "toragepb;storagepbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor, - new java.lang.String[] { "Fields", }); - internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor, - new java.lang.String[] { "Name", "Type", "Mode", "Fields", "Description", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java deleted file mode 100644 index 44bb407db0..0000000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1beta2/storage.proto - -package com.google.cloud.bigquery.storage.v1beta2; - -public interface ThrottleStateOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ThrottleState) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * How much this connection is being throttled. Zero means no throttling,
-   * 100 means fully throttled.
-   * 
- * - * int32 throttle_percent = 1; - * @return The throttlePercent. - */ - int getThrottlePercent(); -} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AnnotationsProto.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AnnotationsProto.java new file mode 100644 index 0000000000..2681a10589 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AnnotationsProto.java @@ -0,0 +1,89 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/annotations.proto + +package com.google.cloud.bigquery.storage.v1; + +public final class AnnotationsProto { + private AnnotationsProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { + registry.add(com.google.cloud.bigquery.storage.v1.AnnotationsProto.columnName); + } + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + public static final int COLUMN_NAME_FIELD_NUMBER = 454943157; + /** + * + * + *
+   * Setting the column_name extension allows users to reference
+   * bigquery column independently of the field name in the protocol buffer
+   * message.
+   *
+   * The intended use of this annotation is to reference a destination column
+   * named using characters unavailable for protobuf field names (e.g. unicode
+   * characters).
+   *
+   * More details about BigQuery naming limitations can be found here:
+   * https://cloud.google.com/bigquery/docs/schemas#column_names
+   *
+   * This extension is currently experimental.
+   * 
+ * + * extend .google.protobuf.FieldOptions { ... } + */ + public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< + com.google.protobuf.DescriptorProtos.FieldOptions, java.lang.String> + columnName = + com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension( + java.lang.String.class, null); + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/cloud/bigquery/storage/v1/annot" + + "ations.proto\022 google.cloud.bigquery.stor" + + "age.v1\032 google/protobuf/descriptor.proto" + + ":9\n\013column_name\022\035.google.protobuf.FieldO" + + "ptions\030\265\303\367\330\001 \001(\t\210\001\001B\300\001\n$com.google.cloud" + + ".bigquery.storage.v1B\020AnnotationsProtoP\001" + + "Z>cloud.google.com/go/bigquery/storage/a" + + "piv1/storagepb;storagepb\252\002 Google.Cloud." + + "BigQuery.Storage.V1\312\002 Google\\Cloud\\BigQu" + + "ery\\Storage\\V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.DescriptorProtos.getDescriptor(), + }); + columnName.internalInit(descriptor.getExtensions().get(0)); + com.google.protobuf.DescriptorProtos.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequest.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequest.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequest.java index c16854be17..bf64f57698 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequest.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequest.java @@ -1,9 +1,26 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Request message for `AppendRows`.
  *
@@ -18,15 +35,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsRequest}
  */
-public final class AppendRowsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppendRowsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.AppendRowsRequest)
     AppendRowsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppendRowsRequest.newBuilder() to construct.
   private AppendRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppendRowsRequest() {
     writeStream_ = "";
     traceId_ = "";
@@ -34,48 +52,52 @@ private AppendRowsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppendRowsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1.StorageProto
+        .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 7:
         return internalGetMissingValueInterpretations();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1.StorageProto
+        .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1.AppendRowsRequest.class, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.Builder.class);
+            com.google.cloud.bigquery.storage.v1.AppendRowsRequest.class,
+            com.google.cloud.bigquery.storage.v1.AppendRowsRequest.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * An enum to indicate how to interpret missing values of fields that are
    * present in user schema but missing in rows. A missing value can represent a
    * NULL or a column default value defined in BigQuery table schema.
    * 
* - * Protobuf enum {@code google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation} + * Protobuf enum {@code + * google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation} */ - public enum MissingValueInterpretation - implements com.google.protobuf.ProtocolMessageEnum { + public enum MissingValueInterpretation implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Invalid missing value interpretation. Requests with this value will be
      * rejected.
@@ -85,6 +107,8 @@ public enum MissingValueInterpretation
      */
     MISSING_VALUE_INTERPRETATION_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Missing value is interpreted as NULL.
      * 
@@ -93,6 +117,8 @@ public enum MissingValueInterpretation */ NULL_VALUE(1), /** + * + * *
      * Missing value is interpreted as column default value if declared in the
      * table schema, NULL otherwise.
@@ -105,6 +131,8 @@ public enum MissingValueInterpretation
     ;
 
     /**
+     *
+     *
      * 
      * Invalid missing value interpretation. Requests with this value will be
      * rejected.
@@ -114,6 +142,8 @@ public enum MissingValueInterpretation
      */
     public static final int MISSING_VALUE_INTERPRETATION_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * Missing value is interpreted as NULL.
      * 
@@ -122,6 +152,8 @@ public enum MissingValueInterpretation */ public static final int NULL_VALUE_VALUE = 1; /** + * + * *
      * Missing value is interpreted as column default value if declared in the
      * table schema, NULL otherwise.
@@ -131,7 +163,6 @@ public enum MissingValueInterpretation
      */
     public static final int DEFAULT_VALUE_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -156,10 +187,14 @@ public static MissingValueInterpretation valueOf(int value) {
      */
     public static MissingValueInterpretation forNumber(int value) {
       switch (value) {
-        case 0: return MISSING_VALUE_INTERPRETATION_UNSPECIFIED;
-        case 1: return NULL_VALUE;
-        case 2: return DEFAULT_VALUE;
-        default: return null;
+        case 0:
+          return MISSING_VALUE_INTERPRETATION_UNSPECIFIED;
+        case 1:
+          return NULL_VALUE;
+        case 2:
+          return DEFAULT_VALUE;
+        default:
+          return null;
       }
     }
 
@@ -167,29 +202,31 @@ public static MissingValueInterpretation forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        MissingValueInterpretation> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public MissingValueInterpretation findValueByNumber(int number) {
-              return MissingValueInterpretation.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public MissingValueInterpretation findValueByNumber(int number) {
+                return MissingValueInterpretation.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final MissingValueInterpretation[] VALUES = values();
@@ -197,8 +234,7 @@ public MissingValueInterpretation findValueByNumber(int number) {
     public static MissingValueInterpretation valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -215,11 +251,14 @@ private MissingValueInterpretation(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation)
   }
 
-  public interface ProtoDataOrBuilder extends
+  public interface ProtoDataOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The protocol buffer schema used to serialize the data. Provide this value
      * whenever:
@@ -232,10 +271,13 @@ public interface ProtoDataOrBuilder extends
      * 
* * .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1; + * * @return Whether the writerSchema field is set. */ boolean hasWriterSchema(); /** + * + * *
      * The protocol buffer schema used to serialize the data. Provide this value
      * whenever:
@@ -248,10 +290,13 @@ public interface ProtoDataOrBuilder extends
      * 
* * .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1; + * * @return The writerSchema. */ com.google.cloud.bigquery.storage.v1.ProtoSchema getWriterSchema(); /** + * + * *
      * The protocol buffer schema used to serialize the data. Provide this value
      * whenever:
@@ -268,6 +313,8 @@ public interface ProtoDataOrBuilder extends
     com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder getWriterSchemaOrBuilder();
 
     /**
+     *
+     *
      * 
      * Serialized row data in protobuf message format.
      * Currently, the backend expects the serialized rows to adhere to
@@ -276,10 +323,13 @@ public interface ProtoDataOrBuilder extends
      * 
* * .google.cloud.bigquery.storage.v1.ProtoRows rows = 2; + * * @return Whether the rows field is set. */ boolean hasRows(); /** + * + * *
      * Serialized row data in protobuf message format.
      * Currently, the backend expects the serialized rows to adhere to
@@ -288,10 +338,13 @@ public interface ProtoDataOrBuilder extends
      * 
* * .google.cloud.bigquery.storage.v1.ProtoRows rows = 2; + * * @return The rows. */ com.google.cloud.bigquery.storage.v1.ProtoRows getRows(); /** + * + * *
      * Serialized row data in protobuf message format.
      * Currently, the backend expects the serialized rows to adhere to
@@ -304,6 +357,8 @@ public interface ProtoDataOrBuilder extends
     com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder getRowsOrBuilder();
   }
   /**
+   *
+   *
    * 
    * ProtoData contains the data rows and schema when constructing append
    * requests.
@@ -311,41 +366,44 @@ public interface ProtoDataOrBuilder extends
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData}
    */
-  public static final class ProtoData extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ProtoData extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData)
       ProtoDataOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ProtoData.newBuilder() to construct.
     private ProtoData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private ProtoData() {
-    }
+
+    private ProtoData() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ProtoData();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.class, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder.class);
+              com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.class,
+              com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder.class);
     }
 
     public static final int WRITER_SCHEMA_FIELD_NUMBER = 1;
     private com.google.cloud.bigquery.storage.v1.ProtoSchema writerSchema_;
     /**
+     *
+     *
      * 
      * The protocol buffer schema used to serialize the data. Provide this value
      * whenever:
@@ -358,6 +416,7 @@ protected java.lang.Object newInstance(
      * 
* * .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1; + * * @return Whether the writerSchema field is set. */ @java.lang.Override @@ -365,6 +424,8 @@ public boolean hasWriterSchema() { return writerSchema_ != null; } /** + * + * *
      * The protocol buffer schema used to serialize the data. Provide this value
      * whenever:
@@ -377,13 +438,18 @@ public boolean hasWriterSchema() {
      * 
* * .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1; + * * @return The writerSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ProtoSchema getWriterSchema() { - return writerSchema_ == null ? com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance() : writerSchema_; + return writerSchema_ == null + ? com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance() + : writerSchema_; } /** + * + * *
      * The protocol buffer schema used to serialize the data. Provide this value
      * whenever:
@@ -399,12 +465,16 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchema getWriterSchema() {
      */
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder getWriterSchemaOrBuilder() {
-      return writerSchema_ == null ? com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance() : writerSchema_;
+      return writerSchema_ == null
+          ? com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance()
+          : writerSchema_;
     }
 
     public static final int ROWS_FIELD_NUMBER = 2;
     private com.google.cloud.bigquery.storage.v1.ProtoRows rows_;
     /**
+     *
+     *
      * 
      * Serialized row data in protobuf message format.
      * Currently, the backend expects the serialized rows to adhere to
@@ -413,6 +483,7 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder getWriterSchema
      * 
* * .google.cloud.bigquery.storage.v1.ProtoRows rows = 2; + * * @return Whether the rows field is set. */ @java.lang.Override @@ -420,6 +491,8 @@ public boolean hasRows() { return rows_ != null; } /** + * + * *
      * Serialized row data in protobuf message format.
      * Currently, the backend expects the serialized rows to adhere to
@@ -428,13 +501,18 @@ public boolean hasRows() {
      * 
* * .google.cloud.bigquery.storage.v1.ProtoRows rows = 2; + * * @return The rows. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ProtoRows getRows() { - return rows_ == null ? com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance() : rows_; + return rows_ == null + ? com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance() + : rows_; } /** + * + * *
      * Serialized row data in protobuf message format.
      * Currently, the backend expects the serialized rows to adhere to
@@ -446,10 +524,13 @@ public com.google.cloud.bigquery.storage.v1.ProtoRows getRows() {
      */
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder getRowsOrBuilder() {
-      return rows_ == null ? com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance() : rows_;
+      return rows_ == null
+          ? com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance()
+          : rows_;
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -467,8 +548,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (writerSchema_ != null) {
         output.writeMessage(1, getWriterSchema());
       }
@@ -485,12 +565,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (writerSchema_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getWriterSchema());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWriterSchema());
       }
       if (rows_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getRows());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRows());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -500,22 +578,21 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData)) {
         return super.equals(obj);
       }
-      com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData other = (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) obj;
+      com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData other =
+          (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) obj;
 
       if (hasWriterSchema() != other.hasWriterSchema()) return false;
       if (hasWriterSchema()) {
-        if (!getWriterSchema()
-            .equals(other.getWriterSchema())) return false;
+        if (!getWriterSchema().equals(other.getWriterSchema())) return false;
       }
       if (hasRows() != other.hasRows()) return false;
       if (hasRows()) {
-        if (!getRows()
-            .equals(other.getRows())) return false;
+        if (!getRows().equals(other.getRows())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -542,89 +619,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -634,6 +717,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * ProtoData contains the data rows and schema when constructing append
      * requests.
@@ -641,33 +726,34 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData)
         com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.bigquery.storage.v1.StorageProto
+            .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable
+        return com.google.cloud.bigquery.storage.v1.StorageProto
+            .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.class, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder.class);
+                com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.class,
+                com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder.class);
       }
 
-      // Construct using com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -686,14 +772,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.bigquery.storage.v1.StorageProto
+            .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData getDefaultInstanceForType() {
-        return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance();
+      public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
+          getDefaultInstanceForType() {
+        return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -707,23 +795,24 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData build()
 
       @java.lang.Override
       public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData buildPartial() {
-        com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData result = new com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData result =
+            new com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData result) {
+      private void buildPartial0(
+          com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.writerSchema_ = writerSchemaBuilder_ == null
-              ? writerSchema_
-              : writerSchemaBuilder_.build();
+          result.writerSchema_ =
+              writerSchemaBuilder_ == null ? writerSchema_ : writerSchemaBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.rows_ = rowsBuilder_ == null
-              ? rows_
-              : rowsBuilder_.build();
+          result.rows_ = rowsBuilder_ == null ? rows_ : rowsBuilder_.build();
         }
       }
 
@@ -731,46 +820,53 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.AppendRowsReques
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) {
-          return mergeFrom((com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData)other);
+          return mergeFrom(
+              (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData other) {
-        if (other == com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData other) {
+        if (other
+            == com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
+                .getDefaultInstance()) return this;
         if (other.hasWriterSchema()) {
           mergeWriterSchema(other.getWriterSchema());
         }
@@ -808,26 +904,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                input.readMessage(
-                    getWriterSchemaFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                input.readMessage(
-                    getRowsFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  input.readMessage(getWriterSchemaFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  input.readMessage(getRowsFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -837,12 +932,18 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private com.google.cloud.bigquery.storage.v1.ProtoSchema writerSchema_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.bigquery.storage.v1.ProtoSchema, com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder, com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder> writerSchemaBuilder_;
+              com.google.cloud.bigquery.storage.v1.ProtoSchema,
+              com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder,
+              com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder>
+          writerSchemaBuilder_;
       /**
+       *
+       *
        * 
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -855,12 +956,15 @@ public Builder mergeFrom(
        * 
* * .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1; + * * @return Whether the writerSchema field is set. */ public boolean hasWriterSchema() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -873,16 +977,21 @@ public boolean hasWriterSchema() {
        * 
* * .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1; + * * @return The writerSchema. */ public com.google.cloud.bigquery.storage.v1.ProtoSchema getWriterSchema() { if (writerSchemaBuilder_ == null) { - return writerSchema_ == null ? com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance() : writerSchema_; + return writerSchema_ == null + ? com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance() + : writerSchema_; } else { return writerSchemaBuilder_.getMessage(); } } /** + * + * *
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -910,6 +1019,8 @@ public Builder setWriterSchema(com.google.cloud.bigquery.storage.v1.ProtoSchema
         return this;
       }
       /**
+       *
+       *
        * 
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -935,6 +1046,8 @@ public Builder setWriterSchema(
         return this;
       }
       /**
+       *
+       *
        * 
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -950,9 +1063,10 @@ public Builder setWriterSchema(
        */
       public Builder mergeWriterSchema(com.google.cloud.bigquery.storage.v1.ProtoSchema value) {
         if (writerSchemaBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0) &&
-            writerSchema_ != null &&
-            writerSchema_ != com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0)
+              && writerSchema_ != null
+              && writerSchema_
+                  != com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance()) {
             getWriterSchemaBuilder().mergeFrom(value);
           } else {
             writerSchema_ = value;
@@ -965,6 +1079,8 @@ public Builder mergeWriterSchema(com.google.cloud.bigquery.storage.v1.ProtoSchem
         return this;
       }
       /**
+       *
+       *
        * 
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -989,6 +1105,8 @@ public Builder clearWriterSchema() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -1008,6 +1126,8 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder getWriterSchemaB
         return getWriterSchemaFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -1025,11 +1145,14 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder getWriterSchema
         if (writerSchemaBuilder_ != null) {
           return writerSchemaBuilder_.getMessageOrBuilder();
         } else {
-          return writerSchema_ == null ?
-              com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance() : writerSchema_;
+          return writerSchema_ == null
+              ? com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance()
+              : writerSchema_;
         }
       }
       /**
+       *
+       *
        * 
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -1044,14 +1167,17 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder getWriterSchema
        * .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.bigquery.storage.v1.ProtoSchema, com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder, com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder> 
+              com.google.cloud.bigquery.storage.v1.ProtoSchema,
+              com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder,
+              com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder>
           getWriterSchemaFieldBuilder() {
         if (writerSchemaBuilder_ == null) {
-          writerSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.bigquery.storage.v1.ProtoSchema, com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder, com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder>(
-                  getWriterSchema(),
-                  getParentForChildren(),
-                  isClean());
+          writerSchemaBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.bigquery.storage.v1.ProtoSchema,
+                  com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder,
+                  com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder>(
+                  getWriterSchema(), getParentForChildren(), isClean());
           writerSchema_ = null;
         }
         return writerSchemaBuilder_;
@@ -1059,8 +1185,13 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder getWriterSchema
 
       private com.google.cloud.bigquery.storage.v1.ProtoRows rows_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.bigquery.storage.v1.ProtoRows, com.google.cloud.bigquery.storage.v1.ProtoRows.Builder, com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder> rowsBuilder_;
+              com.google.cloud.bigquery.storage.v1.ProtoRows,
+              com.google.cloud.bigquery.storage.v1.ProtoRows.Builder,
+              com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder>
+          rowsBuilder_;
       /**
+       *
+       *
        * 
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1069,12 +1200,15 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder getWriterSchema
        * 
* * .google.cloud.bigquery.storage.v1.ProtoRows rows = 2; + * * @return Whether the rows field is set. */ public boolean hasRows() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1083,16 +1217,21 @@ public boolean hasRows() {
        * 
* * .google.cloud.bigquery.storage.v1.ProtoRows rows = 2; + * * @return The rows. */ public com.google.cloud.bigquery.storage.v1.ProtoRows getRows() { if (rowsBuilder_ == null) { - return rows_ == null ? com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance() : rows_; + return rows_ == null + ? com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance() + : rows_; } else { return rowsBuilder_.getMessage(); } } /** + * + * *
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1116,6 +1255,8 @@ public Builder setRows(com.google.cloud.bigquery.storage.v1.ProtoRows value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1137,6 +1278,8 @@ public Builder setRows(
         return this;
       }
       /**
+       *
+       *
        * 
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1148,9 +1291,9 @@ public Builder setRows(
        */
       public Builder mergeRows(com.google.cloud.bigquery.storage.v1.ProtoRows value) {
         if (rowsBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0) &&
-            rows_ != null &&
-            rows_ != com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0)
+              && rows_ != null
+              && rows_ != com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance()) {
             getRowsBuilder().mergeFrom(value);
           } else {
             rows_ = value;
@@ -1163,6 +1306,8 @@ public Builder mergeRows(com.google.cloud.bigquery.storage.v1.ProtoRows value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1183,6 +1328,8 @@ public Builder clearRows() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1198,6 +1345,8 @@ public com.google.cloud.bigquery.storage.v1.ProtoRows.Builder getRowsBuilder() {
         return getRowsFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1211,11 +1360,14 @@ public com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder getRowsOrBuilder(
         if (rowsBuilder_ != null) {
           return rowsBuilder_.getMessageOrBuilder();
         } else {
-          return rows_ == null ?
-              com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance() : rows_;
+          return rows_ == null
+              ? com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance()
+              : rows_;
         }
       }
       /**
+       *
+       *
        * 
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1226,18 +1378,22 @@ public com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder getRowsOrBuilder(
        * .google.cloud.bigquery.storage.v1.ProtoRows rows = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.bigquery.storage.v1.ProtoRows, com.google.cloud.bigquery.storage.v1.ProtoRows.Builder, com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder> 
+              com.google.cloud.bigquery.storage.v1.ProtoRows,
+              com.google.cloud.bigquery.storage.v1.ProtoRows.Builder,
+              com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder>
           getRowsFieldBuilder() {
         if (rowsBuilder_ == null) {
-          rowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.bigquery.storage.v1.ProtoRows, com.google.cloud.bigquery.storage.v1.ProtoRows.Builder, com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder>(
-                  getRows(),
-                  getParentForChildren(),
-                  isClean());
+          rowsBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.bigquery.storage.v1.ProtoRows,
+                  com.google.cloud.bigquery.storage.v1.ProtoRows.Builder,
+                  com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder>(
+                  getRows(), getParentForChildren(), isClean());
           rows_ = null;
         }
         return rowsBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1250,41 +1406,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData)
-    private static final com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData DEFAULT_INSTANCE;
+    private static final com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData();
     }
 
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData getDefaultInstance() {
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public ProtoData parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public ProtoData parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1296,21 +1455,25 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int rowsCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object rows_;
+
   public enum RowsCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     PROTO_ROWS(4),
     ROWS_NOT_SET(0);
     private final int value;
+
     private RowsCase(int value) {
       this.value = value;
     }
@@ -1326,26 +1489,31 @@ public static RowsCase valueOf(int value) {
 
     public static RowsCase forNumber(int value) {
       switch (value) {
-        case 4: return PROTO_ROWS;
-        case 0: return ROWS_NOT_SET;
-        default: return null;
+        case 4:
+          return PROTO_ROWS;
+        case 0:
+          return ROWS_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public RowsCase
-  getRowsCase() {
-    return RowsCase.forNumber(
-        rowsCase_);
+  public RowsCase getRowsCase() {
+    return RowsCase.forNumber(rowsCase_);
   }
 
   public static final int WRITE_STREAM_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object writeStream_ = "";
   /**
+   *
+   *
    * 
    * Required. The write_stream identifies the append operation. It must be
    * provided in the following scenarios:
@@ -1381,7 +1549,10 @@ public int getNumber() {
    * populated in all subsequent requests in this stream.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The writeStream. */ @java.lang.Override @@ -1390,14 +1561,15 @@ public java.lang.String getWriteStream() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; } } /** + * + * *
    * Required. The write_stream identifies the append operation. It must be
    * provided in the following scenarios:
@@ -1433,17 +1605,18 @@ public java.lang.String getWriteStream() {
    * populated in all subsequent requests in this stream.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for writeStream. */ @java.lang.Override - public com.google.protobuf.ByteString - getWriteStreamBytes() { + public com.google.protobuf.ByteString getWriteStreamBytes() { java.lang.Object ref = writeStream_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); writeStream_ = b; return b; } else { @@ -1454,6 +1627,8 @@ public java.lang.String getWriteStream() { public static final int OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Int64Value offset_; /** + * + * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -1462,6 +1637,7 @@ public java.lang.String getWriteStream() {
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return Whether the offset field is set. */ @java.lang.Override @@ -1469,6 +1645,8 @@ public boolean hasOffset() { return offset_ != null; } /** + * + * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -1477,6 +1655,7 @@ public boolean hasOffset() {
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return The offset. */ @java.lang.Override @@ -1484,6 +1663,8 @@ public com.google.protobuf.Int64Value getOffset() { return offset_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : offset_; } /** + * + * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -1500,11 +1681,14 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
 
   public static final int PROTO_ROWS_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Rows in proto format.
    * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; + * * @return Whether the protoRows field is set. */ @java.lang.Override @@ -1512,21 +1696,26 @@ public boolean hasProtoRows() { return rowsCase_ == 4; } /** + * + * *
    * Rows in proto format.
    * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; + * * @return The protoRows. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData getProtoRows() { if (rowsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_; + return (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_; } return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance(); } /** + * + * *
    * Rows in proto format.
    * 
@@ -1534,23 +1723,28 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData getProto * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder() { + public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder + getProtoRowsOrBuilder() { if (rowsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_; + return (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_; } return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance(); } public static final int TRACE_ID_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object traceId_ = ""; /** + * + * *
    * Id set by client to annotate its identity. Only initial request setting is
    * respected.
    * 
* * string trace_id = 6; + * * @return The traceId. */ @java.lang.Override @@ -1559,30 +1753,30 @@ public java.lang.String getTraceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); traceId_ = s; return s; } } /** + * + * *
    * Id set by client to annotate its identity. Only initial request setting is
    * respected.
    * 
* * string trace_id = 6; + * * @return The bytes for traceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTraceIdBytes() { + public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); traceId_ = b; return b; } else { @@ -1591,45 +1785,60 @@ public java.lang.String getTraceId() { } public static final int MISSING_VALUE_INTERPRETATIONS_FIELD_NUMBER = 7; + private static final class MissingValueInterpretationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Integer> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.ENUM, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation.MISSING_VALUE_INTERPRETATION_UNSPECIFIED.getNumber()); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.ENUM, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation + .MISSING_VALUE_INTERPRETATION_UNSPECIFIED + .getNumber()); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> missingValueInterpretations_; private com.google.protobuf.MapField - internalGetMissingValueInterpretations() { + missingValueInterpretations_; + + private com.google.protobuf.MapField + internalGetMissingValueInterpretations() { if (missingValueInterpretations_ == null) { return com.google.protobuf.MapField.emptyMapField( MissingValueInterpretationsDefaultEntryHolder.defaultEntry); } return missingValueInterpretations_; } - private static final - com.google.protobuf.Internal.MapAdapter.Converter< - java.lang.Integer, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missingValueInterpretationsValueConverter = + + private static final com.google.protobuf.Internal.MapAdapter.Converter< + java.lang.Integer, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> + missingValueInterpretationsValueConverter = com.google.protobuf.Internal.MapAdapter.newEnumConverter( - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation.internalGetValueMap(), - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation.UNRECOGNIZED); - private static final java.util.Map - internalGetAdaptedMissingValueInterpretationsMap( - java.util.Map map) { + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation + .internalGetValueMap(), + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation + .UNRECOGNIZED); + + private static final java.util.Map< + java.lang.String, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> + internalGetAdaptedMissingValueInterpretationsMap( + java.util.Map map) { return new com.google.protobuf.Internal.MapAdapter< - java.lang.String, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation, java.lang.Integer>( - map, missingValueInterpretationsValueConverter); + java.lang.String, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation, + java.lang.Integer>(map, missingValueInterpretationsValueConverter); } + public int getMissingValueInterpretationsCount() { return internalGetMissingValueInterpretations().getMap().size(); } /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -1651,24 +1860,29 @@ public int getMissingValueInterpretationsCount() {
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ @java.lang.Override - public boolean containsMissingValueInterpretations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMissingValueInterpretations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMissingValueInterpretations().getMap().containsKey(key); } - /** - * Use {@link #getMissingValueInterpretationsMap()} instead. - */ + /** Use {@link #getMissingValueInterpretationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getMissingValueInterpretations() { + public java.util.Map< + java.lang.String, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> + getMissingValueInterpretations() { return getMissingValueInterpretationsMap(); } /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -1690,14 +1904,21 @@ public boolean containsMissingValueInterpretations(
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ @java.lang.Override - public java.util.Map - getMissingValueInterpretationsMap() { + public java.util.Map< + java.lang.String, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> + getMissingValueInterpretationsMap() { return internalGetAdaptedMissingValueInterpretationsMap( - internalGetMissingValueInterpretations().getMap());} + internalGetMissingValueInterpretations().getMap()); + } /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -1719,22 +1940,30 @@ public boolean containsMissingValueInterpretations(
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getMissingValueInterpretationsOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public /* nullable */ com.google.cloud.bigquery.storage.v1.AppendRowsRequest + .MissingValueInterpretation + getMissingValueInterpretationsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation + defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMissingValueInterpretations().getMap(); return map.containsKey(key) - ? missingValueInterpretationsValueConverter.doForward(map.get(key)) - : defaultValue; + ? missingValueInterpretationsValueConverter.doForward(map.get(key)) + : defaultValue; } /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -1756,12 +1985,16 @@ com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretatio
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getMissingValueInterpretationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation + getMissingValueInterpretationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMissingValueInterpretations().getMap(); if (!map.containsKey(key)) { @@ -1769,16 +2002,15 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterp } return missingValueInterpretationsValueConverter.doForward(map.get(key)); } - /** - * Use {@link #getMissingValueInterpretationsValueMap()} instead. - */ + /** Use {@link #getMissingValueInterpretationsValueMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getMissingValueInterpretationsValue() { + public java.util.Map getMissingValueInterpretationsValue() { return getMissingValueInterpretationsValueMap(); } /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -1800,14 +2032,18 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterp
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ @java.lang.Override public java.util.Map - getMissingValueInterpretationsValueMap() { + getMissingValueInterpretationsValueMap() { return internalGetMissingValueInterpretations().getMap(); } /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -1829,18 +2065,22 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterp
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ @java.lang.Override - public int getMissingValueInterpretationsValueOrDefault( - java.lang.String key, - int defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public int getMissingValueInterpretationsValueOrDefault(java.lang.String key, int defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMissingValueInterpretations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -1862,12 +2102,15 @@ public int getMissingValueInterpretationsValueOrDefault(
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ @java.lang.Override - public int getMissingValueInterpretationsValueOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public int getMissingValueInterpretationsValueOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMissingValueInterpretations().getMap(); if (!map.containsKey(key)) { @@ -1877,6 +2120,7 @@ public int getMissingValueInterpretationsValueOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1894,8 +2138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writeStream_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, writeStream_); } @@ -1903,13 +2146,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, getOffset()); } if (rowsCase_ == 4) { - output.writeMessage(4, (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_); + output.writeMessage( + 4, (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, traceId_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetMissingValueInterpretations(), MissingValueInterpretationsDefaultEntryHolder.defaultEntry, @@ -1927,25 +2170,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, writeStream_); } if (offset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOffset()); } if (rowsCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, traceId_); } - for (java.util.Map.Entry entry - : internalGetMissingValueInterpretations().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetMissingValueInterpretations().getMap().entrySet()) { com.google.protobuf.MapEntry - missingValueInterpretations__ = MissingValueInterpretationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, missingValueInterpretations__); + missingValueInterpretations__ = + MissingValueInterpretationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, missingValueInterpretations__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1955,29 +2201,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.AppendRowsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.AppendRowsRequest other = (com.google.cloud.bigquery.storage.v1.AppendRowsRequest) obj; + com.google.cloud.bigquery.storage.v1.AppendRowsRequest other = + (com.google.cloud.bigquery.storage.v1.AppendRowsRequest) obj; - if (!getWriteStream() - .equals(other.getWriteStream())) return false; + if (!getWriteStream().equals(other.getWriteStream())) return false; if (hasOffset() != other.hasOffset()) return false; if (hasOffset()) { - if (!getOffset() - .equals(other.getOffset())) return false; + if (!getOffset().equals(other.getOffset())) return false; } - if (!getTraceId() - .equals(other.getTraceId())) return false; - if (!internalGetMissingValueInterpretations().equals( - other.internalGetMissingValueInterpretations())) return false; + if (!getTraceId().equals(other.getTraceId())) return false; + if (!internalGetMissingValueInterpretations() + .equals(other.internalGetMissingValueInterpretations())) return false; if (!getRowsCase().equals(other.getRowsCase())) return false; switch (rowsCase_) { case 4: - if (!getProtoRows() - .equals(other.getProtoRows())) return false; + if (!getProtoRows().equals(other.getProtoRows())) return false; break; case 0: default: @@ -2019,98 +2262,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.AppendRowsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.AppendRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AppendRows`.
    *
@@ -2125,55 +2374,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.AppendRowsRequest)
       com.google.cloud.bigquery.storage.v1.AppendRowsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 7:
           return internalGetMissingValueInterpretations();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 7:
           return internalGetMutableMissingValueInterpretations();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1.AppendRowsRequest.class, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.Builder.class);
+              com.google.cloud.bigquery.storage.v1.AppendRowsRequest.class,
+              com.google.cloud.bigquery.storage.v1.AppendRowsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.storage.v1.AppendRowsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2195,9 +2441,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.storage.v1.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -2216,8 +2462,11 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1.AppendRowsRequest buildPartial() {
-      com.google.cloud.bigquery.storage.v1.AppendRowsRequest result = new com.google.cloud.bigquery.storage.v1.AppendRowsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.storage.v1.AppendRowsRequest result =
+          new com.google.cloud.bigquery.storage.v1.AppendRowsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2229,9 +2478,7 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.AppendRowsReques
         result.writeStream_ = writeStream_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.offset_ = offsetBuilder_ == null
-            ? offset_
-            : offsetBuilder_.build();
+        result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.traceId_ = traceId_;
@@ -2245,8 +2492,7 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.AppendRowsReques
     private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.AppendRowsRequest result) {
       result.rowsCase_ = rowsCase_;
       result.rows_ = this.rows_;
-      if (rowsCase_ == 4 &&
-          protoRowsBuilder_ != null) {
+      if (rowsCase_ == 4 && protoRowsBuilder_ != null) {
         result.rows_ = protoRowsBuilder_.build();
       }
     }
@@ -2255,38 +2501,39 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.AppendRowsR
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1.AppendRowsRequest) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1.AppendRowsRequest)other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1.AppendRowsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2294,7 +2541,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AppendRowsRequest other) {
-      if (other == com.google.cloud.bigquery.storage.v1.AppendRowsRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.storage.v1.AppendRowsRequest.getDefaultInstance())
+        return this;
       if (!other.getWriteStream().isEmpty()) {
         writeStream_ = other.writeStream_;
         bitField0_ |= 0x00000001;
@@ -2308,17 +2556,19 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AppendRowsRequest
         bitField0_ |= 0x00000008;
         onChanged();
       }
-      internalGetMutableMissingValueInterpretations().mergeFrom(
-          other.internalGetMissingValueInterpretations());
+      internalGetMutableMissingValueInterpretations()
+          .mergeFrom(other.internalGetMissingValueInterpretations());
       bitField0_ |= 0x00000010;
       switch (other.getRowsCase()) {
-        case PROTO_ROWS: {
-          mergeProtoRows(other.getProtoRows());
-          break;
-        }
-        case ROWS_NOT_SET: {
-          break;
-        }
+        case PROTO_ROWS:
+          {
+            mergeProtoRows(other.getProtoRows());
+            break;
+          }
+        case ROWS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2351,45 +2601,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              writeStream_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getOffsetFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 34: {
-              input.readMessage(
-                  getProtoRowsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              rowsCase_ = 4;
-              break;
-            } // case 34
-            case 50: {
-              traceId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 50
-            case 58: {
-              com.google.protobuf.MapEntry
-              missingValueInterpretations__ = input.readMessage(
-                  MissingValueInterpretationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableMissingValueInterpretations().getMutableMap().put(
-                  missingValueInterpretations__.getKey(), missingValueInterpretations__.getValue());
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                writeStream_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getOffsetFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 34:
+              {
+                input.readMessage(getProtoRowsFieldBuilder().getBuilder(), extensionRegistry);
+                rowsCase_ = 4;
+                break;
+              } // case 34
+            case 50:
+              {
+                traceId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.protobuf.MapEntry
+                    missingValueInterpretations__ =
+                        input.readMessage(
+                            MissingValueInterpretationsDefaultEntryHolder.defaultEntry
+                                .getParserForType(),
+                            extensionRegistry);
+                internalGetMutableMissingValueInterpretations()
+                    .getMutableMap()
+                    .put(
+                        missingValueInterpretations__.getKey(),
+                        missingValueInterpretations__.getValue());
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2399,12 +2657,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int rowsCase_ = 0;
     private java.lang.Object rows_;
-    public RowsCase
-        getRowsCase() {
-      return RowsCase.forNumber(
-          rowsCase_);
+
+    public RowsCase getRowsCase() {
+      return RowsCase.forNumber(rowsCase_);
     }
 
     public Builder clearRows() {
@@ -2418,6 +2676,8 @@ public Builder clearRows() {
 
     private java.lang.Object writeStream_ = "";
     /**
+     *
+     *
      * 
      * Required. The write_stream identifies the append operation. It must be
      * provided in the following scenarios:
@@ -2453,14 +2713,16 @@ public Builder clearRows() {
      * populated in all subsequent requests in this stream.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The writeStream. */ public java.lang.String getWriteStream() { java.lang.Object ref = writeStream_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; @@ -2469,6 +2731,8 @@ public java.lang.String getWriteStream() { } } /** + * + * *
      * Required. The write_stream identifies the append operation. It must be
      * provided in the following scenarios:
@@ -2504,16 +2768,17 @@ public java.lang.String getWriteStream() {
      * populated in all subsequent requests in this stream.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for writeStream. */ - public com.google.protobuf.ByteString - getWriteStreamBytes() { + public com.google.protobuf.ByteString getWriteStreamBytes() { java.lang.Object ref = writeStream_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); writeStream_ = b; return b; } else { @@ -2521,6 +2786,8 @@ public java.lang.String getWriteStream() { } } /** + * + * *
      * Required. The write_stream identifies the append operation. It must be
      * provided in the following scenarios:
@@ -2556,19 +2823,25 @@ public java.lang.String getWriteStream() {
      * populated in all subsequent requests in this stream.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStream( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteStream(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } writeStream_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The write_stream identifies the append operation. It must be
      * provided in the following scenarios:
@@ -2604,7 +2877,10 @@ public Builder setWriteStream(
      * populated in all subsequent requests in this stream.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWriteStream() { @@ -2614,6 +2890,8 @@ public Builder clearWriteStream() { return this; } /** + * + * *
      * Required. The write_stream identifies the append operation. It must be
      * provided in the following scenarios:
@@ -2649,13 +2927,17 @@ public Builder clearWriteStream() {
      * populated in all subsequent requests in this stream.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStreamBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); writeStream_ = value; bitField0_ |= 0x00000001; @@ -2665,8 +2947,13 @@ public Builder setWriteStreamBytes( private com.google.protobuf.Int64Value offset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> offsetBuilder_; + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> + offsetBuilder_; /** + * + * *
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -2675,12 +2962,15 @@ public Builder setWriteStreamBytes(
      * 
* * .google.protobuf.Int64Value offset = 2; + * * @return Whether the offset field is set. */ public boolean hasOffset() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -2689,6 +2979,7 @@ public boolean hasOffset() {
      * 
* * .google.protobuf.Int64Value offset = 2; + * * @return The offset. */ public com.google.protobuf.Int64Value getOffset() { @@ -2699,6 +2990,8 @@ public com.google.protobuf.Int64Value getOffset() { } } /** + * + * *
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -2722,6 +3015,8 @@ public Builder setOffset(com.google.protobuf.Int64Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -2731,8 +3026,7 @@ public Builder setOffset(com.google.protobuf.Int64Value value) {
      *
      * .google.protobuf.Int64Value offset = 2;
      */
-    public Builder setOffset(
-        com.google.protobuf.Int64Value.Builder builderForValue) {
+    public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue) {
       if (offsetBuilder_ == null) {
         offset_ = builderForValue.build();
       } else {
@@ -2743,6 +3037,8 @@ public Builder setOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -2754,9 +3050,9 @@ public Builder setOffset(
      */
     public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       if (offsetBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          offset_ != null &&
-          offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && offset_ != null
+            && offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
           getOffsetBuilder().mergeFrom(value);
         } else {
           offset_ = value;
@@ -2769,6 +3065,8 @@ public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -2789,6 +3087,8 @@ public Builder clearOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -2804,6 +3104,8 @@ public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
       return getOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -2817,11 +3119,12 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
       if (offsetBuilder_ != null) {
         return offsetBuilder_.getMessageOrBuilder();
       } else {
-        return offset_ == null ?
-            com.google.protobuf.Int64Value.getDefaultInstance() : offset_;
+        return offset_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : offset_;
       }
     }
     /**
+     *
+     *
      * 
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -2832,27 +3135,36 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
      * .google.protobuf.Int64Value offset = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> 
+            com.google.protobuf.Int64Value,
+            com.google.protobuf.Int64Value.Builder,
+            com.google.protobuf.Int64ValueOrBuilder>
         getOffsetFieldBuilder() {
       if (offsetBuilder_ == null) {
-        offsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
-                getOffset(),
-                getParentForChildren(),
-                isClean());
+        offsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Int64Value,
+                com.google.protobuf.Int64Value.Builder,
+                com.google.protobuf.Int64ValueOrBuilder>(
+                getOffset(), getParentForChildren(), isClean());
         offset_ = null;
       }
       return offsetBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder> protoRowsBuilder_;
+            com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData,
+            com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder,
+            com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder>
+        protoRowsBuilder_;
     /**
+     *
+     *
      * 
      * Rows in proto format.
      * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; + * * @return Whether the protoRows field is set. */ @java.lang.Override @@ -2860,11 +3172,14 @@ public boolean hasProtoRows() { return rowsCase_ == 4; } /** + * + * *
      * Rows in proto format.
      * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; + * * @return The protoRows. */ @java.lang.Override @@ -2873,22 +3188,27 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData getProto if (rowsCase_ == 4) { return (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_; } - return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData + .getDefaultInstance(); } else { if (rowsCase_ == 4) { return protoRowsBuilder_.getMessage(); } - return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData + .getDefaultInstance(); } } /** + * + * *
      * Rows in proto format.
      * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; */ - public Builder setProtoRows(com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData value) { + public Builder setProtoRows( + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData value) { if (protoRowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2902,6 +3222,8 @@ public Builder setProtoRows(com.google.cloud.bigquery.storage.v1.AppendRowsReque return this; } /** + * + * *
      * Rows in proto format.
      * 
@@ -2920,18 +3242,26 @@ public Builder setProtoRows( return this; } /** + * + * *
      * Rows in proto format.
      * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; */ - public Builder mergeProtoRows(com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData value) { + public Builder mergeProtoRows( + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData value) { if (protoRowsBuilder_ == null) { - if (rowsCase_ == 4 && - rows_ != com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance()) { - rows_ = com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.newBuilder((com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_) - .mergeFrom(value).buildPartial(); + if (rowsCase_ == 4 + && rows_ + != com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData + .getDefaultInstance()) { + rows_ = + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.newBuilder( + (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_) + .mergeFrom(value) + .buildPartial(); } else { rows_ = value; } @@ -2947,6 +3277,8 @@ public Builder mergeProtoRows(com.google.cloud.bigquery.storage.v1.AppendRowsReq return this; } /** + * + * *
      * Rows in proto format.
      * 
@@ -2970,16 +3302,21 @@ public Builder clearProtoRows() { return this; } /** + * + * *
      * Rows in proto format.
      * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; */ - public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder getProtoRowsBuilder() { + public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder + getProtoRowsBuilder() { return getProtoRowsFieldBuilder().getBuilder(); } /** + * + * *
      * Rows in proto format.
      * 
@@ -2987,17 +3324,21 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder() { + public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder + getProtoRowsOrBuilder() { if ((rowsCase_ == 4) && (protoRowsBuilder_ != null)) { return protoRowsBuilder_.getMessageOrBuilder(); } else { if (rowsCase_ == 4) { return (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_; } - return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData + .getDefaultInstance(); } } /** + * + * *
      * Rows in proto format.
      * 
@@ -3005,14 +3346,20 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder> + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder> getProtoRowsFieldBuilder() { if (protoRowsBuilder_ == null) { if (!(rowsCase_ == 4)) { - rows_ = com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance(); + rows_ = + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance(); } - protoRowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder>( + protoRowsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder>( (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_, getParentForChildren(), isClean()); @@ -3025,19 +3372,21 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder private java.lang.Object traceId_ = ""; /** + * + * *
      * Id set by client to annotate its identity. Only initial request setting is
      * respected.
      * 
* * string trace_id = 6; + * * @return The traceId. */ public java.lang.String getTraceId() { java.lang.Object ref = traceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); traceId_ = s; return s; @@ -3046,21 +3395,22 @@ public java.lang.String getTraceId() { } } /** + * + * *
      * Id set by client to annotate its identity. Only initial request setting is
      * respected.
      * 
* * string trace_id = 6; + * * @return The bytes for traceId. */ - public com.google.protobuf.ByteString - getTraceIdBytes() { + public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); traceId_ = b; return b; } else { @@ -3068,30 +3418,37 @@ public java.lang.String getTraceId() { } } /** + * + * *
      * Id set by client to annotate its identity. Only initial request setting is
      * respected.
      * 
* * string trace_id = 6; + * * @param value The traceId to set. * @return This builder for chaining. */ - public Builder setTraceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTraceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } traceId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Id set by client to annotate its identity. Only initial request setting is
      * respected.
      * 
* * string trace_id = 6; + * * @return This builder for chaining. */ public Builder clearTraceId() { @@ -3101,18 +3458,22 @@ public Builder clearTraceId() { return this; } /** + * + * *
      * Id set by client to annotate its identity. Only initial request setting is
      * respected.
      * 
* * string trace_id = 6; + * * @param value The bytes for traceId to set. * @return This builder for chaining. */ - public Builder setTraceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTraceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); traceId_ = value; bitField0_ |= 0x00000008; @@ -3120,8 +3481,9 @@ public Builder setTraceIdBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Integer> missingValueInterpretations_; + private com.google.protobuf.MapField + missingValueInterpretations_; + private com.google.protobuf.MapField internalGetMissingValueInterpretations() { if (missingValueInterpretations_ == null) { @@ -3130,11 +3492,13 @@ public Builder setTraceIdBytes( } return missingValueInterpretations_; } + private com.google.protobuf.MapField internalGetMutableMissingValueInterpretations() { if (missingValueInterpretations_ == null) { - missingValueInterpretations_ = com.google.protobuf.MapField.newMapField( - MissingValueInterpretationsDefaultEntryHolder.defaultEntry); + missingValueInterpretations_ = + com.google.protobuf.MapField.newMapField( + MissingValueInterpretationsDefaultEntryHolder.defaultEntry); } if (!missingValueInterpretations_.isMutable()) { missingValueInterpretations_ = missingValueInterpretations_.copy(); @@ -3143,10 +3507,13 @@ public Builder setTraceIdBytes( onChanged(); return missingValueInterpretations_; } + public int getMissingValueInterpretationsCount() { return internalGetMissingValueInterpretations().getMap().size(); } /** + * + * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3168,24 +3535,29 @@ public int getMissingValueInterpretationsCount() {
      * field path like 'foo.bar'.
      * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ @java.lang.Override - public boolean containsMissingValueInterpretations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMissingValueInterpretations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMissingValueInterpretations().getMap().containsKey(key); } - /** - * Use {@link #getMissingValueInterpretationsMap()} instead. - */ + /** Use {@link #getMissingValueInterpretationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getMissingValueInterpretations() { + public java.util.Map< + java.lang.String, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> + getMissingValueInterpretations() { return getMissingValueInterpretationsMap(); } /** + * + * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3207,14 +3579,21 @@ public boolean containsMissingValueInterpretations(
      * field path like 'foo.bar'.
      * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ @java.lang.Override - public java.util.Map - getMissingValueInterpretationsMap() { + public java.util.Map< + java.lang.String, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> + getMissingValueInterpretationsMap() { return internalGetAdaptedMissingValueInterpretationsMap( - internalGetMissingValueInterpretations().getMap());} + internalGetMissingValueInterpretations().getMap()); + } /** + * + * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3236,22 +3615,30 @@ public boolean containsMissingValueInterpretations(
      * field path like 'foo.bar'.
      * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getMissingValueInterpretationsOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + public /* nullable */ com.google.cloud.bigquery.storage.v1.AppendRowsRequest + .MissingValueInterpretation + getMissingValueInterpretationsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation + defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMissingValueInterpretations().getMap(); return map.containsKey(key) - ? missingValueInterpretationsValueConverter.doForward(map.get(key)) - : defaultValue; + ? missingValueInterpretationsValueConverter.doForward(map.get(key)) + : defaultValue; } /** + * + * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3273,12 +3660,16 @@ com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretatio
      * field path like 'foo.bar'.
      * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getMissingValueInterpretationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation + getMissingValueInterpretationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMissingValueInterpretations().getMap(); if (!map.containsKey(key)) { @@ -3286,16 +3677,16 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterp } return missingValueInterpretationsValueConverter.doForward(map.get(key)); } - /** - * Use {@link #getMissingValueInterpretationsValueMap()} instead. - */ + /** Use {@link #getMissingValueInterpretationsValueMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map - getMissingValueInterpretationsValue() { + getMissingValueInterpretationsValue() { return getMissingValueInterpretationsValueMap(); } /** + * + * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3317,14 +3708,18 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterp
      * field path like 'foo.bar'.
      * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ @java.lang.Override public java.util.Map - getMissingValueInterpretationsValueMap() { + getMissingValueInterpretationsValueMap() { return internalGetMissingValueInterpretations().getMap(); } /** + * + * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3346,18 +3741,23 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterp
      * field path like 'foo.bar'.
      * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ @java.lang.Override public int getMissingValueInterpretationsValueOrDefault( - java.lang.String key, - int defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, int defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMissingValueInterpretations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3379,12 +3779,15 @@ public int getMissingValueInterpretationsValueOrDefault(
      * field path like 'foo.bar'.
      * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ @java.lang.Override - public int getMissingValueInterpretationsValueOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public int getMissingValueInterpretationsValueOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMissingValueInterpretations().getMap(); if (!map.containsKey(key)) { @@ -3392,13 +3795,15 @@ public int getMissingValueInterpretationsValueOrThrow( } return map.get(key); } + public Builder clearMissingValueInterpretations() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableMissingValueInterpretations().getMutableMap() - .clear(); + internalGetMutableMissingValueInterpretations().getMutableMap().clear(); return this; } /** + * + * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3420,26 +3825,30 @@ public Builder clearMissingValueInterpretations() {
      * field path like 'foo.bar'.
      * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ - public Builder removeMissingValueInterpretations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableMissingValueInterpretations().getMutableMap() - .remove(key); + public Builder removeMissingValueInterpretations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableMissingValueInterpretations().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> getMutableMissingValueInterpretations() { bitField0_ |= 0x00000010; return internalGetAdaptedMissingValueInterpretationsMap( - internalGetMutableMissingValueInterpretations().getMutableMap()); + internalGetMutableMissingValueInterpretations().getMutableMap()); } /** + * + * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3461,19 +3870,26 @@ public Builder removeMissingValueInterpretations(
      * field path like 'foo.bar'.
      * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ public Builder putMissingValueInterpretations( java.lang.String key, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation value) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } - internalGetMutableMissingValueInterpretations().getMutableMap() + internalGetMutableMissingValueInterpretations() + .getMutableMap() .put(key, missingValueInterpretationsValueConverter.doBackward(value)); bitField0_ |= 0x00000010; return this; } /** + * + * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3495,26 +3911,31 @@ public Builder putMissingValueInterpretations(
      * field path like 'foo.bar'.
      * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ public Builder putAllMissingValueInterpretations( - java.util.Map values) { + java.util.Map< + java.lang.String, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> + values) { internalGetAdaptedMissingValueInterpretationsMap( - internalGetMutableMissingValueInterpretations().getMutableMap()) - .putAll(values); + internalGetMutableMissingValueInterpretations().getMutableMap()) + .putAll(values); bitField0_ |= 0x00000010; return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map - getMutableMissingValueInterpretationsValue() { + getMutableMissingValueInterpretationsValue() { bitField0_ |= 0x00000010; return internalGetMutableMissingValueInterpretations().getMutableMap(); } /** + * + * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3536,19 +3957,22 @@ public Builder putAllMissingValueInterpretations(
      * field path like 'foo.bar'.
      * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ - public Builder putMissingValueInterpretationsValue( - java.lang.String key, - int value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putMissingValueInterpretationsValue(java.lang.String key, int value) { + if (key == null) { + throw new NullPointerException("map key"); + } - internalGetMutableMissingValueInterpretations().getMutableMap() - .put(key, value); + internalGetMutableMissingValueInterpretations().getMutableMap().put(key, value); bitField0_ |= 0x00000010; return this; } /** + * + * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3570,18 +3994,19 @@ public Builder putMissingValueInterpretationsValue(
      * field path like 'foo.bar'.
      * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ public Builder putAllMissingValueInterpretationsValue( java.util.Map values) { - internalGetMutableMissingValueInterpretations().getMutableMap() - .putAll(values); + internalGetMutableMissingValueInterpretations().getMutableMap().putAll(values); bitField0_ |= 0x00000010; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3591,12 +4016,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.AppendRowsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.AppendRowsRequest) private static final com.google.cloud.bigquery.storage.v1.AppendRowsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.AppendRowsRequest(); } @@ -3605,27 +4030,27 @@ public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppendRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppendRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3640,6 +4065,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.AppendRowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequestOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequestOrBuilder.java index 2aae8385da..1f40b2ec71 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequestOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; -public interface AppendRowsRequestOrBuilder extends +public interface AppendRowsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.AppendRowsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The write_stream identifies the append operation. It must be
    * provided in the following scenarios:
@@ -43,11 +61,16 @@ public interface AppendRowsRequestOrBuilder extends
    * populated in all subsequent requests in this stream.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The writeStream. */ java.lang.String getWriteStream(); /** + * + * *
    * Required. The write_stream identifies the append operation. It must be
    * provided in the following scenarios:
@@ -83,13 +106,17 @@ public interface AppendRowsRequestOrBuilder extends
    * populated in all subsequent requests in this stream.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for writeStream. */ - com.google.protobuf.ByteString - getWriteStreamBytes(); + com.google.protobuf.ByteString getWriteStreamBytes(); /** + * + * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -98,10 +125,13 @@ public interface AppendRowsRequestOrBuilder extends
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return Whether the offset field is set. */ boolean hasOffset(); /** + * + * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -110,10 +140,13 @@ public interface AppendRowsRequestOrBuilder extends
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return The offset. */ com.google.protobuf.Int64Value getOffset(); /** + * + * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -126,24 +159,32 @@ public interface AppendRowsRequestOrBuilder extends
   com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Rows in proto format.
    * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; + * * @return Whether the protoRows field is set. */ boolean hasProtoRows(); /** + * + * *
    * Rows in proto format.
    * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; + * * @return The protoRows. */ com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData getProtoRows(); /** + * + * *
    * Rows in proto format.
    * 
@@ -153,28 +194,35 @@ public interface AppendRowsRequestOrBuilder extends com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder(); /** + * + * *
    * Id set by client to annotate its identity. Only initial request setting is
    * respected.
    * 
* * string trace_id = 6; + * * @return The traceId. */ java.lang.String getTraceId(); /** + * + * *
    * Id set by client to annotate its identity. Only initial request setting is
    * respected.
    * 
* * string trace_id = 6; + * * @return The bytes for traceId. */ - com.google.protobuf.ByteString - getTraceIdBytes(); + com.google.protobuf.ByteString getTraceIdBytes(); /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -196,10 +244,14 @@ public interface AppendRowsRequestOrBuilder extends
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ int getMissingValueInterpretationsCount(); /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -221,17 +273,20 @@ public interface AppendRowsRequestOrBuilder extends
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - */ - boolean containsMissingValueInterpretations( - java.lang.String key); - /** - * Use {@link #getMissingValueInterpretationsMap()} instead. + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ + boolean containsMissingValueInterpretations(java.lang.String key); + /** Use {@link #getMissingValueInterpretationsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getMissingValueInterpretations(); + java.util.Map< + java.lang.String, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> + getMissingValueInterpretations(); /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -253,11 +308,17 @@ boolean containsMissingValueInterpretations(
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ - java.util.Map - getMissingValueInterpretationsMap(); + java.util.Map< + java.lang.String, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> + getMissingValueInterpretationsMap(); /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -279,14 +340,20 @@ boolean containsMissingValueInterpretations(
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ /* nullable */ -com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getMissingValueInterpretationsOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation defaultValue); + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation + getMissingValueInterpretationsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation + defaultValue); /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -308,17 +375,18 @@ com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretatio
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - */ - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getMissingValueInterpretationsOrThrow( - java.lang.String key); - /** - * Use {@link #getMissingValueInterpretationsValueMap()} instead. + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation + getMissingValueInterpretationsOrThrow(java.lang.String key); + /** Use {@link #getMissingValueInterpretationsValueMap()} instead. */ @java.lang.Deprecated - java.util.Map - getMissingValueInterpretationsValue(); + java.util.Map getMissingValueInterpretationsValue(); /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -340,11 +408,14 @@ com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretatio
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ - java.util.Map - getMissingValueInterpretationsValueMap(); + java.util.Map getMissingValueInterpretationsValueMap(); /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -366,12 +437,14 @@ com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretatio
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ - int getMissingValueInterpretationsValueOrDefault( - java.lang.String key, - int defaultValue); + int getMissingValueInterpretationsValueOrDefault(java.lang.String key, int defaultValue); /** + * + * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -393,10 +466,11 @@ int getMissingValueInterpretationsValueOrDefault(
    * field path like 'foo.bar'.
    * 
* - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + * */ - int getMissingValueInterpretationsValueOrThrow( - java.lang.String key); + int getMissingValueInterpretationsValueOrThrow(java.lang.String key); com.google.cloud.bigquery.storage.v1.AppendRowsRequest.RowsCase getRowsCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponse.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponse.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponse.java index e63fd9102b..03a37ba1f0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponse.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponse.java @@ -1,24 +1,42 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Response message for `AppendRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsResponse} */ -public final class AppendRowsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AppendRowsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.AppendRowsResponse) AppendRowsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AppendRowsResponse.newBuilder() to construct. private AppendRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AppendRowsResponse() { rowErrors_ = java.util.Collections.emptyList(); writeStream_ = ""; @@ -26,49 +44,59 @@ private AppendRowsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AppendRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.class, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.class, + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.Builder.class); } - public interface AppendResultOrBuilder extends + public interface AppendResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
      * 
* * .google.protobuf.Int64Value offset = 1; + * * @return Whether the offset field is set. */ boolean hasOffset(); /** + * + * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
      * 
* * .google.protobuf.Int64Value offset = 1; + * * @return The offset. */ com.google.protobuf.Int64Value getOffset(); /** + * + * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
@@ -79,53 +107,59 @@ public interface AppendResultOrBuilder extends
     com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder();
   }
   /**
+   *
+   *
    * 
    * AppendResult is returned for successful append requests.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult} */ - public static final class AppendResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AppendResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) AppendResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AppendResult.newBuilder() to construct. private AppendResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AppendResult() { - } + + private AppendResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AppendResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.class, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder.class); + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.class, + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder.class); } public static final int OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Int64Value offset_; /** + * + * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
      * 
* * .google.protobuf.Int64Value offset = 1; + * * @return Whether the offset field is set. */ @java.lang.Override @@ -133,12 +167,15 @@ public boolean hasOffset() { return offset_ != null; } /** + * + * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
      * 
* * .google.protobuf.Int64Value offset = 1; + * * @return The offset. */ @java.lang.Override @@ -146,6 +183,8 @@ public com.google.protobuf.Int64Value getOffset() { return offset_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : offset_; } /** + * + * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
@@ -159,6 +198,7 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -170,8 +210,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (offset_ != null) {
         output.writeMessage(1, getOffset());
       }
@@ -185,8 +224,7 @@ public int getSerializedSize() {
 
       size = 0;
       if (offset_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getOffset());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOffset());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -196,17 +234,17 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult)) {
         return super.equals(obj);
       }
-      com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult other = (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) obj;
+      com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult other =
+          (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) obj;
 
       if (hasOffset() != other.hasOffset()) return false;
       if (hasOffset()) {
-        if (!getOffset()
-            .equals(other.getOffset())) return false;
+        if (!getOffset().equals(other.getOffset())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -229,89 +267,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -321,39 +365,42 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * AppendResult is returned for successful append requests.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.class, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder.class); + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.class, + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -367,19 +414,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult build() { - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult result = buildPartial(); + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -388,18 +438,20 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult buil @java.lang.Override public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult buildPartial() { - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult result = new com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult result = + new com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.offset_ = offsetBuilder_ == null - ? offset_ - : offsetBuilder_.build(); + result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build(); } } @@ -407,46 +459,53 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.AppendRowsRespon public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult)other); + return mergeFrom( + (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult other) { - if (other == com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult other) { + if (other + == com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult + .getDefaultInstance()) return this; if (other.hasOffset()) { mergeOffset(other.getOffset()); } @@ -476,19 +535,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getOffsetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getOffsetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -498,30 +557,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Int64Value offset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> offsetBuilder_; + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> + offsetBuilder_; /** + * + * *
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
        * 
* * .google.protobuf.Int64Value offset = 1; + * * @return Whether the offset field is set. */ public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
        * 
* * .google.protobuf.Int64Value offset = 1; + * * @return The offset. */ public com.google.protobuf.Int64Value getOffset() { @@ -532,6 +601,8 @@ public com.google.protobuf.Int64Value getOffset() { } } /** + * + * *
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -553,6 +624,8 @@ public Builder setOffset(com.google.protobuf.Int64Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -560,8 +633,7 @@ public Builder setOffset(com.google.protobuf.Int64Value value) {
        *
        * .google.protobuf.Int64Value offset = 1;
        */
-      public Builder setOffset(
-          com.google.protobuf.Int64Value.Builder builderForValue) {
+      public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue) {
         if (offsetBuilder_ == null) {
           offset_ = builderForValue.build();
         } else {
@@ -572,6 +644,8 @@ public Builder setOffset(
         return this;
       }
       /**
+       *
+       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -581,9 +655,9 @@ public Builder setOffset(
        */
       public Builder mergeOffset(com.google.protobuf.Int64Value value) {
         if (offsetBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0) &&
-            offset_ != null &&
-            offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0)
+              && offset_ != null
+              && offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
             getOffsetBuilder().mergeFrom(value);
           } else {
             offset_ = value;
@@ -596,6 +670,8 @@ public Builder mergeOffset(com.google.protobuf.Int64Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -614,6 +690,8 @@ public Builder clearOffset() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -627,6 +705,8 @@ public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
         return getOffsetFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -638,11 +718,12 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
         if (offsetBuilder_ != null) {
           return offsetBuilder_.getMessageOrBuilder();
         } else {
-          return offset_ == null ?
-              com.google.protobuf.Int64Value.getDefaultInstance() : offset_;
+          return offset_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : offset_;
         }
       }
       /**
+       *
+       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -651,18 +732,22 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
        * .google.protobuf.Int64Value offset = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> 
+              com.google.protobuf.Int64Value,
+              com.google.protobuf.Int64Value.Builder,
+              com.google.protobuf.Int64ValueOrBuilder>
           getOffsetFieldBuilder() {
         if (offsetBuilder_ == null) {
-          offsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
-                  getOffset(),
-                  getParentForChildren(),
-                  isClean());
+          offsetBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Int64Value,
+                  com.google.protobuf.Int64Value.Builder,
+                  com.google.protobuf.Int64ValueOrBuilder>(
+                  getOffset(), getParentForChildren(), isClean());
           offset_ = null;
         }
         return offsetBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -675,41 +760,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult)
-    private static final com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult DEFAULT_INSTANCE;
+    private static final com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult();
     }
 
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult getDefaultInstance() {
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public AppendResult parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public AppendResult parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -721,22 +809,26 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int responseCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object response_;
+
   public enum ResponseCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APPEND_RESULT(1),
     ERROR(2),
     RESPONSE_NOT_SET(0);
     private final int value;
+
     private ResponseCase(int value) {
       this.value = value;
     }
@@ -752,30 +844,37 @@ public static ResponseCase valueOf(int value) {
 
     public static ResponseCase forNumber(int value) {
       switch (value) {
-        case 1: return APPEND_RESULT;
-        case 2: return ERROR;
-        case 0: return RESPONSE_NOT_SET;
-        default: return null;
+        case 1:
+          return APPEND_RESULT;
+        case 2:
+          return ERROR;
+        case 0:
+          return RESPONSE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ResponseCase
-  getResponseCase() {
-    return ResponseCase.forNumber(
-        responseCase_);
+  public ResponseCase getResponseCase() {
+    return ResponseCase.forNumber(responseCase_);
   }
 
   public static final int APPEND_RESULT_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * + * * @return Whether the appendResult field is set. */ @java.lang.Override @@ -783,37 +882,49 @@ public boolean hasAppendResult() { return responseCase_ == 1; } /** + * + * *
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * + * * @return The appendResult. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult getAppendResult() { if (responseCase_ == 1) { - return (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_; + return (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_; } - return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult + .getDefaultInstance(); } /** + * + * *
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder() { + public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder + getAppendResultOrBuilder() { if (responseCase_ == 1) { - return (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_; + return (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_; } - return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult + .getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; /** + * + * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -838,6 +949,7 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBui
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -845,6 +957,8 @@ public boolean hasError() { return responseCase_ == 2; } /** + * + * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -869,16 +983,19 @@ public boolean hasError() {
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override public com.google.rpc.Status getError() { if (responseCase_ == 2) { - return (com.google.rpc.Status) response_; + return (com.google.rpc.Status) response_; } return com.google.rpc.Status.getDefaultInstance(); } /** + * + * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -907,7 +1024,7 @@ public com.google.rpc.Status getError() {
   @java.lang.Override
   public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
     if (responseCase_ == 2) {
-       return (com.google.rpc.Status) response_;
+      return (com.google.rpc.Status) response_;
     }
     return com.google.rpc.Status.getDefaultInstance();
   }
@@ -915,6 +1032,8 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   public static final int UPDATED_SCHEMA_FIELD_NUMBER = 3;
   private com.google.cloud.bigquery.storage.v1.TableSchema updatedSchema_;
   /**
+   *
+   *
    * 
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -922,6 +1041,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
    * 
* * .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3; + * * @return Whether the updatedSchema field is set. */ @java.lang.Override @@ -929,6 +1049,8 @@ public boolean hasUpdatedSchema() { return updatedSchema_ != null; } /** + * + * *
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -936,13 +1058,18 @@ public boolean hasUpdatedSchema() {
    * 
* * .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3; + * * @return The updatedSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableSchema getUpdatedSchema() { - return updatedSchema_ == null ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : updatedSchema_; + return updatedSchema_ == null + ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() + : updatedSchema_; } /** + * + * *
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -953,13 +1080,18 @@ public com.google.cloud.bigquery.storage.v1.TableSchema getUpdatedSchema() {
    */
   @java.lang.Override
   public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getUpdatedSchemaOrBuilder() {
-    return updatedSchema_ == null ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : updatedSchema_;
+    return updatedSchema_ == null
+        ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance()
+        : updatedSchema_;
   }
 
   public static final int ROW_ERRORS_FIELD_NUMBER = 4;
+
   @SuppressWarnings("serial")
   private java.util.List rowErrors_;
   /**
+   *
+   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -973,6 +1105,8 @@ public java.util.List getRowError
     return rowErrors_;
   }
   /**
+   *
+   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -982,11 +1116,13 @@ public java.util.List getRowError
    * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRowErrorsOrBuilderList() {
     return rowErrors_;
   }
   /**
+   *
+   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -1000,6 +1136,8 @@ public int getRowErrorsCount() {
     return rowErrors_.size();
   }
   /**
+   *
+   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -1013,6 +1151,8 @@ public com.google.cloud.bigquery.storage.v1.RowError getRowErrors(int index) {
     return rowErrors_.get(index);
   }
   /**
+   *
+   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -1022,21 +1162,24 @@ public com.google.cloud.bigquery.storage.v1.RowError getRowErrors(int index) {
    * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    */
   @java.lang.Override
-  public com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuilder(
-      int index) {
+  public com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuilder(int index) {
     return rowErrors_.get(index);
   }
 
   public static final int WRITE_STREAM_FIELD_NUMBER = 5;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object writeStream_ = "";
   /**
+   *
+   *
    * 
    * The target of the append operation. Matches the write_stream in the
    * corresponding request.
    * 
* * string write_stream = 5; + * * @return The writeStream. */ @java.lang.Override @@ -1045,30 +1188,30 @@ public java.lang.String getWriteStream() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; } } /** + * + * *
    * The target of the append operation. Matches the write_stream in the
    * corresponding request.
    * 
* * string write_stream = 5; + * * @return The bytes for writeStream. */ @java.lang.Override - public com.google.protobuf.ByteString - getWriteStreamBytes() { + public com.google.protobuf.ByteString getWriteStreamBytes() { java.lang.Object ref = writeStream_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); writeStream_ = b; return b; } else { @@ -1077,6 +1220,7 @@ public java.lang.String getWriteStream() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1088,10 +1232,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (responseCase_ == 1) { - output.writeMessage(1, (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_); + output.writeMessage( + 1, (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_); } if (responseCase_ == 2) { output.writeMessage(2, (com.google.rpc.Status) response_); @@ -1115,20 +1259,20 @@ public int getSerializedSize() { size = 0; if (responseCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_); } if (responseCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.rpc.Status) response_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.rpc.Status) response_); } if (updatedSchema_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdatedSchema()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdatedSchema()); } for (int i = 0; i < rowErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, rowErrors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, rowErrors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writeStream_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, writeStream_); @@ -1141,31 +1285,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.AppendRowsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.AppendRowsResponse other = (com.google.cloud.bigquery.storage.v1.AppendRowsResponse) obj; + com.google.cloud.bigquery.storage.v1.AppendRowsResponse other = + (com.google.cloud.bigquery.storage.v1.AppendRowsResponse) obj; if (hasUpdatedSchema() != other.hasUpdatedSchema()) return false; if (hasUpdatedSchema()) { - if (!getUpdatedSchema() - .equals(other.getUpdatedSchema())) return false; + if (!getUpdatedSchema().equals(other.getUpdatedSchema())) return false; } - if (!getRowErrorsList() - .equals(other.getRowErrorsList())) return false; - if (!getWriteStream() - .equals(other.getWriteStream())) return false; + if (!getRowErrorsList().equals(other.getRowErrorsList())) return false; + if (!getWriteStream().equals(other.getWriteStream())) return false; if (!getResponseCase().equals(other.getResponseCase())) return false; switch (responseCase_) { case 1: - if (!getAppendResult() - .equals(other.getAppendResult())) return false; + if (!getAppendResult().equals(other.getAppendResult())) return false; break; case 2: - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) return false; break; case 0: default: @@ -1209,131 +1349,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.AppendRowsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.AppendRowsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for `AppendRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.AppendRowsResponse) com.google.cloud.bigquery.storage.v1.AppendRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.class, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.class, + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.AppendRowsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1363,9 +1508,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; } @java.lang.Override @@ -1384,15 +1529,19 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsResponse build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.AppendRowsResponse buildPartial() { - com.google.cloud.bigquery.storage.v1.AppendRowsResponse result = new com.google.cloud.bigquery.storage.v1.AppendRowsResponse(this); + com.google.cloud.bigquery.storage.v1.AppendRowsResponse result = + new com.google.cloud.bigquery.storage.v1.AppendRowsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1.AppendRowsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.storage.v1.AppendRowsResponse result) { if (rowErrorsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { rowErrors_ = java.util.Collections.unmodifiableList(rowErrors_); @@ -1407,24 +1556,22 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1.App private void buildPartial0(com.google.cloud.bigquery.storage.v1.AppendRowsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { - result.updatedSchema_ = updatedSchemaBuilder_ == null - ? updatedSchema_ - : updatedSchemaBuilder_.build(); + result.updatedSchema_ = + updatedSchemaBuilder_ == null ? updatedSchema_ : updatedSchemaBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.writeStream_ = writeStream_; } } - private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.AppendRowsResponse result) { + private void buildPartialOneofs( + com.google.cloud.bigquery.storage.v1.AppendRowsResponse result) { result.responseCase_ = responseCase_; result.response_ = this.response_; - if (responseCase_ == 1 && - appendResultBuilder_ != null) { + if (responseCase_ == 1 && appendResultBuilder_ != null) { result.response_ = appendResultBuilder_.build(); } - if (responseCase_ == 2 && - errorBuilder_ != null) { + if (responseCase_ == 2 && errorBuilder_ != null) { result.response_ = errorBuilder_.build(); } } @@ -1433,38 +1580,39 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.AppendRowsR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.AppendRowsResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.AppendRowsResponse)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.AppendRowsResponse) other); } else { super.mergeFrom(other); return this; @@ -1472,7 +1620,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AppendRowsResponse other) { - if (other == com.google.cloud.bigquery.storage.v1.AppendRowsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.AppendRowsResponse.getDefaultInstance()) + return this; if (other.hasUpdatedSchema()) { mergeUpdatedSchema(other.getUpdatedSchema()); } @@ -1494,9 +1643,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AppendRowsResponse rowErrorsBuilder_ = null; rowErrors_ = other.rowErrors_; bitField0_ = (bitField0_ & ~0x00000008); - rowErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRowErrorsFieldBuilder() : null; + rowErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRowErrorsFieldBuilder() + : null; } else { rowErrorsBuilder_.addAllMessages(other.rowErrors_); } @@ -1508,17 +1658,20 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AppendRowsResponse onChanged(); } switch (other.getResponseCase()) { - case APPEND_RESULT: { - mergeAppendResult(other.getAppendResult()); - break; - } - case ERROR: { - mergeError(other.getError()); - break; - } - case RESPONSE_NOT_SET: { - break; - } + case APPEND_RESULT: + { + mergeAppendResult(other.getAppendResult()); + break; + } + case ERROR: + { + mergeError(other.getError()); + break; + } + case RESPONSE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1546,51 +1699,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAppendResultFieldBuilder().getBuilder(), - extensionRegistry); - responseCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getErrorFieldBuilder().getBuilder(), - extensionRegistry); - responseCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdatedSchemaFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.cloud.bigquery.storage.v1.RowError m = - input.readMessage( - com.google.cloud.bigquery.storage.v1.RowError.parser(), - extensionRegistry); - if (rowErrorsBuilder_ == null) { - ensureRowErrorsIsMutable(); - rowErrors_.add(m); - } else { - rowErrorsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - writeStream_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAppendResultFieldBuilder().getBuilder(), extensionRegistry); + responseCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); + responseCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdatedSchemaFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.cloud.bigquery.storage.v1.RowError m = + input.readMessage( + com.google.cloud.bigquery.storage.v1.RowError.parser(), extensionRegistry); + if (rowErrorsBuilder_ == null) { + ensureRowErrorsIsMutable(); + rowErrors_.add(m); + } else { + rowErrorsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: + { + writeStream_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1600,12 +1752,12 @@ public Builder mergeFrom( } // finally return this; } + private int responseCase_ = 0; private java.lang.Object response_; - public ResponseCase - getResponseCase() { - return ResponseCase.forNumber( - responseCase_); + + public ResponseCase getResponseCase() { + return ResponseCase.forNumber(responseCase_); } public Builder clearResponse() { @@ -1618,13 +1770,20 @@ public Builder clearResponse() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder> appendResultBuilder_; + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult, + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder, + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder> + appendResultBuilder_; /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * + * * @return Whether the appendResult field is set. */ @java.lang.Override @@ -1632,11 +1791,15 @@ public boolean hasAppendResult() { return responseCase_ == 1; } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * + * * @return The appendResult. */ @java.lang.Override @@ -1645,22 +1808,28 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult getA if (responseCase_ == 1) { return (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_; } - return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult + .getDefaultInstance(); } else { if (responseCase_ == 1) { return appendResultBuilder_.getMessage(); } - return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult + .getDefaultInstance(); } } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * */ - public Builder setAppendResult(com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult value) { + public Builder setAppendResult( + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult value) { if (appendResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1674,14 +1843,18 @@ public Builder setAppendResult(com.google.cloud.bigquery.storage.v1.AppendRowsRe return this; } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * */ public Builder setAppendResult( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder + builderForValue) { if (appendResultBuilder_ == null) { response_ = builderForValue.build(); onChanged(); @@ -1692,18 +1865,28 @@ public Builder setAppendResult( return this; } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * */ - public Builder mergeAppendResult(com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult value) { + public Builder mergeAppendResult( + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult value) { if (appendResultBuilder_ == null) { - if (responseCase_ == 1 && - response_ != com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance()) { - response_ = com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.newBuilder((com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_) - .mergeFrom(value).buildPartial(); + if (responseCase_ == 1 + && response_ + != com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult + .getDefaultInstance()) { + response_ = + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.newBuilder( + (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) + response_) + .mergeFrom(value) + .buildPartial(); } else { response_ = value; } @@ -1719,11 +1902,14 @@ public Builder mergeAppendResult(com.google.cloud.bigquery.storage.v1.AppendRows return this; } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * */ public Builder clearAppendResult() { if (appendResultBuilder_ == null) { @@ -1742,49 +1928,68 @@ public Builder clearAppendResult() { return this; } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * */ - public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder getAppendResultBuilder() { + public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder + getAppendResultBuilder() { return getAppendResultFieldBuilder().getBuilder(); } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder() { + public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder + getAppendResultOrBuilder() { if ((responseCase_ == 1) && (appendResultBuilder_ != null)) { return appendResultBuilder_.getMessageOrBuilder(); } else { if (responseCase_ == 1) { return (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_; } - return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult + .getDefaultInstance(); } } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder> + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult, + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder, + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder> getAppendResultFieldBuilder() { if (appendResultBuilder_ == null) { if (!(responseCase_ == 1)) { - response_ = com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance(); + response_ = + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult + .getDefaultInstance(); } - appendResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder>( + appendResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult, + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder, + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder>( (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_, getParentForChildren(), isClean()); @@ -1796,8 +2001,11 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBui } private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1822,6 +2030,7 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBui
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -1829,6 +2038,8 @@ public boolean hasError() { return responseCase_ == 2; } /** + * + * *
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1853,6 +2064,7 @@ public boolean hasError() {
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -1870,6 +2082,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1909,6 +2123,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1934,8 +2150,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 2;
      */
-    public Builder setError(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         response_ = builderForValue.build();
         onChanged();
@@ -1946,6 +2161,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1973,10 +2190,11 @@ public Builder setError(
      */
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
-        if (responseCase_ == 2 &&
-            response_ != com.google.rpc.Status.getDefaultInstance()) {
-          response_ = com.google.rpc.Status.newBuilder((com.google.rpc.Status) response_)
-              .mergeFrom(value).buildPartial();
+        if (responseCase_ == 2 && response_ != com.google.rpc.Status.getDefaultInstance()) {
+          response_ =
+              com.google.rpc.Status.newBuilder((com.google.rpc.Status) response_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           response_ = value;
         }
@@ -1992,6 +2210,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -2034,6 +2254,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -2063,6 +2285,8 @@ public com.google.rpc.Status.Builder getErrorBuilder() {
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -2100,6 +2324,8 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -2126,17 +2352,18 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
         if (!(responseCase_ == 2)) {
           response_ = com.google.rpc.Status.getDefaultInstance();
         }
-        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                (com.google.rpc.Status) response_,
-                getParentForChildren(),
-                isClean());
+        errorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
+                (com.google.rpc.Status) response_, getParentForChildren(), isClean());
         response_ = null;
       }
       responseCase_ = 2;
@@ -2146,8 +2373,13 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
 
     private com.google.cloud.bigquery.storage.v1.TableSchema updatedSchema_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1.TableSchema, com.google.cloud.bigquery.storage.v1.TableSchema.Builder, com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder> updatedSchemaBuilder_;
+            com.google.cloud.bigquery.storage.v1.TableSchema,
+            com.google.cloud.bigquery.storage.v1.TableSchema.Builder,
+            com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder>
+        updatedSchemaBuilder_;
     /**
+     *
+     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2155,12 +2387,15 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * 
* * .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3; + * * @return Whether the updatedSchema field is set. */ public boolean hasUpdatedSchema() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2168,16 +2403,21 @@ public boolean hasUpdatedSchema() {
      * 
* * .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3; + * * @return The updatedSchema. */ public com.google.cloud.bigquery.storage.v1.TableSchema getUpdatedSchema() { if (updatedSchemaBuilder_ == null) { - return updatedSchema_ == null ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : updatedSchema_; + return updatedSchema_ == null + ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() + : updatedSchema_; } else { return updatedSchemaBuilder_.getMessage(); } } /** + * + * *
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2200,6 +2440,8 @@ public Builder setUpdatedSchema(com.google.cloud.bigquery.storage.v1.TableSchema
       return this;
     }
     /**
+     *
+     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2220,6 +2462,8 @@ public Builder setUpdatedSchema(
       return this;
     }
     /**
+     *
+     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2230,9 +2474,10 @@ public Builder setUpdatedSchema(
      */
     public Builder mergeUpdatedSchema(com.google.cloud.bigquery.storage.v1.TableSchema value) {
       if (updatedSchemaBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          updatedSchema_ != null &&
-          updatedSchema_ != com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && updatedSchema_ != null
+            && updatedSchema_
+                != com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance()) {
           getUpdatedSchemaBuilder().mergeFrom(value);
         } else {
           updatedSchema_ = value;
@@ -2245,6 +2490,8 @@ public Builder mergeUpdatedSchema(com.google.cloud.bigquery.storage.v1.TableSche
       return this;
     }
     /**
+     *
+     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2264,6 +2511,8 @@ public Builder clearUpdatedSchema() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2278,6 +2527,8 @@ public com.google.cloud.bigquery.storage.v1.TableSchema.Builder getUpdatedSchema
       return getUpdatedSchemaFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2290,11 +2541,14 @@ public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getUpdatedSchem
       if (updatedSchemaBuilder_ != null) {
         return updatedSchemaBuilder_.getMessageOrBuilder();
       } else {
-        return updatedSchema_ == null ?
-            com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : updatedSchema_;
+        return updatedSchema_ == null
+            ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance()
+            : updatedSchema_;
       }
     }
     /**
+     *
+     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2304,32 +2558,42 @@ public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getUpdatedSchem
      * .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1.TableSchema, com.google.cloud.bigquery.storage.v1.TableSchema.Builder, com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder> 
+            com.google.cloud.bigquery.storage.v1.TableSchema,
+            com.google.cloud.bigquery.storage.v1.TableSchema.Builder,
+            com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder>
         getUpdatedSchemaFieldBuilder() {
       if (updatedSchemaBuilder_ == null) {
-        updatedSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1.TableSchema, com.google.cloud.bigquery.storage.v1.TableSchema.Builder, com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder>(
-                getUpdatedSchema(),
-                getParentForChildren(),
-                isClean());
+        updatedSchemaBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.bigquery.storage.v1.TableSchema,
+                com.google.cloud.bigquery.storage.v1.TableSchema.Builder,
+                com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder>(
+                getUpdatedSchema(), getParentForChildren(), isClean());
         updatedSchema_ = null;
       }
       return updatedSchemaBuilder_;
     }
 
     private java.util.List rowErrors_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureRowErrorsIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
-        rowErrors_ = new java.util.ArrayList(rowErrors_);
+        rowErrors_ =
+            new java.util.ArrayList(rowErrors_);
         bitField0_ |= 0x00000008;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1.RowError, com.google.cloud.bigquery.storage.v1.RowError.Builder, com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder> rowErrorsBuilder_;
+            com.google.cloud.bigquery.storage.v1.RowError,
+            com.google.cloud.bigquery.storage.v1.RowError.Builder,
+            com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder>
+        rowErrorsBuilder_;
 
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2346,6 +2610,8 @@ public java.util.List getRowError
       }
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2362,6 +2628,8 @@ public int getRowErrorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2378,6 +2646,8 @@ public com.google.cloud.bigquery.storage.v1.RowError getRowErrors(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2386,8 +2656,7 @@ public com.google.cloud.bigquery.storage.v1.RowError getRowErrors(int index) {
      *
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
-    public Builder setRowErrors(
-        int index, com.google.cloud.bigquery.storage.v1.RowError value) {
+    public Builder setRowErrors(int index, com.google.cloud.bigquery.storage.v1.RowError value) {
       if (rowErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2401,6 +2670,8 @@ public Builder setRowErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2421,6 +2692,8 @@ public Builder setRowErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2443,6 +2716,8 @@ public Builder addRowErrors(com.google.cloud.bigquery.storage.v1.RowError value)
       return this;
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2451,8 +2726,7 @@ public Builder addRowErrors(com.google.cloud.bigquery.storage.v1.RowError value)
      *
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
-    public Builder addRowErrors(
-        int index, com.google.cloud.bigquery.storage.v1.RowError value) {
+    public Builder addRowErrors(int index, com.google.cloud.bigquery.storage.v1.RowError value) {
       if (rowErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2466,6 +2740,8 @@ public Builder addRowErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2486,6 +2762,8 @@ public Builder addRowErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2506,6 +2784,8 @@ public Builder addRowErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2518,8 +2798,7 @@ public Builder addAllRowErrors(
         java.lang.Iterable values) {
       if (rowErrorsBuilder_ == null) {
         ensureRowErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, rowErrors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rowErrors_);
         onChanged();
       } else {
         rowErrorsBuilder_.addAllMessages(values);
@@ -2527,6 +2806,8 @@ public Builder addAllRowErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2546,6 +2827,8 @@ public Builder clearRowErrors() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2565,6 +2848,8 @@ public Builder removeRowErrors(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2573,11 +2858,12 @@ public Builder removeRowErrors(int index) {
      *
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
-    public com.google.cloud.bigquery.storage.v1.RowError.Builder getRowErrorsBuilder(
-        int index) {
+    public com.google.cloud.bigquery.storage.v1.RowError.Builder getRowErrorsBuilder(int index) {
       return getRowErrorsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2586,14 +2872,16 @@ public com.google.cloud.bigquery.storage.v1.RowError.Builder getRowErrorsBuilder
      *
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
-    public com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuilder(
-        int index) {
+    public com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuilder(int index) {
       if (rowErrorsBuilder_ == null) {
-        return rowErrors_.get(index);  } else {
+        return rowErrors_.get(index);
+      } else {
         return rowErrorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2602,8 +2890,8 @@ public com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuil
      *
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
-    public java.util.List 
-         getRowErrorsOrBuilderList() {
+    public java.util.List
+        getRowErrorsOrBuilderList() {
       if (rowErrorsBuilder_ != null) {
         return rowErrorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2611,6 +2899,8 @@ public com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2620,10 +2910,12 @@ public com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuil
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
     public com.google.cloud.bigquery.storage.v1.RowError.Builder addRowErrorsBuilder() {
-      return getRowErrorsFieldBuilder().addBuilder(
-          com.google.cloud.bigquery.storage.v1.RowError.getDefaultInstance());
+      return getRowErrorsFieldBuilder()
+          .addBuilder(com.google.cloud.bigquery.storage.v1.RowError.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2632,12 +2924,13 @@ public com.google.cloud.bigquery.storage.v1.RowError.Builder addRowErrorsBuilder
      *
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
-    public com.google.cloud.bigquery.storage.v1.RowError.Builder addRowErrorsBuilder(
-        int index) {
-      return getRowErrorsFieldBuilder().addBuilder(
-          index, com.google.cloud.bigquery.storage.v1.RowError.getDefaultInstance());
+    public com.google.cloud.bigquery.storage.v1.RowError.Builder addRowErrorsBuilder(int index) {
+      return getRowErrorsFieldBuilder()
+          .addBuilder(index, com.google.cloud.bigquery.storage.v1.RowError.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2646,20 +2939,23 @@ public com.google.cloud.bigquery.storage.v1.RowError.Builder addRowErrorsBuilder
      *
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
-    public java.util.List 
-         getRowErrorsBuilderList() {
+    public java.util.List
+        getRowErrorsBuilderList() {
       return getRowErrorsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1.RowError, com.google.cloud.bigquery.storage.v1.RowError.Builder, com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder> 
+            com.google.cloud.bigquery.storage.v1.RowError,
+            com.google.cloud.bigquery.storage.v1.RowError.Builder,
+            com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder>
         getRowErrorsFieldBuilder() {
       if (rowErrorsBuilder_ == null) {
-        rowErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1.RowError, com.google.cloud.bigquery.storage.v1.RowError.Builder, com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder>(
-                rowErrors_,
-                ((bitField0_ & 0x00000008) != 0),
-                getParentForChildren(),
-                isClean());
+        rowErrorsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.bigquery.storage.v1.RowError,
+                com.google.cloud.bigquery.storage.v1.RowError.Builder,
+                com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder>(
+                rowErrors_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
         rowErrors_ = null;
       }
       return rowErrorsBuilder_;
@@ -2667,19 +2963,21 @@ public com.google.cloud.bigquery.storage.v1.RowError.Builder addRowErrorsBuilder
 
     private java.lang.Object writeStream_ = "";
     /**
+     *
+     *
      * 
      * The target of the append operation. Matches the write_stream in the
      * corresponding request.
      * 
* * string write_stream = 5; + * * @return The writeStream. */ public java.lang.String getWriteStream() { java.lang.Object ref = writeStream_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; @@ -2688,21 +2986,22 @@ public java.lang.String getWriteStream() { } } /** + * + * *
      * The target of the append operation. Matches the write_stream in the
      * corresponding request.
      * 
* * string write_stream = 5; + * * @return The bytes for writeStream. */ - public com.google.protobuf.ByteString - getWriteStreamBytes() { + public com.google.protobuf.ByteString getWriteStreamBytes() { java.lang.Object ref = writeStream_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); writeStream_ = b; return b; } else { @@ -2710,30 +3009,37 @@ public java.lang.String getWriteStream() { } } /** + * + * *
      * The target of the append operation. Matches the write_stream in the
      * corresponding request.
      * 
* * string write_stream = 5; + * * @param value The writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStream( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteStream(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } writeStream_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The target of the append operation. Matches the write_stream in the
      * corresponding request.
      * 
* * string write_stream = 5; + * * @return This builder for chaining. */ public Builder clearWriteStream() { @@ -2743,27 +3049,31 @@ public Builder clearWriteStream() { return this; } /** + * + * *
      * The target of the append operation. Matches the write_stream in the
      * corresponding request.
      * 
* * string write_stream = 5; + * * @param value The bytes for writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStreamBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); writeStream_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2773,12 +3083,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.AppendRowsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.AppendRowsResponse) private static final com.google.cloud.bigquery.storage.v1.AppendRowsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.AppendRowsResponse(); } @@ -2787,27 +3097,27 @@ public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppendRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppendRowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2822,6 +3132,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.AppendRowsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponseOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponseOrBuilder.java similarity index 87% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponseOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponseOrBuilder.java index a7d28792ae..77f87ee785 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponseOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponseOrBuilder.java @@ -1,40 +1,70 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; -public interface AppendRowsResponseOrBuilder extends +public interface AppendRowsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.AppendRowsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * + * * @return Whether the appendResult field is set. */ boolean hasAppendResult(); /** + * + * *
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * + * * @return The appendResult. */ com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult getAppendResult(); /** + * + * *
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; + * */ - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder(); + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder + getAppendResultOrBuilder(); /** + * + * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -59,10 +89,13 @@ public interface AppendRowsResponseOrBuilder extends
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -87,10 +120,13 @@ public interface AppendRowsResponseOrBuilder extends
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -119,6 +155,8 @@ public interface AppendRowsResponseOrBuilder extends
   com.google.rpc.StatusOrBuilder getErrorOrBuilder();
 
   /**
+   *
+   *
    * 
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -126,10 +164,13 @@ public interface AppendRowsResponseOrBuilder extends
    * 
* * .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3; + * * @return Whether the updatedSchema field is set. */ boolean hasUpdatedSchema(); /** + * + * *
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -137,10 +178,13 @@ public interface AppendRowsResponseOrBuilder extends
    * 
* * .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3; + * * @return The updatedSchema. */ com.google.cloud.bigquery.storage.v1.TableSchema getUpdatedSchema(); /** + * + * *
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -152,6 +196,8 @@ public interface AppendRowsResponseOrBuilder extends
   com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getUpdatedSchemaOrBuilder();
 
   /**
+   *
+   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -160,9 +206,10 @@ public interface AppendRowsResponseOrBuilder extends
    *
    * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    */
-  java.util.List 
-      getRowErrorsList();
+  java.util.List getRowErrorsList();
   /**
+   *
+   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -173,6 +220,8 @@ public interface AppendRowsResponseOrBuilder extends
    */
   com.google.cloud.bigquery.storage.v1.RowError getRowErrors(int index);
   /**
+   *
+   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -183,6 +232,8 @@ public interface AppendRowsResponseOrBuilder extends
    */
   int getRowErrorsCount();
   /**
+   *
+   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -191,9 +242,11 @@ public interface AppendRowsResponseOrBuilder extends
    *
    * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    */
-  java.util.List 
+  java.util.List
       getRowErrorsOrBuilderList();
   /**
+   *
+   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -202,30 +255,34 @@ public interface AppendRowsResponseOrBuilder extends
    *
    * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    */
-  com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuilder(
-      int index);
+  com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The target of the append operation. Matches the write_stream in the
    * corresponding request.
    * 
* * string write_stream = 5; + * * @return The writeStream. */ java.lang.String getWriteStream(); /** + * + * *
    * The target of the append operation. Matches the write_stream in the
    * corresponding request.
    * 
* * string write_stream = 5; + * * @return The bytes for writeStream. */ - com.google.protobuf.ByteString - getWriteStreamBytes(); + com.google.protobuf.ByteString getWriteStreamBytes(); com.google.cloud.bigquery.storage.v1.AppendRowsResponse.ResponseCase getResponseCase(); } diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java new file mode 100644 index 0000000000..17fbd52eaf --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java @@ -0,0 +1,98 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/arrow.proto + +package com.google.cloud.bigquery.storage.v1; + +public final class ArrowProto { + private ArrowProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n,google/cloud/bigquery/storage/v1/arrow" + + ".proto\022 google.cloud.bigquery.storage.v1" + + "\"(\n\013ArrowSchema\022\031\n\021serialized_schema\030\001 \001" + + "(\014\"J\n\020ArrowRecordBatch\022\037\n\027serialized_rec" + + "ord_batch\030\001 \001(\014\022\025\n\trow_count\030\002 \001(\003B\002\030\001\"\317" + + "\001\n\031ArrowSerializationOptions\022h\n\022buffer_c" + + "ompression\030\002 \001(\0162L.google.cloud.bigquery" + + ".storage.v1.ArrowSerializationOptions.Co" + + "mpressionCodec\"H\n\020CompressionCodec\022\033\n\027CO" + + "MPRESSION_UNSPECIFIED\020\000\022\r\n\tLZ4_FRAME\020\001\022\010" + + "\n\004ZSTD\020\002B\272\001\n$com.google.cloud.bigquery.s" + + "torage.v1B\nArrowProtoP\001Z>cloud.google.co" + + "m/go/bigquery/storage/apiv1/storagepb;st" + + "oragepb\252\002 Google.Cloud.BigQuery.Storage." + + "V1\312\002 Google\\Cloud\\BigQuery\\Storage\\V1b\006p" + + "roto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor, + new java.lang.String[] { + "SerializedSchema", + }); + internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor, + new java.lang.String[] { + "SerializedRecordBatch", "RowCount", + }); + internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor, + new java.lang.String[] { + "BufferCompression", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatch.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatch.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatch.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatch.java index 211cc40462..4feada9dc7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatch.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatch.java @@ -1,56 +1,79 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/arrow.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Arrow RecordBatch.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ArrowRecordBatch} */ -public final class ArrowRecordBatch extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ArrowRecordBatch extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ArrowRecordBatch) ArrowRecordBatchOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArrowRecordBatch.newBuilder() to construct. private ArrowRecordBatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArrowRecordBatch() { serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArrowRecordBatch(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.class, com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder.class); + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.class, + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder.class); } public static final int SERIALIZED_RECORD_BATCH_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedRecordBatch_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * IPC-serialized Arrow RecordBatch.
    * 
* * bytes serialized_record_batch = 1; + * * @return The serializedRecordBatch. */ @java.lang.Override @@ -61,22 +84,27 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_ = 0L; /** + * + * *
    * [Deprecated] The count of rows in `serialized_record_batch`.
    * Please use the format-independent ReadRowsResponse.row_count instead.
    * 
* * int64 row_count = 2 [deprecated = true]; - * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. - * See google/cloud/bigquery/storage/v1/arrow.proto;l=43 + * + * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See + * google/cloud/bigquery/storage/v1/arrow.proto;l=43 * @return The rowCount. */ @java.lang.Override - @java.lang.Deprecated public long getRowCount() { + @java.lang.Deprecated + public long getRowCount() { return rowCount_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -88,8 +116,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!serializedRecordBatch_.isEmpty()) { output.writeBytes(1, serializedRecordBatch_); } @@ -106,12 +133,10 @@ public int getSerializedSize() { size = 0; if (!serializedRecordBatch_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, serializedRecordBatch_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, serializedRecordBatch_); } if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, rowCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,17 +146,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ArrowRecordBatch)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ArrowRecordBatch other = (com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) obj; + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch other = + (com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) obj; - if (!getSerializedRecordBatch() - .equals(other.getSerializedRecordBatch())) return false; - if (getRowCount() - != other.getRowCount()) return false; + if (!getSerializedRecordBatch().equals(other.getSerializedRecordBatch())) return false; + if (getRowCount() != other.getRowCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -146,139 +170,143 @@ public int hashCode() { hash = (37 * hash) + SERIALIZED_RECORD_BATCH_FIELD_NUMBER; hash = (53 * hash) + getSerializedRecordBatch().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ArrowRecordBatch prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Arrow RecordBatch.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ArrowRecordBatch} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ArrowRecordBatch) com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.class, com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder.class); + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.class, + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +317,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor; } @java.lang.Override @@ -310,8 +338,11 @@ public com.google.cloud.bigquery.storage.v1.ArrowRecordBatch build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowRecordBatch buildPartial() { - com.google.cloud.bigquery.storage.v1.ArrowRecordBatch result = new com.google.cloud.bigquery.storage.v1.ArrowRecordBatch(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch result = + new com.google.cloud.bigquery.storage.v1.ArrowRecordBatch(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +361,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ArrowRecordBatch public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowRecordBatch)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) other); } else { super.mergeFrom(other); return this; @@ -369,7 +401,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ArrowRecordBatch other) { - if (other == com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.getDefaultInstance()) + return this; if (other.getSerializedRecordBatch() != com.google.protobuf.ByteString.EMPTY) { setSerializedRecordBatch(other.getSerializedRecordBatch()); } @@ -402,22 +435,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - serializedRecordBatch_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + serializedRecordBatch_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -427,15 +463,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.ByteString serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedRecordBatch_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; + * * @return The serializedRecordBatch. */ @java.lang.Override @@ -443,27 +484,35 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { return serializedRecordBatch_; } /** + * + * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; + * * @param value The serializedRecordBatch to set. * @return This builder for chaining. */ public Builder setSerializedRecordBatch(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } serializedRecordBatch_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; + * * @return This builder for chaining. */ public Builder clearSerializedRecordBatch() { @@ -473,35 +522,43 @@ public Builder clearSerializedRecordBatch() { return this; } - private long rowCount_ ; + private long rowCount_; /** + * + * *
      * [Deprecated] The count of rows in `serialized_record_batch`.
      * Please use the format-independent ReadRowsResponse.row_count instead.
      * 
* * int64 row_count = 2 [deprecated = true]; - * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. - * See google/cloud/bigquery/storage/v1/arrow.proto;l=43 + * + * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See + * google/cloud/bigquery/storage/v1/arrow.proto;l=43 * @return The rowCount. */ @java.lang.Override - @java.lang.Deprecated public long getRowCount() { + @java.lang.Deprecated + public long getRowCount() { return rowCount_; } /** + * + * *
      * [Deprecated] The count of rows in `serialized_record_batch`.
      * Please use the format-independent ReadRowsResponse.row_count instead.
      * 
* * int64 row_count = 2 [deprecated = true]; - * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. - * See google/cloud/bigquery/storage/v1/arrow.proto;l=43 + * + * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See + * google/cloud/bigquery/storage/v1/arrow.proto;l=43 * @param value The rowCount to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setRowCount(long value) { + @java.lang.Deprecated + public Builder setRowCount(long value) { rowCount_ = value; bitField0_ |= 0x00000002; @@ -509,25 +566,29 @@ public Builder clearSerializedRecordBatch() { return this; } /** + * + * *
      * [Deprecated] The count of rows in `serialized_record_batch`.
      * Please use the format-independent ReadRowsResponse.row_count instead.
      * 
* * int64 row_count = 2 [deprecated = true]; - * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. - * See google/cloud/bigquery/storage/v1/arrow.proto;l=43 + * + * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See + * google/cloud/bigquery/storage/v1/arrow.proto;l=43 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearRowCount() { + @java.lang.Deprecated + public Builder clearRowCount() { bitField0_ = (bitField0_ & ~0x00000002); rowCount_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -537,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ArrowRecordBatch) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ArrowRecordBatch) private static final com.google.cloud.bigquery.storage.v1.ArrowRecordBatch DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ArrowRecordBatch(); } @@ -551,27 +612,27 @@ public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowRecordBatch parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowRecordBatch parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -586,6 +647,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ArrowRecordBatch getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatchOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatchOrBuilder.java similarity index 51% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatchOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatchOrBuilder.java index 6bd4f925c2..cedb39a3b7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatchOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatchOrBuilder.java @@ -1,32 +1,55 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/arrow.proto package com.google.cloud.bigquery.storage.v1; -public interface ArrowRecordBatchOrBuilder extends +public interface ArrowRecordBatchOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ArrowRecordBatch) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * IPC-serialized Arrow RecordBatch.
    * 
* * bytes serialized_record_batch = 1; + * * @return The serializedRecordBatch. */ com.google.protobuf.ByteString getSerializedRecordBatch(); /** + * + * *
    * [Deprecated] The count of rows in `serialized_record_batch`.
    * Please use the format-independent ReadRowsResponse.row_count instead.
    * 
* * int64 row_count = 2 [deprecated = true]; - * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. - * See google/cloud/bigquery/storage/v1/arrow.proto;l=43 + * + * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See + * google/cloud/bigquery/storage/v1/arrow.proto;l=43 * @return The rowCount. */ - @java.lang.Deprecated long getRowCount(); + @java.lang.Deprecated + long getRowCount(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java index a070c27d37..e49c82db73 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java @@ -1,9 +1,26 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/arrow.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Arrow schema as specified in
  * https://arrow.apache.org/docs/python/api/datatypes.html
@@ -15,47 +32,52 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1.ArrowSchema}
  */
-public final class ArrowSchema extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ArrowSchema extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ArrowSchema)
     ArrowSchemaOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ArrowSchema.newBuilder() to construct.
   private ArrowSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ArrowSchema() {
     serializedSchema_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ArrowSchema();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1.ArrowProto
+        .internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1.ArrowProto
+        .internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1.ArrowSchema.class, com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder.class);
+            com.google.cloud.bigquery.storage.v1.ArrowSchema.class,
+            com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder.class);
   }
 
   public static final int SERIALIZED_SCHEMA_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString serializedSchema_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * IPC serialized Arrow schema.
    * 
* * bytes serialized_schema = 1; + * * @return The serializedSchema. */ @java.lang.Override @@ -64,6 +86,7 @@ public com.google.protobuf.ByteString getSerializedSchema() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +98,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!serializedSchema_.isEmpty()) { output.writeBytes(1, serializedSchema_); } @@ -90,8 +112,7 @@ public int getSerializedSize() { size = 0; if (!serializedSchema_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, serializedSchema_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, serializedSchema_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +122,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ArrowSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ArrowSchema other = (com.google.cloud.bigquery.storage.v1.ArrowSchema) obj; + com.google.cloud.bigquery.storage.v1.ArrowSchema other = + (com.google.cloud.bigquery.storage.v1.ArrowSchema) obj; - if (!getSerializedSchema() - .equals(other.getSerializedSchema())) return false; + if (!getSerializedSchema().equals(other.getSerializedSchema())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -128,99 +149,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ArrowSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ArrowSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Arrow schema as specified in
    * https://arrow.apache.org/docs/python/api/datatypes.html
@@ -232,33 +258,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1.ArrowSchema}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ArrowSchema)
       com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1.ArrowProto
+          .internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1.ArrowProto
+          .internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1.ArrowSchema.class, com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder.class);
+              com.google.cloud.bigquery.storage.v1.ArrowSchema.class,
+              com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.storage.v1.ArrowSchema.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -268,9 +293,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.storage.v1.ArrowProto
+          .internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor;
     }
 
     @java.lang.Override
@@ -289,8 +314,11 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchema build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1.ArrowSchema buildPartial() {
-      com.google.cloud.bigquery.storage.v1.ArrowSchema result = new com.google.cloud.bigquery.storage.v1.ArrowSchema(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.storage.v1.ArrowSchema result =
+          new com.google.cloud.bigquery.storage.v1.ArrowSchema(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -306,38 +334,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ArrowSchema resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1.ArrowSchema) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSchema)other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSchema) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -345,7 +374,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ArrowSchema other) {
-      if (other == com.google.cloud.bigquery.storage.v1.ArrowSchema.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.storage.v1.ArrowSchema.getDefaultInstance())
+        return this;
       if (other.getSerializedSchema() != com.google.protobuf.ByteString.EMPTY) {
         setSerializedSchema(other.getSerializedSchema());
       }
@@ -375,17 +405,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              serializedSchema_ = input.readBytes();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                serializedSchema_ = input.readBytes();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -395,15 +427,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.ByteString serializedSchema_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; + * * @return The serializedSchema. */ @java.lang.Override @@ -411,27 +447,35 @@ public com.google.protobuf.ByteString getSerializedSchema() { return serializedSchema_; } /** + * + * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; + * * @param value The serializedSchema to set. * @return This builder for chaining. */ public Builder setSerializedSchema(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } serializedSchema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; + * * @return This builder for chaining. */ public Builder clearSerializedSchema() { @@ -440,9 +484,9 @@ public Builder clearSerializedSchema() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -452,12 +496,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ArrowSchema) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ArrowSchema) private static final com.google.cloud.bigquery.storage.v1.ArrowSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ArrowSchema(); } @@ -466,27 +510,27 @@ public static com.google.cloud.bigquery.storage.v1.ArrowSchema getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -501,6 +545,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ArrowSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java new file mode 100644 index 0000000000..00099c4fe3 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java @@ -0,0 +1,38 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/arrow.proto + +package com.google.cloud.bigquery.storage.v1; + +public interface ArrowSchemaOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ArrowSchema) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * IPC serialized Arrow schema.
+   * 
+ * + * bytes serialized_schema = 1; + * + * @return The serializedSchema. + */ + com.google.protobuf.ByteString getSerializedSchema(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java index 827cb1dc68..e8806003a2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java @@ -1,58 +1,81 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/arrow.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Contains options specific to Arrow Serialization.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ArrowSerializationOptions} */ -public final class ArrowSerializationOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ArrowSerializationOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ArrowSerializationOptions) ArrowSerializationOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArrowSerializationOptions.newBuilder() to construct. private ArrowSerializationOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArrowSerializationOptions() { bufferCompression_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArrowSerializationOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.class, com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder.class); + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.class, + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder.class); } /** + * + * *
    * Compression codec's supported by Arrow.
    * 
* - * Protobuf enum {@code google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec} + * Protobuf enum {@code + * google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec} */ - public enum CompressionCodec - implements com.google.protobuf.ProtocolMessageEnum { + public enum CompressionCodec implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * If unspecified no compression will be used.
      * 
@@ -61,6 +84,8 @@ public enum CompressionCodec */ COMPRESSION_UNSPECIFIED(0), /** + * + * *
      * LZ4 Frame (https://github.com/lz4/lz4/blob/dev/doc/lz4_Frame_format.md)
      * 
@@ -69,6 +94,8 @@ public enum CompressionCodec */ LZ4_FRAME(1), /** + * + * *
      * Zstandard compression.
      * 
@@ -80,6 +107,8 @@ public enum CompressionCodec ; /** + * + * *
      * If unspecified no compression will be used.
      * 
@@ -88,6 +117,8 @@ public enum CompressionCodec */ public static final int COMPRESSION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * LZ4 Frame (https://github.com/lz4/lz4/blob/dev/doc/lz4_Frame_format.md)
      * 
@@ -96,6 +127,8 @@ public enum CompressionCodec */ public static final int LZ4_FRAME_VALUE = 1; /** + * + * *
      * Zstandard compression.
      * 
@@ -104,7 +137,6 @@ public enum CompressionCodec */ public static final int ZSTD_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -129,40 +161,45 @@ public static CompressionCodec valueOf(int value) { */ public static CompressionCodec forNumber(int value) { switch (value) { - case 0: return COMPRESSION_UNSPECIFIED; - case 1: return LZ4_FRAME; - case 2: return ZSTD; - default: return null; + case 0: + return COMPRESSION_UNSPECIFIED; + case 1: + return LZ4_FRAME; + case 2: + return ZSTD; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CompressionCodec> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompressionCodec findValueByNumber(int number) { - return CompressionCodec.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompressionCodec findValueByNumber(int number) { + return CompressionCodec.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDescriptor() + .getEnumTypes() + .get(0); } private static final CompressionCodec[] VALUES = values(); @@ -170,8 +207,7 @@ public CompressionCodec findValueByNumber(int number) { public static CompressionCodec valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -191,32 +227,51 @@ private CompressionCodec(int value) { public static final int BUFFER_COMPRESSION_FIELD_NUMBER = 2; private int bufferCompression_ = 0; /** + * + * *
    * The compression codec to use for Arrow buffers in serialized record
    * batches.
    * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * * @return The enum numeric value on the wire for bufferCompression. */ - @java.lang.Override public int getBufferCompressionValue() { + @java.lang.Override + public int getBufferCompressionValue() { return bufferCompression_; } /** + * + * *
    * The compression codec to use for Arrow buffers in serialized record
    * batches.
    * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * * @return The bufferCompression. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec getBufferCompression() { - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.forNumber(bufferCompression_); - return result == null ? com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec + getBufferCompression() { + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.forNumber( + bufferCompression_); + return result == null + ? com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,9 +283,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (bufferCompression_ != com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.COMPRESSION_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (bufferCompression_ + != com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec + .COMPRESSION_UNSPECIFIED + .getNumber()) { output.writeEnum(2, bufferCompression_); } getUnknownFields().writeTo(output); @@ -242,9 +299,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (bufferCompression_ != com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.COMPRESSION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, bufferCompression_); + if (bufferCompression_ + != com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec + .COMPRESSION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, bufferCompression_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -254,12 +313,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions other = (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) obj; + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions other = + (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) obj; if (bufferCompression_ != other.bufferCompression_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -281,131 +341,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains options specific to Arrow Serialization.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ArrowSerializationOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ArrowSerializationOptions) com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.class, com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder.class); + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.class, + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -415,13 +480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDefaultInstance(); } @@ -436,13 +502,17 @@ public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions buildPartial() { - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions result = new com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions result = + new com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.bufferCompression_ = bufferCompression_; @@ -453,38 +523,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ArrowSerializati public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) other); } else { super.mergeFrom(other); return this; @@ -492,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions other) { - if (other == com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDefaultInstance()) return this; + if (other + == com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDefaultInstance()) + return this; if (other.bufferCompression_ != 0) { setBufferCompressionValue(other.getBufferCompressionValue()); } @@ -522,17 +595,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: { - bufferCompression_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: + { + bufferCompression_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -542,28 +617,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int bufferCompression_ = 0; /** + * + * *
      * The compression codec to use for Arrow buffers in serialized record
      * batches.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * * @return The enum numeric value on the wire for bufferCompression. */ - @java.lang.Override public int getBufferCompressionValue() { + @java.lang.Override + public int getBufferCompressionValue() { return bufferCompression_; } /** + * + * *
      * The compression codec to use for Arrow buffers in serialized record
      * batches.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * * @param value The enum numeric value on the wire for bufferCompression to set. * @return This builder for chaining. */ @@ -574,30 +661,47 @@ public Builder setBufferCompressionValue(int value) { return this; } /** + * + * *
      * The compression codec to use for Arrow buffers in serialized record
      * batches.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * * @return The bufferCompression. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec getBufferCompression() { - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.forNumber(bufferCompression_); - return result == null ? com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.UNRECOGNIZED : result; + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec + getBufferCompression() { + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.forNumber( + bufferCompression_); + return result == null + ? com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec + .UNRECOGNIZED + : result; } /** + * + * *
      * The compression codec to use for Arrow buffers in serialized record
      * batches.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * * @param value The bufferCompression to set. * @return This builder for chaining. */ - public Builder setBufferCompression(com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec value) { + public Builder setBufferCompression( + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec value) { if (value == null) { throw new NullPointerException(); } @@ -607,12 +711,17 @@ public Builder setBufferCompression(com.google.cloud.bigquery.storage.v1.ArrowSe return this; } /** + * + * *
      * The compression codec to use for Arrow buffers in serialized record
      * batches.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * * @return This builder for chaining. */ public Builder clearBufferCompression() { @@ -621,9 +730,9 @@ public Builder clearBufferCompression() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -633,41 +742,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ArrowSerializationOptions) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ArrowSerializationOptions) - private static final com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions(); } - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowSerializationOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowSerializationOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -679,9 +790,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java new file mode 100644 index 0000000000..6bfabb9032 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java @@ -0,0 +1,57 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/arrow.proto + +package com.google.cloud.bigquery.storage.v1; + +public interface ArrowSerializationOptionsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ArrowSerializationOptions) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The compression codec to use for Arrow buffers in serialized record
+   * batches.
+   * 
+ * + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * + * @return The enum numeric value on the wire for bufferCompression. + */ + int getBufferCompressionValue(); + /** + * + * + *
+   * The compression codec to use for Arrow buffers in serialized record
+   * batches.
+   * 
+ * + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; + * + * + * @return The bufferCompression. + */ + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec + getBufferCompression(); +} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroProto.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroProto.java new file mode 100644 index 0000000000..ac003f9434 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroProto.java @@ -0,0 +1,93 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/avro.proto + +package com.google.cloud.bigquery.storage.v1; + +public final class AvroProto { + private AvroProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n+google/cloud/bigquery/storage/v1/avro." + + "proto\022 google.cloud.bigquery.storage.v1\"" + + "\034\n\nAvroSchema\022\016\n\006schema\030\001 \001(\t\"A\n\010AvroRow" + + "s\022\036\n\026serialized_binary_rows\030\001 \001(\014\022\025\n\trow" + + "_count\030\002 \001(\003B\002\030\001\"A\n\030AvroSerializationOpt" + + "ions\022%\n\035enable_display_name_attribute\030\001 " + + "\001(\010B\271\001\n$com.google.cloud.bigquery.storag" + + "e.v1B\tAvroProtoP\001Z>cloud.google.com/go/b" + + "igquery/storage/apiv1/storagepb;storagep" + + "b\252\002 Google.Cloud.BigQuery.Storage.V1\312\002 G" + + "oogle\\Cloud\\BigQuery\\Storage\\V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor, + new java.lang.String[] { + "Schema", + }); + internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor, + new java.lang.String[] { + "SerializedBinaryRows", "RowCount", + }); + internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor, + new java.lang.String[] { + "EnableDisplayNameAttribute", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRows.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRows.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRows.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRows.java index 3149b68417..1233e7d8fc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRows.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRows.java @@ -1,56 +1,79 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/avro.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Avro rows.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AvroRows} */ -public final class AvroRows extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AvroRows extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.AvroRows) AvroRowsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvroRows.newBuilder() to construct. private AvroRows(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AvroRows() { serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AvroRows(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AvroRows.class, com.google.cloud.bigquery.storage.v1.AvroRows.Builder.class); + com.google.cloud.bigquery.storage.v1.AvroRows.class, + com.google.cloud.bigquery.storage.v1.AvroRows.Builder.class); } public static final int SERIALIZED_BINARY_ROWS_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedBinaryRows_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * Binary serialized rows in a block.
    * 
* * bytes serialized_binary_rows = 1; + * * @return The serializedBinaryRows. */ @java.lang.Override @@ -61,22 +84,27 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_ = 0L; /** + * + * *
    * [Deprecated] The count of rows in the returning block.
    * Please use the format-independent ReadRowsResponse.row_count instead.
    * 
* * int64 row_count = 2 [deprecated = true]; - * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. - * See google/cloud/bigquery/storage/v1/avro.proto;l=39 + * + * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See + * google/cloud/bigquery/storage/v1/avro.proto;l=39 * @return The rowCount. */ @java.lang.Override - @java.lang.Deprecated public long getRowCount() { + @java.lang.Deprecated + public long getRowCount() { return rowCount_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -88,8 +116,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!serializedBinaryRows_.isEmpty()) { output.writeBytes(1, serializedBinaryRows_); } @@ -106,12 +133,10 @@ public int getSerializedSize() { size = 0; if (!serializedBinaryRows_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, serializedBinaryRows_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, serializedBinaryRows_); } if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, rowCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,17 +146,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.AvroRows)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.AvroRows other = (com.google.cloud.bigquery.storage.v1.AvroRows) obj; + com.google.cloud.bigquery.storage.v1.AvroRows other = + (com.google.cloud.bigquery.storage.v1.AvroRows) obj; - if (!getSerializedBinaryRows() - .equals(other.getSerializedBinaryRows())) return false; - if (getRowCount() - != other.getRowCount()) return false; + if (!getSerializedBinaryRows().equals(other.getSerializedBinaryRows())) return false; + if (getRowCount() != other.getRowCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -146,139 +170,142 @@ public int hashCode() { hash = (37 * hash) + SERIALIZED_BINARY_ROWS_FIELD_NUMBER; hash = (53 * hash) + getSerializedBinaryRows().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroRows parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.AvroRows parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.AvroRows parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.AvroRows prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Avro rows.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AvroRows} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.AvroRows) com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AvroRows.class, com.google.cloud.bigquery.storage.v1.AvroRows.Builder.class); + com.google.cloud.bigquery.storage.v1.AvroRows.class, + com.google.cloud.bigquery.storage.v1.AvroRows.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.AvroRows.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor; } @java.lang.Override @@ -310,8 +337,11 @@ public com.google.cloud.bigquery.storage.v1.AvroRows build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.AvroRows buildPartial() { - com.google.cloud.bigquery.storage.v1.AvroRows result = new com.google.cloud.bigquery.storage.v1.AvroRows(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.AvroRows result = + new com.google.cloud.bigquery.storage.v1.AvroRows(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +360,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.AvroRows result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.AvroRows) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.AvroRows)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.AvroRows) other); } else { super.mergeFrom(other); return this; @@ -402,22 +433,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - serializedBinaryRows_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + serializedBinaryRows_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -427,15 +461,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.ByteString serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedBinaryRows_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; + * * @return The serializedBinaryRows. */ @java.lang.Override @@ -443,27 +482,35 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { return serializedBinaryRows_; } /** + * + * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; + * * @param value The serializedBinaryRows to set. * @return This builder for chaining. */ public Builder setSerializedBinaryRows(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } serializedBinaryRows_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; + * * @return This builder for chaining. */ public Builder clearSerializedBinaryRows() { @@ -473,35 +520,43 @@ public Builder clearSerializedBinaryRows() { return this; } - private long rowCount_ ; + private long rowCount_; /** + * + * *
      * [Deprecated] The count of rows in the returning block.
      * Please use the format-independent ReadRowsResponse.row_count instead.
      * 
* * int64 row_count = 2 [deprecated = true]; - * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. - * See google/cloud/bigquery/storage/v1/avro.proto;l=39 + * + * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See + * google/cloud/bigquery/storage/v1/avro.proto;l=39 * @return The rowCount. */ @java.lang.Override - @java.lang.Deprecated public long getRowCount() { + @java.lang.Deprecated + public long getRowCount() { return rowCount_; } /** + * + * *
      * [Deprecated] The count of rows in the returning block.
      * Please use the format-independent ReadRowsResponse.row_count instead.
      * 
* * int64 row_count = 2 [deprecated = true]; - * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. - * See google/cloud/bigquery/storage/v1/avro.proto;l=39 + * + * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See + * google/cloud/bigquery/storage/v1/avro.proto;l=39 * @param value The rowCount to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setRowCount(long value) { + @java.lang.Deprecated + public Builder setRowCount(long value) { rowCount_ = value; bitField0_ |= 0x00000002; @@ -509,25 +564,29 @@ public Builder clearSerializedBinaryRows() { return this; } /** + * + * *
      * [Deprecated] The count of rows in the returning block.
      * Please use the format-independent ReadRowsResponse.row_count instead.
      * 
* * int64 row_count = 2 [deprecated = true]; - * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. - * See google/cloud/bigquery/storage/v1/avro.proto;l=39 + * + * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See + * google/cloud/bigquery/storage/v1/avro.proto;l=39 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearRowCount() { + @java.lang.Deprecated + public Builder clearRowCount() { bitField0_ = (bitField0_ & ~0x00000002); rowCount_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -537,12 +596,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.AvroRows) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.AvroRows) private static final com.google.cloud.bigquery.storage.v1.AvroRows DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.AvroRows(); } @@ -551,27 +610,27 @@ public static com.google.cloud.bigquery.storage.v1.AvroRows getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroRows parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroRows parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -586,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.AvroRows getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRowsOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRowsOrBuilder.java similarity index 51% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRowsOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRowsOrBuilder.java index 6b1dfa720c..3879b82f50 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRowsOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRowsOrBuilder.java @@ -1,32 +1,55 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/avro.proto package com.google.cloud.bigquery.storage.v1; -public interface AvroRowsOrBuilder extends +public interface AvroRowsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.AvroRows) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Binary serialized rows in a block.
    * 
* * bytes serialized_binary_rows = 1; + * * @return The serializedBinaryRows. */ com.google.protobuf.ByteString getSerializedBinaryRows(); /** + * + * *
    * [Deprecated] The count of rows in the returning block.
    * Please use the format-independent ReadRowsResponse.row_count instead.
    * 
* * int64 row_count = 2 [deprecated = true]; - * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. - * See google/cloud/bigquery/storage/v1/avro.proto;l=39 + * + * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See + * google/cloud/bigquery/storage/v1/avro.proto;l=39 * @return The rowCount. */ - @java.lang.Deprecated long getRowCount(); + @java.lang.Deprecated + long getRowCount(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java index 4467d3d389..40c435382f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java @@ -1,58 +1,81 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/avro.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Avro schema.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AvroSchema} */ -public final class AvroSchema extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AvroSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.AvroSchema) AvroSchemaOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvroSchema.newBuilder() to construct. private AvroSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AvroSchema() { schema_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AvroSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AvroSchema.class, com.google.cloud.bigquery.storage.v1.AvroSchema.Builder.class); + com.google.cloud.bigquery.storage.v1.AvroSchema.class, + com.google.cloud.bigquery.storage.v1.AvroSchema.Builder.class); } public static final int SCHEMA_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object schema_ = ""; /** + * + * *
    * Json serialized schema, as described at
    * https://avro.apache.org/docs/1.8.1/spec.html.
    * 
* * string schema = 1; + * * @return The schema. */ @java.lang.Override @@ -61,30 +84,30 @@ public java.lang.String getSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; } } /** + * + * *
    * Json serialized schema, as described at
    * https://avro.apache.org/docs/1.8.1/spec.html.
    * 
* * string schema = 1; + * * @return The bytes for schema. */ @java.lang.Override - public com.google.protobuf.ByteString - getSchemaBytes() { + public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schema_ = b; return b; } else { @@ -93,6 +116,7 @@ public java.lang.String getSchema() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +128,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); } @@ -129,15 +152,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.AvroSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.AvroSchema other = (com.google.cloud.bigquery.storage.v1.AvroSchema) obj; + com.google.cloud.bigquery.storage.v1.AvroSchema other = + (com.google.cloud.bigquery.storage.v1.AvroSchema) obj; - if (!getSchema() - .equals(other.getSchema())) return false; + if (!getSchema().equals(other.getSchema())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +179,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.AvroSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.AvroSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.AvroSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Avro schema.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AvroSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.AvroSchema) com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AvroSchema.class, com.google.cloud.bigquery.storage.v1.AvroSchema.Builder.class); + com.google.cloud.bigquery.storage.v1.AvroSchema.class, + com.google.cloud.bigquery.storage.v1.AvroSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.AvroSchema.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +318,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor; } @java.lang.Override @@ -312,8 +339,11 @@ public com.google.cloud.bigquery.storage.v1.AvroSchema build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.AvroSchema buildPartial() { - com.google.cloud.bigquery.storage.v1.AvroSchema result = new com.google.cloud.bigquery.storage.v1.AvroSchema(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.AvroSchema result = + new com.google.cloud.bigquery.storage.v1.AvroSchema(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +359,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.AvroSchema resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.AvroSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSchema)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSchema) other); } else { super.mergeFrom(other); return this; @@ -368,7 +399,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AvroSchema other) { - if (other == com.google.cloud.bigquery.storage.v1.AvroSchema.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.AvroSchema.getDefaultInstance()) + return this; if (!other.getSchema().isEmpty()) { schema_ = other.schema_; bitField0_ |= 0x00000001; @@ -400,17 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - schema_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + schema_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +454,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object schema_ = ""; /** + * + * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; + * * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; @@ -445,21 +482,22 @@ public java.lang.String getSchema() { } } /** + * + * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; + * * @return The bytes for schema. */ - public com.google.protobuf.ByteString - getSchemaBytes() { + public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schema_ = b; return b; } else { @@ -467,30 +505,37 @@ public java.lang.String getSchema() { } } /** + * + * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; + * * @param value The schema to set. * @return This builder for chaining. */ - public Builder setSchema( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSchema(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } schema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; + * * @return This builder for chaining. */ public Builder clearSchema() { @@ -500,27 +545,31 @@ public Builder clearSchema() { return this; } /** + * + * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; + * * @param value The bytes for schema to set. * @return This builder for chaining. */ - public Builder setSchemaBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSchemaBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); schema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +579,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.AvroSchema) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.AvroSchema) private static final com.google.cloud.bigquery.storage.v1.AvroSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.AvroSchema(); } @@ -544,27 +593,27 @@ public static com.google.cloud.bigquery.storage.v1.AvroSchema getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +628,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.AvroSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchemaOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchemaOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchemaOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchemaOrBuilder.java index b8b182d60c..b9973f9788 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchemaOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchemaOrBuilder.java @@ -1,31 +1,52 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/avro.proto package com.google.cloud.bigquery.storage.v1; -public interface AvroSchemaOrBuilder extends +public interface AvroSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.AvroSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Json serialized schema, as described at
    * https://avro.apache.org/docs/1.8.1/spec.html.
    * 
* * string schema = 1; + * * @return The schema. */ java.lang.String getSchema(); /** + * + * *
    * Json serialized schema, as described at
    * https://avro.apache.org/docs/1.8.1/spec.html.
    * 
* * string schema = 1; + * * @return The bytes for schema. */ - com.google.protobuf.ByteString - getSchemaBytes(); + com.google.protobuf.ByteString getSchemaBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptions.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptions.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptions.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptions.java index 51e6dbbcc1..2e2f7db7b2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptions.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptions.java @@ -1,50 +1,70 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/avro.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Contains options specific to Avro Serialization.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AvroSerializationOptions} */ -public final class AvroSerializationOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AvroSerializationOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.AvroSerializationOptions) AvroSerializationOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvroSerializationOptions.newBuilder() to construct. private AvroSerializationOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AvroSerializationOptions() { - } + + private AvroSerializationOptions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AvroSerializationOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.class, com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder.class); + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.class, + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder.class); } public static final int ENABLE_DISPLAY_NAME_ATTRIBUTE_FIELD_NUMBER = 1; private boolean enableDisplayNameAttribute_ = false; /** + * + * *
    * Enable displayName attribute in Avro schema.
    *
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * bool enable_display_name_attribute = 1; + * * @return The enableDisplayNameAttribute. */ @java.lang.Override @@ -67,6 +88,7 @@ public boolean getEnableDisplayNameAttribute() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,8 +100,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enableDisplayNameAttribute_ != false) { output.writeBool(1, enableDisplayNameAttribute_); } @@ -93,8 +114,7 @@ public int getSerializedSize() { size = 0; if (enableDisplayNameAttribute_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enableDisplayNameAttribute_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableDisplayNameAttribute_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -104,15 +124,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.AvroSerializationOptions)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions other = (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) obj; + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions other = + (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) obj; - if (getEnableDisplayNameAttribute() - != other.getEnableDisplayNameAttribute()) return false; + if (getEnableDisplayNameAttribute() != other.getEnableDisplayNameAttribute()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -125,139 +145,143 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_DISPLAY_NAME_ATTRIBUTE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableDisplayNameAttribute()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableDisplayNameAttribute()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.AvroSerializationOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains options specific to Avro Serialization.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AvroSerializationOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.AvroSerializationOptions) com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.class, com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder.class); + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.class, + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -267,13 +291,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance(); } @@ -288,13 +313,17 @@ public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions buildPartial() { - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions result = new com.google.cloud.bigquery.storage.v1.AvroSerializationOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions result = + new com.google.cloud.bigquery.storage.v1.AvroSerializationOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1.AvroSerializationOptions result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.enableDisplayNameAttribute_ = enableDisplayNameAttribute_; @@ -305,38 +334,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.AvroSerializatio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSerializationOptions)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) other); } else { super.mergeFrom(other); return this; @@ -344,7 +374,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AvroSerializationOptions other) { - if (other == com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance()) return this; + if (other + == com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance()) + return this; if (other.getEnableDisplayNameAttribute() != false) { setEnableDisplayNameAttribute(other.getEnableDisplayNameAttribute()); } @@ -374,17 +406,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enableDisplayNameAttribute_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enableDisplayNameAttribute_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -394,10 +428,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean enableDisplayNameAttribute_ ; + private boolean enableDisplayNameAttribute_; /** + * + * *
      * Enable displayName attribute in Avro schema.
      *
@@ -412,6 +449,7 @@ public Builder mergeFrom(
      * 
* * bool enable_display_name_attribute = 1; + * * @return The enableDisplayNameAttribute. */ @java.lang.Override @@ -419,6 +457,8 @@ public boolean getEnableDisplayNameAttribute() { return enableDisplayNameAttribute_; } /** + * + * *
      * Enable displayName attribute in Avro schema.
      *
@@ -433,6 +473,7 @@ public boolean getEnableDisplayNameAttribute() {
      * 
* * bool enable_display_name_attribute = 1; + * * @param value The enableDisplayNameAttribute to set. * @return This builder for chaining. */ @@ -444,6 +485,8 @@ public Builder setEnableDisplayNameAttribute(boolean value) { return this; } /** + * + * *
      * Enable displayName attribute in Avro schema.
      *
@@ -458,6 +501,7 @@ public Builder setEnableDisplayNameAttribute(boolean value) {
      * 
* * bool enable_display_name_attribute = 1; + * * @return This builder for chaining. */ public Builder clearEnableDisplayNameAttribute() { @@ -466,9 +510,9 @@ public Builder clearEnableDisplayNameAttribute() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -478,12 +522,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.AvroSerializationOptions) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.AvroSerializationOptions) - private static final com.google.cloud.bigquery.storage.v1.AvroSerializationOptions DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1.AvroSerializationOptions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.AvroSerializationOptions(); } @@ -492,27 +537,27 @@ public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroSerializationOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroSerializationOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -527,6 +572,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptionsOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptionsOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptionsOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptionsOrBuilder.java index 3ea6cc18ff..f20cb307d7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptionsOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptionsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/avro.proto package com.google.cloud.bigquery.storage.v1; -public interface AvroSerializationOptionsOrBuilder extends +public interface AvroSerializationOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.AvroSerializationOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Enable displayName attribute in Avro schema.
    *
@@ -22,6 +40,7 @@ public interface AvroSerializationOptionsOrBuilder extends
    * 
* * bool enable_display_name_attribute = 1; + * * @return The enableDisplayNameAttribute. */ boolean getEnableDisplayNameAttribute(); diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequest.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequest.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequest.java index ac023796c3..d4a0b7f526 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequest.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequest.java @@ -1,60 +1,85 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Request message for `BatchCommitWriteStreams`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest} */ -public final class BatchCommitWriteStreamsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCommitWriteStreamsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) BatchCommitWriteStreamsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCommitWriteStreamsRequest.newBuilder() to construct. - private BatchCommitWriteStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchCommitWriteStreamsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCommitWriteStreamsRequest() { parent_ = ""; - writeStreams_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCommitWriteStreamsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.class, com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.class, + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent table that all the streams should belong to, in the form
    * of `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,30 +88,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Parent table that all the streams should belong to, in the form
    * of `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -95,38 +122,47 @@ public java.lang.String getParent() { } public static final int WRITE_STREAMS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the writeStreams. */ - public com.google.protobuf.ProtocolStringList - getWriteStreamsList() { + public com.google.protobuf.ProtocolStringList getWriteStreamsList() { return writeStreams_; } /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of writeStreams. */ public int getWriteStreamsCount() { return writeStreams_.size(); } /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The writeStreams at the given index. */ @@ -134,20 +170,23 @@ public java.lang.String getWriteStreams(int index) { return writeStreams_.get(index); } /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the writeStreams at the given index. */ - public com.google.protobuf.ByteString - getWriteStreamsBytes(int index) { + public com.google.protobuf.ByteString getWriteStreamsBytes(int index) { return writeStreams_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,8 +198,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -195,17 +233,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest other = (com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) obj; + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest other = + (com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getWriteStreamsList() - .equals(other.getWriteStreamsList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getWriteStreamsList().equals(other.getWriteStreamsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -229,150 +266,158 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `BatchCommitWriteStreams`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.class, com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.class, + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; parent_ = ""; - writeStreams_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest + .getDefaultInstance(); } @java.lang.Override @@ -386,13 +431,17 @@ public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest build @java.lang.Override public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest buildPartial() { - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest result = new com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest result = + new com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -407,46 +456,51 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.BatchCommitWrite public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest other) { - if (other == com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest other) { + if (other + == com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -488,23 +542,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureWriteStreamsIsMutable(); - writeStreams_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureWriteStreamsIsMutable(); + writeStreams_.add(s); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -514,23 +571,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent table that all the streams should belong to, in the form
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -539,21 +601,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent table that all the streams should belong to, in the form
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -561,30 +626,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent table that all the streams should belong to, in the form
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent table that all the streams should belong to, in the form
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -594,18 +670,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent table that all the streams should belong to, in the form
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -615,6 +697,7 @@ public Builder setParentBytes( private com.google.protobuf.LazyStringArrayList writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureWriteStreamsIsMutable() { if (!writeStreams_.isModifiable()) { writeStreams_ = new com.google.protobuf.LazyStringArrayList(writeStreams_); @@ -622,35 +705,43 @@ private void ensureWriteStreamsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the writeStreams. */ - public com.google.protobuf.ProtocolStringList - getWriteStreamsList() { + public com.google.protobuf.ProtocolStringList getWriteStreamsList() { writeStreams_.makeImmutable(); return writeStreams_; } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of writeStreams. */ public int getWriteStreamsCount() { return writeStreams_.size(); } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The writeStreams at the given index. */ @@ -658,31 +749,37 @@ public java.lang.String getWriteStreams(int index) { return writeStreams_.get(index); } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the writeStreams at the given index. */ - public com.google.protobuf.ByteString - getWriteStreamsBytes(int index) { + public com.google.protobuf.ByteString getWriteStreamsBytes(int index) { return writeStreams_.getByteString(index); } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The writeStreams to set. * @return This builder for chaining. */ - public Builder setWriteStreams( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteStreams(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureWriteStreamsIsMutable(); writeStreams_.set(index, value); bitField0_ |= 0x00000002; @@ -690,17 +787,21 @@ public Builder setWriteStreams( return this; } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The writeStreams to add. * @return This builder for chaining. */ - public Builder addWriteStreams( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addWriteStreams(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureWriteStreamsIsMutable(); writeStreams_.add(value); bitField0_ |= 0x00000002; @@ -708,50 +809,58 @@ public Builder addWriteStreams( return this; } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The writeStreams to add. * @return This builder for chaining. */ - public Builder addAllWriteStreams( - java.lang.Iterable values) { + public Builder addAllWriteStreams(java.lang.Iterable values) { ensureWriteStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, writeStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeStreams_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearWriteStreams() { - writeStreams_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the writeStreams to add. * @return This builder for chaining. */ - public Builder addWriteStreamsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addWriteStreamsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureWriteStreamsIsMutable(); writeStreams_.add(value); @@ -759,9 +868,9 @@ public Builder addWriteStreamsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -771,41 +880,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) - private static final com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest(); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCommitWriteStreamsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCommitWriteStreamsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -817,9 +928,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequestOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequestOrBuilder.java index cb637c7188..247810bdbf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequestOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequestOrBuilder.java @@ -1,72 +1,107 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; -public interface BatchCommitWriteStreamsRequestOrBuilder extends +public interface BatchCommitWriteStreamsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent table that all the streams should belong to, in the form
    * of `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Parent table that all the streams should belong to, in the form
    * of `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the writeStreams. */ - java.util.List - getWriteStreamsList(); + java.util.List getWriteStreamsList(); /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of writeStreams. */ int getWriteStreamsCount(); /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The writeStreams at the given index. */ java.lang.String getWriteStreams(int index); /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the writeStreams at the given index. */ - com.google.protobuf.ByteString - getWriteStreamsBytes(int index); + com.google.protobuf.ByteString getWriteStreamsBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponse.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponse.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponse.java index 70b87e4405..32376a1fb1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponse.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponse.java @@ -1,51 +1,73 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Response message for `BatchCommitWriteStreams`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse} */ -public final class BatchCommitWriteStreamsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCommitWriteStreamsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse) BatchCommitWriteStreamsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCommitWriteStreamsResponse.newBuilder() to construct. - private BatchCommitWriteStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchCommitWriteStreamsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCommitWriteStreamsResponse() { streamErrors_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCommitWriteStreamsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.class, com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.class, + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.Builder.class); } public static final int COMMIT_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp commitTime_; /** + * + * *
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -53,6 +75,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -60,6 +83,8 @@ public boolean hasCommitTime() { return commitTime_ != null; } /** + * + * *
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -67,6 +92,7 @@ public boolean hasCommitTime() {
    * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return The commitTime. */ @java.lang.Override @@ -74,6 +100,8 @@ public com.google.protobuf.Timestamp getCommitTime() { return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } /** + * + * *
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -88,9 +116,12 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   }
 
   public static final int STREAM_ERRORS_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private java.util.List streamErrors_;
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -106,6 +137,8 @@ public java.util.List getStre
     return streamErrors_;
   }
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -117,11 +150,13 @@ public java.util.List getStre
    * repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getStreamErrorsOrBuilderList() {
     return streamErrors_;
   }
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -137,6 +172,8 @@ public int getStreamErrorsCount() {
     return streamErrors_.size();
   }
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -152,6 +189,8 @@ public com.google.cloud.bigquery.storage.v1.StorageError getStreamErrors(int ind
     return streamErrors_.get(index);
   }
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -169,6 +208,7 @@ public com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder getStreamError
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -180,8 +220,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (commitTime_ != null) {
       output.writeMessage(1, getCommitTime());
     }
@@ -198,12 +237,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (commitTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getCommitTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommitTime());
     }
     for (int i = 0; i < streamErrors_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, streamErrors_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, streamErrors_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -213,20 +250,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse other = (com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse) obj;
+    com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse other =
+        (com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse) obj;
 
     if (hasCommitTime() != other.hasCommitTime()) return false;
     if (hasCommitTime()) {
-      if (!getCommitTime()
-          .equals(other.getCommitTime())) return false;
+      if (!getCommitTime().equals(other.getCommitTime())) return false;
     }
-    if (!getStreamErrorsList()
-        .equals(other.getStreamErrorsList())) return false;
+    if (!getStreamErrorsList().equals(other.getStreamErrorsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -252,131 +288,138 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
-  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse
+      parseDelimitedFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Response message for `BatchCommitWriteStreams`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse) com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.class, com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.class, + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -397,14 +440,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse + .getDefaultInstance(); } @java.lang.Override @@ -418,14 +463,18 @@ public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse buil @java.lang.Override public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse buildPartial() { - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse result = new com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse(this); + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse result = + new com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse result) { if (streamErrorsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { streamErrors_ = java.util.Collections.unmodifiableList(streamErrors_); @@ -437,12 +486,11 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1.Bat } } - private void buildPartial0(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null - ? commitTime_ - : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); } } @@ -450,46 +498,51 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.BatchCommitWrite public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse)other); + return mergeFrom( + (com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse other) { - if (other == com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse other) { + if (other + == com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse + .getDefaultInstance()) return this; if (other.hasCommitTime()) { mergeCommitTime(other.getCommitTime()); } @@ -511,9 +564,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.BatchCommitWriteSt streamErrorsBuilder_ = null; streamErrors_ = other.streamErrors_; bitField0_ = (bitField0_ & ~0x00000002); - streamErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStreamErrorsFieldBuilder() : null; + streamErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStreamErrorsFieldBuilder() + : null; } else { streamErrorsBuilder_.addAllMessages(other.streamErrors_); } @@ -545,32 +599,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCommitTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.cloud.bigquery.storage.v1.StorageError m = - input.readMessage( - com.google.cloud.bigquery.storage.v1.StorageError.parser(), - extensionRegistry); - if (streamErrorsBuilder_ == null) { - ensureStreamErrorsIsMutable(); - streamErrors_.add(m); - } else { - streamErrorsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.bigquery.storage.v1.StorageError m = + input.readMessage( + com.google.cloud.bigquery.storage.v1.StorageError.parser(), + extensionRegistry); + if (streamErrorsBuilder_ == null) { + ensureStreamErrorsIsMutable(); + streamErrors_.add(m); + } else { + streamErrorsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -580,12 +635,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp commitTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + commitTimeBuilder_; /** + * + * *
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -593,12 +654,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -606,16 +670,21 @@ public boolean hasCommitTime() {
      * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return The commitTime. */ public com.google.protobuf.Timestamp getCommitTime() { if (commitTimeBuilder_ == null) { - return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; + return commitTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTime_; } else { return commitTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -638,6 +707,8 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -646,8 +717,7 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp commit_time = 1;
      */
-    public Builder setCommitTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (commitTimeBuilder_ == null) {
         commitTime_ = builderForValue.build();
       } else {
@@ -658,6 +728,8 @@ public Builder setCommitTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -668,9 +740,9 @@ public Builder setCommitTime(
      */
     public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       if (commitTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          commitTime_ != null &&
-          commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && commitTime_ != null
+            && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCommitTimeBuilder().mergeFrom(value);
         } else {
           commitTime_ = value;
@@ -683,6 +755,8 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -702,6 +776,8 @@ public Builder clearCommitTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -716,6 +792,8 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
       return getCommitTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -728,11 +806,14 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
       if (commitTimeBuilder_ != null) {
         return commitTimeBuilder_.getMessageOrBuilder();
       } else {
-        return commitTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_;
+        return commitTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : commitTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -742,32 +823,43 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
      * .google.protobuf.Timestamp commit_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getCommitTimeFieldBuilder() {
       if (commitTimeBuilder_ == null) {
-        commitTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getCommitTime(),
-                getParentForChildren(),
-                isClean());
+        commitTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getCommitTime(), getParentForChildren(), isClean());
         commitTime_ = null;
       }
       return commitTimeBuilder_;
     }
 
     private java.util.List streamErrors_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureStreamErrorsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        streamErrors_ = new java.util.ArrayList(streamErrors_);
+        streamErrors_ =
+            new java.util.ArrayList(
+                streamErrors_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1.StorageError, com.google.cloud.bigquery.storage.v1.StorageError.Builder, com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder> streamErrorsBuilder_;
+            com.google.cloud.bigquery.storage.v1.StorageError,
+            com.google.cloud.bigquery.storage.v1.StorageError.Builder,
+            com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder>
+        streamErrorsBuilder_;
 
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -786,6 +878,8 @@ public java.util.List getStre
       }
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -804,6 +898,8 @@ public int getStreamErrorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -822,6 +918,8 @@ public com.google.cloud.bigquery.storage.v1.StorageError getStreamErrors(int ind
       }
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -847,6 +945,8 @@ public Builder setStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -869,6 +969,8 @@ public Builder setStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -893,6 +995,8 @@ public Builder addStreamErrors(com.google.cloud.bigquery.storage.v1.StorageError
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -918,6 +1022,8 @@ public Builder addStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -940,6 +1046,8 @@ public Builder addStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -962,6 +1070,8 @@ public Builder addStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -976,8 +1086,7 @@ public Builder addAllStreamErrors(
         java.lang.Iterable values) {
       if (streamErrorsBuilder_ == null) {
         ensureStreamErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, streamErrors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, streamErrors_);
         onChanged();
       } else {
         streamErrorsBuilder_.addAllMessages(values);
@@ -985,6 +1094,8 @@ public Builder addAllStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1006,6 +1117,8 @@ public Builder clearStreamErrors() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1027,6 +1140,8 @@ public Builder removeStreamErrors(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1042,6 +1157,8 @@ public com.google.cloud.bigquery.storage.v1.StorageError.Builder getStreamErrors
       return getStreamErrorsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1055,11 +1172,14 @@ public com.google.cloud.bigquery.storage.v1.StorageError.Builder getStreamErrors
     public com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder getStreamErrorsOrBuilder(
         int index) {
       if (streamErrorsBuilder_ == null) {
-        return streamErrors_.get(index);  } else {
+        return streamErrors_.get(index);
+      } else {
         return streamErrorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1070,8 +1190,8 @@ public com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder getStreamError
      *
      * repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
      */
-    public java.util.List 
-         getStreamErrorsOrBuilderList() {
+    public java.util.List
+        getStreamErrorsOrBuilderList() {
       if (streamErrorsBuilder_ != null) {
         return streamErrorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1079,6 +1199,8 @@ public com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder getStreamError
       }
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1090,10 +1212,12 @@ public com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder getStreamError
      * repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
      */
     public com.google.cloud.bigquery.storage.v1.StorageError.Builder addStreamErrorsBuilder() {
-      return getStreamErrorsFieldBuilder().addBuilder(
-          com.google.cloud.bigquery.storage.v1.StorageError.getDefaultInstance());
+      return getStreamErrorsFieldBuilder()
+          .addBuilder(com.google.cloud.bigquery.storage.v1.StorageError.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1106,10 +1230,13 @@ public com.google.cloud.bigquery.storage.v1.StorageError.Builder addStreamErrors
      */
     public com.google.cloud.bigquery.storage.v1.StorageError.Builder addStreamErrorsBuilder(
         int index) {
-      return getStreamErrorsFieldBuilder().addBuilder(
-          index, com.google.cloud.bigquery.storage.v1.StorageError.getDefaultInstance());
+      return getStreamErrorsFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.bigquery.storage.v1.StorageError.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1120,27 +1247,30 @@ public com.google.cloud.bigquery.storage.v1.StorageError.Builder addStreamErrors
      *
      * repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
      */
-    public java.util.List 
-         getStreamErrorsBuilderList() {
+    public java.util.List
+        getStreamErrorsBuilderList() {
       return getStreamErrorsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1.StorageError, com.google.cloud.bigquery.storage.v1.StorageError.Builder, com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder> 
+            com.google.cloud.bigquery.storage.v1.StorageError,
+            com.google.cloud.bigquery.storage.v1.StorageError.Builder,
+            com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder>
         getStreamErrorsFieldBuilder() {
       if (streamErrorsBuilder_ == null) {
-        streamErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1.StorageError, com.google.cloud.bigquery.storage.v1.StorageError.Builder, com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder>(
-                streamErrors_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        streamErrorsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.bigquery.storage.v1.StorageError,
+                com.google.cloud.bigquery.storage.v1.StorageError.Builder,
+                com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder>(
+                streamErrors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         streamErrors_ = null;
       }
       return streamErrorsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1150,41 +1280,43 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse)
-  private static final com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse DEFAULT_INSTANCE;
+  private static final com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse();
   }
 
-  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse getDefaultInstance() {
+  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchCommitWriteStreamsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchCommitWriteStreamsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1196,9 +1328,8 @@ public com.google.protobuf.Parser getParserForT
   }
 
   @java.lang.Override
-  public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse getDefaultInstanceForType() {
+  public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponseOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponseOrBuilder.java
similarity index 82%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponseOrBuilder.java
rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponseOrBuilder.java
index 0d818a5b0f..0b5fb2019a 100644
--- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponseOrBuilder.java
+++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1/storage.proto
 
 package com.google.cloud.bigquery.storage.v1;
 
-public interface BatchCommitWriteStreamsResponseOrBuilder extends
+public interface BatchCommitWriteStreamsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -15,10 +33,13 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
    * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** + * + * *
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -26,10 +47,13 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
    * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** + * + * *
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -41,6 +65,8 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -51,9 +77,10 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
    *
    * repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
    */
-  java.util.List 
-      getStreamErrorsList();
+  java.util.List getStreamErrorsList();
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -66,6 +93,8 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
    */
   com.google.cloud.bigquery.storage.v1.StorageError getStreamErrors(int index);
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -78,6 +107,8 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
    */
   int getStreamErrorsCount();
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -88,9 +119,11 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
    *
    * repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
    */
-  java.util.List 
+  java.util.List
       getStreamErrorsOrBuilderList();
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -101,6 +134,5 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
    *
    * repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
    */
-  com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder getStreamErrorsOrBuilder(
-      int index);
+  com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder getStreamErrorsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java
similarity index 66%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java
rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java
index d803649dd7..b49b840964 100644
--- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java
+++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java
@@ -1,58 +1,83 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1/storage.proto
 
 package com.google.cloud.bigquery.storage.v1;
 
 /**
+ *
+ *
  * 
  * Request message for `CreateReadSession`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.CreateReadSessionRequest} */ -public final class CreateReadSessionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateReadSessionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.CreateReadSessionRequest) CreateReadSessionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateReadSessionRequest.newBuilder() to construct. private CreateReadSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateReadSessionRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateReadSessionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.class, com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.class, + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The request project that owns the session, in the form of
    * `projects/{project_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -61,30 +86,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The request project that owns the session, in the form of
    * `projects/{project_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -95,11 +122,16 @@ public java.lang.String getParent() { public static final int READ_SESSION_FIELD_NUMBER = 2; private com.google.cloud.bigquery.storage.v1.ReadSession readSession_; /** + * + * *
    * Required. Session to be created.
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the readSession field is set. */ @java.lang.Override @@ -107,32 +139,47 @@ public boolean hasReadSession() { return readSession_ != null; } /** + * + * *
    * Required. Session to be created.
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The readSession. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSession getReadSession() { - return readSession_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() : readSession_; + return readSession_ == null + ? com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() + : readSession_; } /** + * + * *
    * Required. Session to be created.
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionOrBuilder() { - return readSession_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() : readSession_; + return readSession_ == null + ? com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() + : readSession_; } public static final int MAX_STREAM_COUNT_FIELD_NUMBER = 3; private int maxStreamCount_ = 0; /** + * + * *
    * Max initial number of streams. If unset or zero, the server will
    * provide a value of streams so as to produce reasonable throughput. Must be
@@ -147,6 +194,7 @@ public com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionO
    * 
* * int32 max_stream_count = 3; + * * @return The maxStreamCount. */ @java.lang.Override @@ -157,6 +205,8 @@ public int getMaxStreamCount() { public static final int PREFERRED_MIN_STREAM_COUNT_FIELD_NUMBER = 4; private int preferredMinStreamCount_ = 0; /** + * + * *
    * The minimum preferred stream count. This parameter can be used to inform
    * the service that there is a desired lower bound on the number of streams.
@@ -169,6 +219,7 @@ public int getMaxStreamCount() {
    * 
* * int32 preferred_min_stream_count = 4; + * * @return The preferredMinStreamCount. */ @java.lang.Override @@ -177,6 +228,7 @@ public int getPreferredMinStreamCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,8 +240,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -215,16 +266,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readSession_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadSession()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadSession()); } if (maxStreamCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxStreamCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxStreamCount_); } if (preferredMinStreamCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, preferredMinStreamCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, preferredMinStreamCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -234,24 +282,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest other = (com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest) obj; + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest other = + (com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasReadSession() != other.hasReadSession()) return false; if (hasReadSession()) { - if (!getReadSession() - .equals(other.getReadSession())) return false; + if (!getReadSession().equals(other.getReadSession())) return false; } - if (getMaxStreamCount() - != other.getMaxStreamCount()) return false; - if (getPreferredMinStreamCount() - != other.getPreferredMinStreamCount()) return false; + if (getMaxStreamCount() != other.getMaxStreamCount()) return false; + if (getPreferredMinStreamCount() != other.getPreferredMinStreamCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -279,131 +324,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `CreateReadSession`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.CreateReadSessionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.CreateReadSessionRequest) com.google.cloud.bigquery.storage.v1.CreateReadSessionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.class, com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.class, + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -420,13 +470,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.getDefaultInstance(); } @@ -441,21 +492,24 @@ public com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest buildPartial() { - com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest result = new com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest result = + new com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.readSession_ = readSessionBuilder_ == null - ? readSession_ - : readSessionBuilder_.build(); + result.readSession_ = + readSessionBuilder_ == null ? readSession_ : readSessionBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.maxStreamCount_ = maxStreamCount_; @@ -469,38 +523,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.CreateReadSessio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest) other); } else { super.mergeFrom(other); return this; @@ -508,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest other) { - if (other == com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -549,34 +606,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getReadSessionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - maxStreamCount_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - preferredMinStreamCount_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getReadSessionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + maxStreamCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + preferredMinStreamCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -586,23 +646,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -611,21 +676,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -633,30 +701,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -666,18 +745,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -687,39 +772,58 @@ public Builder setParentBytes( private com.google.cloud.bigquery.storage.v1.ReadSession readSession_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession, com.google.cloud.bigquery.storage.v1.ReadSession.Builder, com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder> readSessionBuilder_; + com.google.cloud.bigquery.storage.v1.ReadSession, + com.google.cloud.bigquery.storage.v1.ReadSession.Builder, + com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder> + readSessionBuilder_; /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the readSession field is set. */ public boolean hasReadSession() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The readSession. */ public com.google.cloud.bigquery.storage.v1.ReadSession getReadSession() { if (readSessionBuilder_ == null) { - return readSession_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() : readSession_; + return readSession_ == null + ? com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() + : readSession_; } else { return readSessionBuilder_.getMessage(); } } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setReadSession(com.google.cloud.bigquery.storage.v1.ReadSession value) { if (readSessionBuilder_ == null) { @@ -735,11 +839,15 @@ public Builder setReadSession(com.google.cloud.bigquery.storage.v1.ReadSession v return this; } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setReadSession( com.google.cloud.bigquery.storage.v1.ReadSession.Builder builderForValue) { @@ -753,17 +861,22 @@ public Builder setReadSession( return this; } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeReadSession(com.google.cloud.bigquery.storage.v1.ReadSession value) { if (readSessionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - readSession_ != null && - readSession_ != com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && readSession_ != null + && readSession_ + != com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance()) { getReadSessionBuilder().mergeFrom(value); } else { readSession_ = value; @@ -776,11 +889,15 @@ public Builder mergeReadSession(com.google.cloud.bigquery.storage.v1.ReadSession return this; } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearReadSession() { bitField0_ = (bitField0_ & ~0x00000002); @@ -793,11 +910,15 @@ public Builder clearReadSession() { return this; } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.storage.v1.ReadSession.Builder getReadSessionBuilder() { bitField0_ |= 0x00000002; @@ -805,43 +926,57 @@ public com.google.cloud.bigquery.storage.v1.ReadSession.Builder getReadSessionBu return getReadSessionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionOrBuilder() { if (readSessionBuilder_ != null) { return readSessionBuilder_.getMessageOrBuilder(); } else { - return readSession_ == null ? - com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() : readSession_; + return readSession_ == null + ? com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() + : readSession_; } } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession, com.google.cloud.bigquery.storage.v1.ReadSession.Builder, com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder> + com.google.cloud.bigquery.storage.v1.ReadSession, + com.google.cloud.bigquery.storage.v1.ReadSession.Builder, + com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder> getReadSessionFieldBuilder() { if (readSessionBuilder_ == null) { - readSessionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession, com.google.cloud.bigquery.storage.v1.ReadSession.Builder, com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder>( - getReadSession(), - getParentForChildren(), - isClean()); + readSessionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.ReadSession, + com.google.cloud.bigquery.storage.v1.ReadSession.Builder, + com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder>( + getReadSession(), getParentForChildren(), isClean()); readSession_ = null; } return readSessionBuilder_; } - private int maxStreamCount_ ; + private int maxStreamCount_; /** + * + * *
      * Max initial number of streams. If unset or zero, the server will
      * provide a value of streams so as to produce reasonable throughput. Must be
@@ -856,6 +991,7 @@ public com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionO
      * 
* * int32 max_stream_count = 3; + * * @return The maxStreamCount. */ @java.lang.Override @@ -863,6 +999,8 @@ public int getMaxStreamCount() { return maxStreamCount_; } /** + * + * *
      * Max initial number of streams. If unset or zero, the server will
      * provide a value of streams so as to produce reasonable throughput. Must be
@@ -877,6 +1015,7 @@ public int getMaxStreamCount() {
      * 
* * int32 max_stream_count = 3; + * * @param value The maxStreamCount to set. * @return This builder for chaining. */ @@ -888,6 +1027,8 @@ public Builder setMaxStreamCount(int value) { return this; } /** + * + * *
      * Max initial number of streams. If unset or zero, the server will
      * provide a value of streams so as to produce reasonable throughput. Must be
@@ -902,6 +1043,7 @@ public Builder setMaxStreamCount(int value) {
      * 
* * int32 max_stream_count = 3; + * * @return This builder for chaining. */ public Builder clearMaxStreamCount() { @@ -911,8 +1053,10 @@ public Builder clearMaxStreamCount() { return this; } - private int preferredMinStreamCount_ ; + private int preferredMinStreamCount_; /** + * + * *
      * The minimum preferred stream count. This parameter can be used to inform
      * the service that there is a desired lower bound on the number of streams.
@@ -925,6 +1069,7 @@ public Builder clearMaxStreamCount() {
      * 
* * int32 preferred_min_stream_count = 4; + * * @return The preferredMinStreamCount. */ @java.lang.Override @@ -932,6 +1077,8 @@ public int getPreferredMinStreamCount() { return preferredMinStreamCount_; } /** + * + * *
      * The minimum preferred stream count. This parameter can be used to inform
      * the service that there is a desired lower bound on the number of streams.
@@ -944,6 +1091,7 @@ public int getPreferredMinStreamCount() {
      * 
* * int32 preferred_min_stream_count = 4; + * * @param value The preferredMinStreamCount to set. * @return This builder for chaining. */ @@ -955,6 +1103,8 @@ public Builder setPreferredMinStreamCount(int value) { return this; } /** + * + * *
      * The minimum preferred stream count. This parameter can be used to inform
      * the service that there is a desired lower bound on the number of streams.
@@ -967,6 +1117,7 @@ public Builder setPreferredMinStreamCount(int value) {
      * 
* * int32 preferred_min_stream_count = 4; + * * @return This builder for chaining. */ public Builder clearPreferredMinStreamCount() { @@ -975,9 +1126,9 @@ public Builder clearPreferredMinStreamCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -987,12 +1138,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.CreateReadSessionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.CreateReadSessionRequest) - private static final com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest(); } @@ -1001,27 +1153,27 @@ public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateReadSessionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateReadSessionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1036,6 +1188,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequestOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequestOrBuilder.java index bc426151d9..12c72d5631 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequestOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequestOrBuilder.java @@ -1,62 +1,103 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; -public interface CreateReadSessionRequestOrBuilder extends +public interface CreateReadSessionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.CreateReadSessionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The request project that owns the session, in the form of
    * `projects/{project_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The request project that owns the session, in the form of
    * `projects/{project_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Session to be created.
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the readSession field is set. */ boolean hasReadSession(); /** + * + * *
    * Required. Session to be created.
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The readSession. */ com.google.cloud.bigquery.storage.v1.ReadSession getReadSession(); /** + * + * *
    * Required. Session to be created.
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionOrBuilder(); /** + * + * *
    * Max initial number of streams. If unset or zero, the server will
    * provide a value of streams so as to produce reasonable throughput. Must be
@@ -71,11 +112,14 @@ public interface CreateReadSessionRequestOrBuilder extends
    * 
* * int32 max_stream_count = 3; + * * @return The maxStreamCount. */ int getMaxStreamCount(); /** + * + * *
    * The minimum preferred stream count. This parameter can be used to inform
    * the service that there is a desired lower bound on the number of streams.
@@ -88,6 +132,7 @@ public interface CreateReadSessionRequestOrBuilder extends
    * 
* * int32 preferred_min_stream_count = 4; + * * @return The preferredMinStreamCount. */ int getPreferredMinStreamCount(); diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequest.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequest.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequest.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequest.java index 2f914cd895..28d46e3285 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequest.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequest.java @@ -1,58 +1,83 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Request message for `CreateWriteStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.CreateWriteStreamRequest} */ -public final class CreateWriteStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateWriteStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) CreateWriteStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateWriteStreamRequest.newBuilder() to construct. private CreateWriteStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateWriteStreamRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateWriteStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.class, + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Reference to the table to which the stream belongs, in the format
    * of `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -61,30 +86,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Reference to the table to which the stream belongs, in the format
    * of `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -95,11 +122,16 @@ public java.lang.String getParent() { public static final int WRITE_STREAM_FIELD_NUMBER = 2; private com.google.cloud.bigquery.storage.v1.WriteStream writeStream_; /** + * + * *
    * Required. Stream to be created.
    * 
* - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the writeStream field is set. */ @java.lang.Override @@ -107,30 +139,44 @@ public boolean hasWriteStream() { return writeStream_ != null; } /** + * + * *
    * Required. Stream to be created.
    * 
* - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The writeStream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStream getWriteStream() { - return writeStream_ == null ? com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() : writeStream_; + return writeStream_ == null + ? com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() + : writeStream_; } /** + * + * *
    * Required. Stream to be created.
    * 
* - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder getWriteStreamOrBuilder() { - return writeStream_ == null ? com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() : writeStream_; + return writeStream_ == null + ? com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() + : writeStream_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -163,8 +208,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (writeStream_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWriteStream()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWriteStream()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,19 +218,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest other = (com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) obj; + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest other = + (com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasWriteStream() != other.hasWriteStream()) return false; if (hasWriteStream()) { - if (!getWriteStream() - .equals(other.getWriteStream())) return false; + if (!getWriteStream().equals(other.getWriteStream())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -211,131 +254,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `CreateWriteStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.CreateWriteStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.class, + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -350,13 +398,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.getDefaultInstance(); } @@ -371,21 +420,24 @@ public com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest result = + new com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.writeStream_ = writeStreamBuilder_ == null - ? writeStream_ - : writeStreamBuilder_.build(); + result.writeStream_ = + writeStreamBuilder_ == null ? writeStream_ : writeStreamBuilder_.build(); } } @@ -393,38 +445,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.CreateWriteStrea public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -432,7 +485,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest other) { - if (other == com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -467,24 +522,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getWriteStreamFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getWriteStreamFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,23 +550,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,21 +580,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -541,30 +605,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -574,18 +649,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -595,39 +676,58 @@ public Builder setParentBytes( private com.google.cloud.bigquery.storage.v1.WriteStream writeStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.WriteStream, com.google.cloud.bigquery.storage.v1.WriteStream.Builder, com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder> writeStreamBuilder_; + com.google.cloud.bigquery.storage.v1.WriteStream, + com.google.cloud.bigquery.storage.v1.WriteStream.Builder, + com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder> + writeStreamBuilder_; /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the writeStream field is set. */ public boolean hasWriteStream() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The writeStream. */ public com.google.cloud.bigquery.storage.v1.WriteStream getWriteStream() { if (writeStreamBuilder_ == null) { - return writeStream_ == null ? com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() : writeStream_; + return writeStream_ == null + ? com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() + : writeStream_; } else { return writeStreamBuilder_.getMessage(); } } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWriteStream(com.google.cloud.bigquery.storage.v1.WriteStream value) { if (writeStreamBuilder_ == null) { @@ -643,11 +743,15 @@ public Builder setWriteStream(com.google.cloud.bigquery.storage.v1.WriteStream v return this; } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWriteStream( com.google.cloud.bigquery.storage.v1.WriteStream.Builder builderForValue) { @@ -661,17 +765,22 @@ public Builder setWriteStream( return this; } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeWriteStream(com.google.cloud.bigquery.storage.v1.WriteStream value) { if (writeStreamBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - writeStream_ != null && - writeStream_ != com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && writeStream_ != null + && writeStream_ + != com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance()) { getWriteStreamBuilder().mergeFrom(value); } else { writeStream_ = value; @@ -684,11 +793,15 @@ public Builder mergeWriteStream(com.google.cloud.bigquery.storage.v1.WriteStream return this; } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWriteStream() { bitField0_ = (bitField0_ & ~0x00000002); @@ -701,11 +814,15 @@ public Builder clearWriteStream() { return this; } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.storage.v1.WriteStream.Builder getWriteStreamBuilder() { bitField0_ |= 0x00000002; @@ -713,43 +830,55 @@ public com.google.cloud.bigquery.storage.v1.WriteStream.Builder getWriteStreamBu return getWriteStreamFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder getWriteStreamOrBuilder() { if (writeStreamBuilder_ != null) { return writeStreamBuilder_.getMessageOrBuilder(); } else { - return writeStream_ == null ? - com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() : writeStream_; + return writeStream_ == null + ? com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() + : writeStream_; } } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.WriteStream, com.google.cloud.bigquery.storage.v1.WriteStream.Builder, com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder> + com.google.cloud.bigquery.storage.v1.WriteStream, + com.google.cloud.bigquery.storage.v1.WriteStream.Builder, + com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder> getWriteStreamFieldBuilder() { if (writeStreamBuilder_ == null) { - writeStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.WriteStream, com.google.cloud.bigquery.storage.v1.WriteStream.Builder, com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder>( - getWriteStream(), - getParentForChildren(), - isClean()); + writeStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.WriteStream, + com.google.cloud.bigquery.storage.v1.WriteStream.Builder, + com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder>( + getWriteStream(), getParentForChildren(), isClean()); writeStream_ = null; } return writeStreamBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,12 +888,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) - private static final com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest(); } @@ -773,27 +903,27 @@ public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateWriteStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateWriteStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -808,6 +938,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequestOrBuilder.java new file mode 100644 index 0000000000..a280ff2725 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/storage.proto + +package com.google.cloud.bigquery.storage.v1; + +public interface CreateWriteStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Reference to the table to which the stream belongs, in the format
+   * of `projects/{project}/datasets/{dataset}/tables/{table}`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Reference to the table to which the stream belongs, in the format
+   * of `projects/{project}/datasets/{dataset}/tables/{table}`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. Stream to be created.
+   * 
+ * + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the writeStream field is set. + */ + boolean hasWriteStream(); + /** + * + * + *
+   * Required. Stream to be created.
+   * 
+ * + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The writeStream. + */ + com.google.cloud.bigquery.storage.v1.WriteStream getWriteStream(); + /** + * + * + *
+   * Required. Stream to be created.
+   * 
+ * + * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder getWriteStreamOrBuilder(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/DataFormat.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/DataFormat.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/DataFormat.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/DataFormat.java index e1f0289dff..3dd0849143 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/DataFormat.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/DataFormat.java @@ -1,18 +1,36 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/stream.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Data format for input or output data.
  * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1.DataFormat} */ -public enum DataFormat - implements com.google.protobuf.ProtocolMessageEnum { +public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Data format is unspecified.
    * 
@@ -21,6 +39,8 @@ public enum DataFormat */ DATA_FORMAT_UNSPECIFIED(0), /** + * + * *
    * Avro is a standard open source row based file format.
    * See https://avro.apache.org/ for more details.
@@ -30,6 +50,8 @@ public enum DataFormat
    */
   AVRO(1),
   /**
+   *
+   *
    * 
    * Arrow is a standard open source column-based message format.
    * See https://arrow.apache.org/ for more details.
@@ -42,6 +64,8 @@ public enum DataFormat
   ;
 
   /**
+   *
+   *
    * 
    * Data format is unspecified.
    * 
@@ -50,6 +74,8 @@ public enum DataFormat */ public static final int DATA_FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Avro is a standard open source row based file format.
    * See https://avro.apache.org/ for more details.
@@ -59,6 +85,8 @@ public enum DataFormat
    */
   public static final int AVRO_VALUE = 1;
   /**
+   *
+   *
    * 
    * Arrow is a standard open source column-based message format.
    * See https://arrow.apache.org/ for more details.
@@ -68,7 +96,6 @@ public enum DataFormat
    */
   public static final int ARROW_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -93,49 +120,49 @@ public static DataFormat valueOf(int value) {
    */
   public static DataFormat forNumber(int value) {
     switch (value) {
-      case 0: return DATA_FORMAT_UNSPECIFIED;
-      case 1: return AVRO;
-      case 2: return ARROW;
-      default: return null;
+      case 0:
+        return DATA_FORMAT_UNSPECIFIED;
+      case 1:
+        return AVRO;
+      case 2:
+        return ARROW;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      DataFormat> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DataFormat findValueByNumber(int number) {
-            return DataFormat.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public DataFormat findValueByNumber(int number) {
+          return DataFormat.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.bigquery.storage.v1.StreamProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final DataFormat[] VALUES = values();
 
-  public static DataFormat valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DataFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -151,4 +178,3 @@ private DataFormat(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.storage.v1.DataFormat)
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequest.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequest.java
similarity index 60%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequest.java
rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequest.java
index b2b5f26910..3a26756633 100644
--- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequest.java
+++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequest.java
@@ -1,58 +1,83 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1/storage.proto
 
 package com.google.cloud.bigquery.storage.v1;
 
 /**
+ *
+ *
  * 
  * Request message for invoking `FinalizeWriteStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest} */ -public final class FinalizeWriteStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FinalizeWriteStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) FinalizeWriteStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FinalizeWriteStreamRequest.newBuilder() to construct. private FinalizeWriteStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FinalizeWriteStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FinalizeWriteStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.class, + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the stream to finalize, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the stream to finalize, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest other = (com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) obj; + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest other = + (com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for invoking `FinalizeWriteStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.class, + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,13 +323,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.getDefaultInstance(); } @@ -312,13 +345,17 @@ public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest result = + new com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -329,46 +366,50 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.FinalizeWriteStr public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest other) { - if (other == com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest other) { + if (other + == com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +441,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +463,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +493,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +518,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +562,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,41 +598,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) - private static final com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest(); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinalizeWriteStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinalizeWriteStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -576,9 +646,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequestOrBuilder.java new file mode 100644 index 0000000000..693b5c5fb9 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/storage.proto + +package com.google.cloud.bigquery.storage.v1; + +public interface FinalizeWriteStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the stream to finalize, in the form of
+   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the stream to finalize, in the form of
+   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponse.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponse.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponse.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponse.java index 847bd502df..9972963461 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponse.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponse.java @@ -1,55 +1,76 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Response message for `FinalizeWriteStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse} */ -public final class FinalizeWriteStreamResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FinalizeWriteStreamResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) FinalizeWriteStreamResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FinalizeWriteStreamResponse.newBuilder() to construct. private FinalizeWriteStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FinalizeWriteStreamResponse() { - } + + private FinalizeWriteStreamResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FinalizeWriteStreamResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.class, com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.class, + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.Builder.class); } public static final int ROW_COUNT_FIELD_NUMBER = 1; private long rowCount_ = 0L; /** + * + * *
    * Number of rows in the finalized stream.
    * 
* * int64 row_count = 1; + * * @return The rowCount. */ @java.lang.Override @@ -58,6 +79,7 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -69,8 +91,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (rowCount_ != 0L) { output.writeInt64(1, rowCount_); } @@ -84,8 +105,7 @@ public int getSerializedSize() { size = 0; if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, rowCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -95,15 +115,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse other = (com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) obj; + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse other = + (com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) obj; - if (getRowCount() - != other.getRowCount()) return false; + if (getRowCount() != other.getRowCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -116,139 +136,143 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for `FinalizeWriteStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.class, com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.class, + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -258,13 +282,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.getDefaultInstance(); } @@ -279,13 +304,17 @@ public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse build() @java.lang.Override public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse buildPartial() { - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse result = new com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse result = + new com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rowCount_ = rowCount_; @@ -296,46 +325,50 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.FinalizeWriteStr public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse other) { - if (other == com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse other) { + if (other + == com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.getDefaultInstance()) + return this; if (other.getRowCount() != 0L) { setRowCount(other.getRowCount()); } @@ -365,17 +398,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -385,15 +420,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long rowCount_ ; + private long rowCount_; /** + * + * *
      * Number of rows in the finalized stream.
      * 
* * int64 row_count = 1; + * * @return The rowCount. */ @java.lang.Override @@ -401,11 +440,14 @@ public long getRowCount() { return rowCount_; } /** + * + * *
      * Number of rows in the finalized stream.
      * 
* * int64 row_count = 1; + * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -417,11 +459,14 @@ public Builder setRowCount(long value) { return this; } /** + * + * *
      * Number of rows in the finalized stream.
      * 
* * int64 row_count = 1; + * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -430,9 +475,9 @@ public Builder clearRowCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -442,41 +487,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) - private static final com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse(); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinalizeWriteStreamResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinalizeWriteStreamResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -488,9 +535,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponseOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponseOrBuilder.java new file mode 100644 index 0000000000..62a21e5469 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponseOrBuilder.java @@ -0,0 +1,38 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/storage.proto + +package com.google.cloud.bigquery.storage.v1; + +public interface FinalizeWriteStreamResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Number of rows in the finalized stream.
+   * 
+ * + * int64 row_count = 1; + * + * @return The rowCount. + */ + long getRowCount(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequest.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequest.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequest.java index ea00b978c5..cc70f9e1b1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequest.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequest.java @@ -1,57 +1,82 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Request message for `FlushRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FlushRowsRequest} */ -public final class FlushRowsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FlushRowsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.FlushRowsRequest) FlushRowsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FlushRowsRequest.newBuilder() to construct. private FlushRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FlushRowsRequest() { writeStream_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FlushRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FlushRowsRequest.class, com.google.cloud.bigquery.storage.v1.FlushRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.FlushRowsRequest.class, + com.google.cloud.bigquery.storage.v1.FlushRowsRequest.Builder.class); } public static final int WRITE_STREAM_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object writeStream_ = ""; /** + * + * *
    * Required. The stream that is the target of the flush operation.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The writeStream. */ @java.lang.Override @@ -60,29 +85,31 @@ public java.lang.String getWriteStream() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; } } /** + * + * *
    * Required. The stream that is the target of the flush operation.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for writeStream. */ @java.lang.Override - public com.google.protobuf.ByteString - getWriteStreamBytes() { + public com.google.protobuf.ByteString getWriteStreamBytes() { java.lang.Object ref = writeStream_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); writeStream_ = b; return b; } else { @@ -93,12 +120,15 @@ public java.lang.String getWriteStream() { public static final int OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Int64Value offset_; /** + * + * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return Whether the offset field is set. */ @java.lang.Override @@ -106,12 +136,15 @@ public boolean hasOffset() { return offset_ != null; } /** + * + * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return The offset. */ @java.lang.Override @@ -119,6 +152,8 @@ public com.google.protobuf.Int64Value getOffset() { return offset_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : offset_; } /** + * + * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
@@ -132,6 +167,7 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -143,8 +179,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writeStream_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, writeStream_);
     }
@@ -164,8 +199,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, writeStream_);
     }
     if (offset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getOffset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOffset());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -175,19 +209,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.storage.v1.FlushRowsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.storage.v1.FlushRowsRequest other = (com.google.cloud.bigquery.storage.v1.FlushRowsRequest) obj;
+    com.google.cloud.bigquery.storage.v1.FlushRowsRequest other =
+        (com.google.cloud.bigquery.storage.v1.FlushRowsRequest) obj;
 
-    if (!getWriteStream()
-        .equals(other.getWriteStream())) return false;
+    if (!getWriteStream().equals(other.getWriteStream())) return false;
     if (hasOffset() != other.hasOffset()) return false;
     if (hasOffset()) {
-      if (!getOffset()
-          .equals(other.getOffset())) return false;
+      if (!getOffset().equals(other.getOffset())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -212,131 +245,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.FlushRowsRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.storage.v1.FlushRowsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for `FlushRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FlushRowsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.FlushRowsRequest) com.google.cloud.bigquery.storage.v1.FlushRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FlushRowsRequest.class, com.google.cloud.bigquery.storage.v1.FlushRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.FlushRowsRequest.class, + com.google.cloud.bigquery.storage.v1.FlushRowsRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.FlushRowsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; } @java.lang.Override @@ -372,8 +410,11 @@ public com.google.cloud.bigquery.storage.v1.FlushRowsRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.FlushRowsRequest buildPartial() { - com.google.cloud.bigquery.storage.v1.FlushRowsRequest result = new com.google.cloud.bigquery.storage.v1.FlushRowsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.FlushRowsRequest result = + new com.google.cloud.bigquery.storage.v1.FlushRowsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -384,9 +425,7 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.FlushRowsRequest result.writeStream_ = writeStream_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.offset_ = offsetBuilder_ == null - ? offset_ - : offsetBuilder_.build(); + result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build(); } } @@ -394,38 +433,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.FlushRowsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.FlushRowsRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.FlushRowsRequest)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.FlushRowsRequest) other); } else { super.mergeFrom(other); return this; @@ -433,7 +473,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.FlushRowsRequest other) { - if (other == com.google.cloud.bigquery.storage.v1.FlushRowsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.FlushRowsRequest.getDefaultInstance()) + return this; if (!other.getWriteStream().isEmpty()) { writeStream_ = other.writeStream_; bitField0_ |= 0x00000001; @@ -468,24 +509,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - writeStream_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getOffsetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + writeStream_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getOffsetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -495,22 +537,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object writeStream_ = ""; /** + * + * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The writeStream. */ public java.lang.String getWriteStream() { java.lang.Object ref = writeStream_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; @@ -519,20 +566,23 @@ public java.lang.String getWriteStream() { } } /** + * + * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for writeStream. */ - public com.google.protobuf.ByteString - getWriteStreamBytes() { + public com.google.protobuf.ByteString getWriteStreamBytes() { java.lang.Object ref = writeStream_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); writeStream_ = b; return b; } else { @@ -540,28 +590,39 @@ public java.lang.String getWriteStream() { } } /** + * + * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStream( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteStream(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } writeStream_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWriteStream() { @@ -571,17 +632,23 @@ public Builder clearWriteStream() { return this; } /** + * + * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStreamBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); writeStream_ = value; bitField0_ |= 0x00000001; @@ -591,26 +658,35 @@ public Builder setWriteStreamBytes( private com.google.protobuf.Int64Value offset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> offsetBuilder_; + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> + offsetBuilder_; /** + * + * *
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
      * 
* * .google.protobuf.Int64Value offset = 2; + * * @return Whether the offset field is set. */ public boolean hasOffset() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
      * 
* * .google.protobuf.Int64Value offset = 2; + * * @return The offset. */ public com.google.protobuf.Int64Value getOffset() { @@ -621,6 +697,8 @@ public com.google.protobuf.Int64Value getOffset() { } } /** + * + * *
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -642,6 +720,8 @@ public Builder setOffset(com.google.protobuf.Int64Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -649,8 +729,7 @@ public Builder setOffset(com.google.protobuf.Int64Value value) {
      *
      * .google.protobuf.Int64Value offset = 2;
      */
-    public Builder setOffset(
-        com.google.protobuf.Int64Value.Builder builderForValue) {
+    public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue) {
       if (offsetBuilder_ == null) {
         offset_ = builderForValue.build();
       } else {
@@ -661,6 +740,8 @@ public Builder setOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -670,9 +751,9 @@ public Builder setOffset(
      */
     public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       if (offsetBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          offset_ != null &&
-          offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && offset_ != null
+            && offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
           getOffsetBuilder().mergeFrom(value);
         } else {
           offset_ = value;
@@ -685,6 +766,8 @@ public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -703,6 +786,8 @@ public Builder clearOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -716,6 +801,8 @@ public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
       return getOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -727,11 +814,12 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
       if (offsetBuilder_ != null) {
         return offsetBuilder_.getMessageOrBuilder();
       } else {
-        return offset_ == null ?
-            com.google.protobuf.Int64Value.getDefaultInstance() : offset_;
+        return offset_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : offset_;
       }
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -740,21 +828,24 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
      * .google.protobuf.Int64Value offset = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> 
+            com.google.protobuf.Int64Value,
+            com.google.protobuf.Int64Value.Builder,
+            com.google.protobuf.Int64ValueOrBuilder>
         getOffsetFieldBuilder() {
       if (offsetBuilder_ == null) {
-        offsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
-                getOffset(),
-                getParentForChildren(),
-                isClean());
+        offsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Int64Value,
+                com.google.protobuf.Int64Value.Builder,
+                com.google.protobuf.Int64ValueOrBuilder>(
+                getOffset(), getParentForChildren(), isClean());
         offset_ = null;
       }
       return offsetBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -764,12 +855,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.FlushRowsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.FlushRowsRequest)
   private static final com.google.cloud.bigquery.storage.v1.FlushRowsRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.FlushRowsRequest();
   }
@@ -778,27 +869,27 @@ public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public FlushRowsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public FlushRowsRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -813,6 +904,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.storage.v1.FlushRowsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequestOrBuilder.java
similarity index 58%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequestOrBuilder.java
rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequestOrBuilder.java
index 739d1ee4b8..c551e18c4f 100644
--- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequestOrBuilder.java
@@ -1,53 +1,86 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1/storage.proto
 
 package com.google.cloud.bigquery.storage.v1;
 
-public interface FlushRowsRequestOrBuilder extends
+public interface FlushRowsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.FlushRowsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The stream that is the target of the flush operation.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The writeStream. */ java.lang.String getWriteStream(); /** + * + * *
    * Required. The stream that is the target of the flush operation.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for writeStream. */ - com.google.protobuf.ByteString - getWriteStreamBytes(); + com.google.protobuf.ByteString getWriteStreamBytes(); /** + * + * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return Whether the offset field is set. */ boolean hasOffset(); /** + * + * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return The offset. */ com.google.protobuf.Int64Value getOffset(); /** + * + * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponse.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponse.java
similarity index 63%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponse.java
rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponse.java
index a87595e92d..819e42d3e1 100644
--- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponse.java
+++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponse.java
@@ -1,55 +1,76 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1/storage.proto
 
 package com.google.cloud.bigquery.storage.v1;
 
 /**
+ *
+ *
  * 
  * Respond message for `FlushRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FlushRowsResponse} */ -public final class FlushRowsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FlushRowsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.FlushRowsResponse) FlushRowsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FlushRowsResponse.newBuilder() to construct. private FlushRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FlushRowsResponse() { - } + + private FlushRowsResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FlushRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FlushRowsResponse.class, com.google.cloud.bigquery.storage.v1.FlushRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.FlushRowsResponse.class, + com.google.cloud.bigquery.storage.v1.FlushRowsResponse.Builder.class); } public static final int OFFSET_FIELD_NUMBER = 1; private long offset_ = 0L; /** + * + * *
    * The rows before this offset (including this offset) are flushed.
    * 
* * int64 offset = 1; + * * @return The offset. */ @java.lang.Override @@ -58,6 +79,7 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -69,8 +91,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (offset_ != 0L) { output.writeInt64(1, offset_); } @@ -84,8 +105,7 @@ public int getSerializedSize() { size = 0; if (offset_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, offset_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, offset_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -95,15 +115,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.FlushRowsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.FlushRowsResponse other = (com.google.cloud.bigquery.storage.v1.FlushRowsResponse) obj; + com.google.cloud.bigquery.storage.v1.FlushRowsResponse other = + (com.google.cloud.bigquery.storage.v1.FlushRowsResponse) obj; - if (getOffset() - != other.getOffset()) return false; + if (getOffset() != other.getOffset()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -116,139 +136,143 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.FlushRowsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.FlushRowsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Respond message for `FlushRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FlushRowsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.FlushRowsResponse) com.google.cloud.bigquery.storage.v1.FlushRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FlushRowsResponse.class, com.google.cloud.bigquery.storage.v1.FlushRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.FlushRowsResponse.class, + com.google.cloud.bigquery.storage.v1.FlushRowsResponse.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.FlushRowsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -258,9 +282,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; } @java.lang.Override @@ -279,8 +303,11 @@ public com.google.cloud.bigquery.storage.v1.FlushRowsResponse build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.FlushRowsResponse buildPartial() { - com.google.cloud.bigquery.storage.v1.FlushRowsResponse result = new com.google.cloud.bigquery.storage.v1.FlushRowsResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.FlushRowsResponse result = + new com.google.cloud.bigquery.storage.v1.FlushRowsResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -296,38 +323,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.FlushRowsRespons public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.FlushRowsResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.FlushRowsResponse)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.FlushRowsResponse) other); } else { super.mergeFrom(other); return this; @@ -335,7 +363,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.FlushRowsResponse other) { - if (other == com.google.cloud.bigquery.storage.v1.FlushRowsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.FlushRowsResponse.getDefaultInstance()) + return this; if (other.getOffset() != 0L) { setOffset(other.getOffset()); } @@ -365,17 +394,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - offset_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + offset_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -385,15 +416,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long offset_ ; + private long offset_; /** + * + * *
      * The rows before this offset (including this offset) are flushed.
      * 
* * int64 offset = 1; + * * @return The offset. */ @java.lang.Override @@ -401,11 +436,14 @@ public long getOffset() { return offset_; } /** + * + * *
      * The rows before this offset (including this offset) are flushed.
      * 
* * int64 offset = 1; + * * @param value The offset to set. * @return This builder for chaining. */ @@ -417,11 +455,14 @@ public Builder setOffset(long value) { return this; } /** + * + * *
      * The rows before this offset (including this offset) are flushed.
      * 
* * int64 offset = 1; + * * @return This builder for chaining. */ public Builder clearOffset() { @@ -430,9 +471,9 @@ public Builder clearOffset() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -442,12 +483,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.FlushRowsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.FlushRowsResponse) private static final com.google.cloud.bigquery.storage.v1.FlushRowsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.FlushRowsResponse(); } @@ -456,27 +497,27 @@ public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FlushRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FlushRowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -491,6 +532,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.FlushRowsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponseOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponseOrBuilder.java new file mode 100644 index 0000000000..78391a1f66 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponseOrBuilder.java @@ -0,0 +1,38 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/storage.proto + +package com.google.cloud.bigquery.storage.v1; + +public interface FlushRowsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.FlushRowsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The rows before this offset (including this offset) are flushed.
+   * 
+ * + * int64 offset = 1; + * + * @return The offset. + */ + long getOffset(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequest.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequest.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequest.java index 512bfbe315..cfb972ed6e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequest.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequest.java @@ -1,24 +1,42 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Request message for `GetWriteStreamRequest`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.GetWriteStreamRequest} */ -public final class GetWriteStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetWriteStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.GetWriteStreamRequest) GetWriteStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetWriteStreamRequest.newBuilder() to construct. private GetWriteStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetWriteStreamRequest() { name_ = ""; view_ = 0; @@ -26,34 +44,41 @@ private GetWriteStreamRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetWriteStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.class, + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the stream to get, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the stream to get, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,32 +123,44 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 3; private int view_ = 0; /** + * + * *
    * Indicates whether to get full or partial view of the WriteStream. If
    * not set, view returned will be basic.
    * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Indicates whether to get full or partial view of the WriteStream. If
    * not set, view returned will be basic.
    * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; + * * @return The view. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStreamView getView() { - com.google.cloud.bigquery.storage.v1.WriteStreamView result = com.google.cloud.bigquery.storage.v1.WriteStreamView.forNumber(view_); - return result == null ? com.google.cloud.bigquery.storage.v1.WriteStreamView.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1.WriteStreamView getView() { + com.google.cloud.bigquery.storage.v1.WriteStreamView result = + com.google.cloud.bigquery.storage.v1.WriteStreamView.forNumber(view_); + return result == null + ? com.google.cloud.bigquery.storage.v1.WriteStreamView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,12 +172,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ != com.google.cloud.bigquery.storage.v1.WriteStreamView.WRITE_STREAM_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.bigquery.storage.v1.WriteStreamView.WRITE_STREAM_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(3, view_); } getUnknownFields().writeTo(output); @@ -153,9 +193,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.bigquery.storage.v1.WriteStreamView.WRITE_STREAM_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, view_); + if (view_ + != com.google.cloud.bigquery.storage.v1.WriteStreamView.WRITE_STREAM_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -165,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest other = (com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest) obj; + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest other = + (com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -196,131 +237,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `GetWriteStreamRequest`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.GetWriteStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.GetWriteStreamRequest) com.google.cloud.bigquery.storage.v1.GetWriteStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.class, + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -331,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; } @java.lang.Override @@ -352,8 +398,11 @@ public com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest result = + new com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -372,38 +421,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.GetWriteStreamRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +461,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest other) { - if (other == com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,22 +497,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 24: { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 24: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -471,23 +525,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -496,21 +555,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -518,30 +580,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -551,18 +624,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -572,24 +651,31 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Indicates whether to get full or partial view of the WriteStream. If
      * not set, view returned will be basic.
      * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Indicates whether to get full or partial view of the WriteStream. If
      * not set, view returned will be basic.
      * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -600,26 +686,35 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * Indicates whether to get full or partial view of the WriteStream. If
      * not set, view returned will be basic.
      * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; + * * @return The view. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStreamView getView() { - com.google.cloud.bigquery.storage.v1.WriteStreamView result = com.google.cloud.bigquery.storage.v1.WriteStreamView.forNumber(view_); - return result == null ? com.google.cloud.bigquery.storage.v1.WriteStreamView.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1.WriteStreamView result = + com.google.cloud.bigquery.storage.v1.WriteStreamView.forNumber(view_); + return result == null + ? com.google.cloud.bigquery.storage.v1.WriteStreamView.UNRECOGNIZED + : result; } /** + * + * *
      * Indicates whether to get full or partial view of the WriteStream. If
      * not set, view returned will be basic.
      * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; + * * @param value The view to set. * @return This builder for chaining. */ @@ -633,12 +728,15 @@ public Builder setView(com.google.cloud.bigquery.storage.v1.WriteStreamView valu return this; } /** + * + * *
      * Indicates whether to get full or partial view of the WriteStream. If
      * not set, view returned will be basic.
      * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; + * * @return This builder for chaining. */ public Builder clearView() { @@ -647,9 +745,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -659,12 +757,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.GetWriteStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.GetWriteStreamRequest) private static final com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest(); } @@ -673,27 +771,27 @@ public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetWriteStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetWriteStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -708,6 +806,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequestOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequestOrBuilder.java index 1e7bb15cf2..bb6b06f282 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequestOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequestOrBuilder.java @@ -1,51 +1,82 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; -public interface GetWriteStreamRequestOrBuilder extends +public interface GetWriteStreamRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.GetWriteStreamRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the stream to get, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Name of the stream to get, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Indicates whether to get full or partial view of the WriteStream. If
    * not set, view returned will be basic.
    * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Indicates whether to get full or partial view of the WriteStream. If
    * not set, view returned will be basic.
    * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; + * * @return The view. */ com.google.cloud.bigquery.storage.v1.WriteStreamView getView(); diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProjectName.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProjectName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProjectName.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProjectName.java diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoBufProto.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoBufProto.java new file mode 100644 index 0000000000..b1a31e34f0 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoBufProto.java @@ -0,0 +1,85 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/protobuf.proto + +package com.google.cloud.bigquery.storage.v1; + +public final class ProtoBufProto { + private ProtoBufProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/bigquery/storage/v1/proto" + + "buf.proto\022 google.cloud.bigquery.storage" + + ".v1\032 google/protobuf/descriptor.proto\"I\n" + + "\013ProtoSchema\022:\n\020proto_descriptor\030\001 \001(\0132 " + + ".google.protobuf.DescriptorProto\"$\n\tProt" + + "oRows\022\027\n\017serialized_rows\030\001 \003(\014B\275\001\n$com.g" + + "oogle.cloud.bigquery.storage.v1B\rProtoBu" + + "fProtoP\001Z>cloud.google.com/go/bigquery/s" + + "torage/apiv1/storagepb;storagepb\252\002 Googl" + + "e.Cloud.BigQuery.Storage.V1\312\002 Google\\Clo" + + "ud\\BigQuery\\Storage\\V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.DescriptorProtos.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor, + new java.lang.String[] { + "ProtoDescriptor", + }); + internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor, + new java.lang.String[] { + "SerializedRows", + }); + com.google.protobuf.DescriptorProtos.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRows.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRows.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRows.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRows.java index b7132f899b..c0bd30d4e9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRows.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRows.java @@ -1,48 +1,66 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/protobuf.proto package com.google.cloud.bigquery.storage.v1; -/** - * Protobuf type {@code google.cloud.bigquery.storage.v1.ProtoRows} - */ -public final class ProtoRows extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.bigquery.storage.v1.ProtoRows} */ +public final class ProtoRows extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ProtoRows) ProtoRowsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProtoRows.newBuilder() to construct. private ProtoRows(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProtoRows() { serializedRows_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProtoRows(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ProtoRows.class, com.google.cloud.bigquery.storage.v1.ProtoRows.Builder.class); + com.google.cloud.bigquery.storage.v1.ProtoRows.class, + com.google.cloud.bigquery.storage.v1.ProtoRows.Builder.class); } public static final int SERIALIZED_ROWS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List serializedRows_; /** + * + * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -51,14 +69,16 @@ protected java.lang.Object newInstance(
    * 
* * repeated bytes serialized_rows = 1; + * * @return A list containing the serializedRows. */ @java.lang.Override - public java.util.List - getSerializedRowsList() { + public java.util.List getSerializedRowsList() { return serializedRows_; } /** + * + * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -67,12 +87,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated bytes serialized_rows = 1; + * * @return The count of serializedRows. */ public int getSerializedRowsCount() { return serializedRows_.size(); } /** + * + * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -81,6 +104,7 @@ public int getSerializedRowsCount() {
    * 
* * repeated bytes serialized_rows = 1; + * * @param index The index of the element to return. * @return The serializedRows at the given index. */ @@ -89,6 +113,7 @@ public com.google.protobuf.ByteString getSerializedRows(int index) { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -100,8 +125,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < serializedRows_.size(); i++) { output.writeBytes(1, serializedRows_.get(i)); } @@ -117,8 +141,8 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < serializedRows_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeBytesSizeNoTag(serializedRows_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeBytesSizeNoTag(serializedRows_.get(i)); } size += dataSize; size += 1 * getSerializedRowsList().size(); @@ -131,15 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ProtoRows)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ProtoRows other = (com.google.cloud.bigquery.storage.v1.ProtoRows) obj; + com.google.cloud.bigquery.storage.v1.ProtoRows other = + (com.google.cloud.bigquery.storage.v1.ProtoRows) obj; - if (!getSerializedRowsList() - .equals(other.getSerializedRowsList())) return false; + if (!getSerializedRowsList().equals(other.getSerializedRowsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,128 +184,128 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ProtoRows parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ProtoRows parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.ProtoRows parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ProtoRows prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.bigquery.storage.v1.ProtoRows} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.bigquery.storage.v1.ProtoRows} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ProtoRows) com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ProtoRows.class, com.google.cloud.bigquery.storage.v1.ProtoRows.Builder.class); + com.google.cloud.bigquery.storage.v1.ProtoRows.class, + com.google.cloud.bigquery.storage.v1.ProtoRows.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.ProtoRows.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +315,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; } @java.lang.Override @@ -312,9 +336,12 @@ public com.google.cloud.bigquery.storage.v1.ProtoRows build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.ProtoRows buildPartial() { - com.google.cloud.bigquery.storage.v1.ProtoRows result = new com.google.cloud.bigquery.storage.v1.ProtoRows(this); + com.google.cloud.bigquery.storage.v1.ProtoRows result = + new com.google.cloud.bigquery.storage.v1.ProtoRows(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -335,38 +362,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ProtoRows result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ProtoRows) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ProtoRows)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.ProtoRows) other); } else { super.mergeFrom(other); return this; @@ -411,18 +439,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.protobuf.ByteString v = input.readBytes(); - ensureSerializedRowsIsMutable(); - serializedRows_.add(v); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.protobuf.ByteString v = input.readBytes(); + ensureSerializedRowsIsMutable(); + serializedRows_.add(v); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -432,9 +462,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List serializedRows_ = java.util.Collections.emptyList(); + private java.util.List serializedRows_ = + java.util.Collections.emptyList(); + private void ensureSerializedRowsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { serializedRows_ = new java.util.ArrayList(serializedRows_); @@ -442,6 +475,8 @@ private void ensureSerializedRowsIsMutable() { } } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -450,14 +485,17 @@ private void ensureSerializedRowsIsMutable() {
      * 
* * repeated bytes serialized_rows = 1; + * * @return A list containing the serializedRows. */ - public java.util.List - getSerializedRowsList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(serializedRows_) : serializedRows_; + public java.util.List getSerializedRowsList() { + return ((bitField0_ & 0x00000001) != 0) + ? java.util.Collections.unmodifiableList(serializedRows_) + : serializedRows_; } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -466,12 +504,15 @@ private void ensureSerializedRowsIsMutable() {
      * 
* * repeated bytes serialized_rows = 1; + * * @return The count of serializedRows. */ public int getSerializedRowsCount() { return serializedRows_.size(); } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -480,6 +521,7 @@ public int getSerializedRowsCount() {
      * 
* * repeated bytes serialized_rows = 1; + * * @param index The index of the element to return. * @return The serializedRows at the given index. */ @@ -487,6 +529,8 @@ public com.google.protobuf.ByteString getSerializedRows(int index) { return serializedRows_.get(index); } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -495,19 +539,23 @@ public com.google.protobuf.ByteString getSerializedRows(int index) {
      * 
* * repeated bytes serialized_rows = 1; + * * @param index The index to set the value at. * @param value The serializedRows to set. * @return This builder for chaining. */ - public Builder setSerializedRows( - int index, com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSerializedRows(int index, com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } ensureSerializedRowsIsMutable(); serializedRows_.set(index, value); onChanged(); return this; } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -516,17 +564,22 @@ public Builder setSerializedRows(
      * 
* * repeated bytes serialized_rows = 1; + * * @param value The serializedRows to add. * @return This builder for chaining. */ public Builder addSerializedRows(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } ensureSerializedRowsIsMutable(); serializedRows_.add(value); onChanged(); return this; } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -535,18 +588,20 @@ public Builder addSerializedRows(com.google.protobuf.ByteString value) {
      * 
* * repeated bytes serialized_rows = 1; + * * @param values The serializedRows to add. * @return This builder for chaining. */ public Builder addAllSerializedRows( java.lang.Iterable values) { ensureSerializedRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, serializedRows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, serializedRows_); onChanged(); return this; } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -555,6 +610,7 @@ public Builder addAllSerializedRows(
      * 
* * repeated bytes serialized_rows = 1; + * * @return This builder for chaining. */ public Builder clearSerializedRows() { @@ -563,9 +619,9 @@ public Builder clearSerializedRows() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -575,12 +631,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ProtoRows) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ProtoRows) private static final com.google.cloud.bigquery.storage.v1.ProtoRows DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ProtoRows(); } @@ -589,27 +645,27 @@ public static com.google.cloud.bigquery.storage.v1.ProtoRows getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProtoRows parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProtoRows parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -624,6 +680,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ProtoRows getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRowsOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRowsOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRowsOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRowsOrBuilder.java index f8d855fd35..3d187d0d79 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRowsOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRowsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/protobuf.proto package com.google.cloud.bigquery.storage.v1; -public interface ProtoRowsOrBuilder extends +public interface ProtoRowsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ProtoRows) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -16,10 +34,13 @@ public interface ProtoRowsOrBuilder extends
    * 
* * repeated bytes serialized_rows = 1; + * * @return A list containing the serializedRows. */ java.util.List getSerializedRowsList(); /** + * + * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -28,10 +49,13 @@ public interface ProtoRowsOrBuilder extends
    * 
* * repeated bytes serialized_rows = 1; + * * @return The count of serializedRows. */ int getSerializedRowsCount(); /** + * + * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -40,6 +64,7 @@ public interface ProtoRowsOrBuilder extends
    * 
* * repeated bytes serialized_rows = 1; + * * @param index The index of the element to return. * @return The serializedRows at the given index. */ diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchema.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchema.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchema.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchema.java index 4fb4b63e9d..6e261cb020 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchema.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchema.java @@ -1,50 +1,70 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/protobuf.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * ProtoSchema describes the schema of the serialized protocol buffer data rows.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ProtoSchema} */ -public final class ProtoSchema extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProtoSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ProtoSchema) ProtoSchemaOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProtoSchema.newBuilder() to construct. private ProtoSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProtoSchema() { - } + + private ProtoSchema() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProtoSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ProtoSchema.class, com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder.class); + com.google.cloud.bigquery.storage.v1.ProtoSchema.class, + com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder.class); } public static final int PROTO_DESCRIPTOR_FIELD_NUMBER = 1; private com.google.protobuf.DescriptorProtos.DescriptorProto protoDescriptor_; /** + * + * *
    * Descriptor for input message.  The provided descriptor must be self
    * contained, such that data rows sent can be fully decoded using only the
@@ -58,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; + * * @return Whether the protoDescriptor field is set. */ @java.lang.Override @@ -65,6 +86,8 @@ public boolean hasProtoDescriptor() { return protoDescriptor_ != null; } /** + * + * *
    * Descriptor for input message.  The provided descriptor must be self
    * contained, such that data rows sent can be fully decoded using only the
@@ -78,13 +101,18 @@ public boolean hasProtoDescriptor() {
    * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; + * * @return The protoDescriptor. */ @java.lang.Override public com.google.protobuf.DescriptorProtos.DescriptorProto getProtoDescriptor() { - return protoDescriptor_ == null ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance() : protoDescriptor_; + return protoDescriptor_ == null + ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance() + : protoDescriptor_; } /** + * + * *
    * Descriptor for input message.  The provided descriptor must be self
    * contained, such that data rows sent can be fully decoded using only the
@@ -100,11 +128,15 @@ public com.google.protobuf.DescriptorProtos.DescriptorProto getProtoDescriptor()
    * .google.protobuf.DescriptorProto proto_descriptor = 1;
    */
   @java.lang.Override
-  public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getProtoDescriptorOrBuilder() {
-    return protoDescriptor_ == null ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance() : protoDescriptor_;
+  public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder
+      getProtoDescriptorOrBuilder() {
+    return protoDescriptor_ == null
+        ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()
+        : protoDescriptor_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -122,8 +154,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (protoDescriptor_ != null) {
       output.writeMessage(1, getProtoDescriptor());
     }
@@ -137,8 +168,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (protoDescriptor_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getProtoDescriptor());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProtoDescriptor());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -148,17 +178,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ProtoSchema)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.storage.v1.ProtoSchema other = (com.google.cloud.bigquery.storage.v1.ProtoSchema) obj;
+    com.google.cloud.bigquery.storage.v1.ProtoSchema other =
+        (com.google.cloud.bigquery.storage.v1.ProtoSchema) obj;
 
     if (hasProtoDescriptor() != other.hasProtoDescriptor()) return false;
     if (hasProtoDescriptor()) {
-      if (!getProtoDescriptor()
-          .equals(other.getProtoDescriptor())) return false;
+      if (!getProtoDescriptor().equals(other.getProtoDescriptor())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -180,132 +210,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ProtoSchema prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * ProtoSchema describes the schema of the serialized protocol buffer data rows.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ProtoSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ProtoSchema) com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ProtoSchema.class, com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder.class); + com.google.cloud.bigquery.storage.v1.ProtoSchema.class, + com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.ProtoSchema.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -319,9 +353,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; } @java.lang.Override @@ -340,8 +374,11 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchema build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.ProtoSchema buildPartial() { - com.google.cloud.bigquery.storage.v1.ProtoSchema result = new com.google.cloud.bigquery.storage.v1.ProtoSchema(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.ProtoSchema result = + new com.google.cloud.bigquery.storage.v1.ProtoSchema(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -349,9 +386,8 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchema buildPartial() { private void buildPartial0(com.google.cloud.bigquery.storage.v1.ProtoSchema result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.protoDescriptor_ = protoDescriptorBuilder_ == null - ? protoDescriptor_ - : protoDescriptorBuilder_.build(); + result.protoDescriptor_ = + protoDescriptorBuilder_ == null ? protoDescriptor_ : protoDescriptorBuilder_.build(); } } @@ -359,38 +395,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ProtoSchema resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ProtoSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ProtoSchema)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.ProtoSchema) other); } else { super.mergeFrom(other); return this; @@ -398,7 +435,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ProtoSchema other) { - if (other == com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance()) + return this; if (other.hasProtoDescriptor()) { mergeProtoDescriptor(other.getProtoDescriptor()); } @@ -433,19 +471,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getProtoDescriptorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getProtoDescriptorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,12 +493,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.DescriptorProtos.DescriptorProto protoDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> protoDescriptorBuilder_; + com.google.protobuf.DescriptorProtos.DescriptorProto, + com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, + com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> + protoDescriptorBuilder_; /** + * + * *
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -474,12 +518,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; + * * @return Whether the protoDescriptor field is set. */ public boolean hasProtoDescriptor() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -493,16 +540,21 @@ public boolean hasProtoDescriptor() {
      * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; + * * @return The protoDescriptor. */ public com.google.protobuf.DescriptorProtos.DescriptorProto getProtoDescriptor() { if (protoDescriptorBuilder_ == null) { - return protoDescriptor_ == null ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance() : protoDescriptor_; + return protoDescriptor_ == null + ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance() + : protoDescriptor_; } else { return protoDescriptorBuilder_.getMessage(); } } /** + * + * *
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -531,6 +583,8 @@ public Builder setProtoDescriptor(com.google.protobuf.DescriptorProtos.Descripto
       return this;
     }
     /**
+     *
+     *
      * 
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -557,6 +611,8 @@ public Builder setProtoDescriptor(
       return this;
     }
     /**
+     *
+     *
      * 
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -571,11 +627,13 @@ public Builder setProtoDescriptor(
      *
      * .google.protobuf.DescriptorProto proto_descriptor = 1;
      */
-    public Builder mergeProtoDescriptor(com.google.protobuf.DescriptorProtos.DescriptorProto value) {
+    public Builder mergeProtoDescriptor(
+        com.google.protobuf.DescriptorProtos.DescriptorProto value) {
       if (protoDescriptorBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          protoDescriptor_ != null &&
-          protoDescriptor_ != com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && protoDescriptor_ != null
+            && protoDescriptor_
+                != com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()) {
           getProtoDescriptorBuilder().mergeFrom(value);
         } else {
           protoDescriptor_ = value;
@@ -588,6 +646,8 @@ public Builder mergeProtoDescriptor(com.google.protobuf.DescriptorProtos.Descrip
       return this;
     }
     /**
+     *
+     *
      * 
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -613,6 +673,8 @@ public Builder clearProtoDescriptor() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -627,12 +689,15 @@ public Builder clearProtoDescriptor() {
      *
      * .google.protobuf.DescriptorProto proto_descriptor = 1;
      */
-    public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder getProtoDescriptorBuilder() {
+    public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder
+        getProtoDescriptorBuilder() {
       bitField0_ |= 0x00000001;
       onChanged();
       return getProtoDescriptorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -647,15 +712,19 @@ public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder getProtoDesc
      *
      * .google.protobuf.DescriptorProto proto_descriptor = 1;
      */
-    public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getProtoDescriptorOrBuilder() {
+    public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder
+        getProtoDescriptorOrBuilder() {
       if (protoDescriptorBuilder_ != null) {
         return protoDescriptorBuilder_.getMessageOrBuilder();
       } else {
-        return protoDescriptor_ == null ?
-            com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance() : protoDescriptor_;
+        return protoDescriptor_ == null
+            ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()
+            : protoDescriptor_;
       }
     }
     /**
+     *
+     *
      * 
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -671,21 +740,24 @@ public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getProtoDes
      * .google.protobuf.DescriptorProto proto_descriptor = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 
+            com.google.protobuf.DescriptorProtos.DescriptorProto,
+            com.google.protobuf.DescriptorProtos.DescriptorProto.Builder,
+            com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
         getProtoDescriptorFieldBuilder() {
       if (protoDescriptorBuilder_ == null) {
-        protoDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>(
-                getProtoDescriptor(),
-                getParentForChildren(),
-                isClean());
+        protoDescriptorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.DescriptorProtos.DescriptorProto,
+                com.google.protobuf.DescriptorProtos.DescriptorProto.Builder,
+                com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>(
+                getProtoDescriptor(), getParentForChildren(), isClean());
         protoDescriptor_ = null;
       }
       return protoDescriptorBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -695,12 +767,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ProtoSchema)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ProtoSchema)
   private static final com.google.cloud.bigquery.storage.v1.ProtoSchema DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ProtoSchema();
   }
@@ -709,27 +781,27 @@ public static com.google.cloud.bigquery.storage.v1.ProtoSchema getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ProtoSchema parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ProtoSchema parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -744,6 +816,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.storage.v1.ProtoSchema getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchemaOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchemaOrBuilder.java
similarity index 79%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchemaOrBuilder.java
rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchemaOrBuilder.java
index ca7c7816ad..b3e28d24b5 100644
--- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchemaOrBuilder.java
+++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchemaOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1/protobuf.proto
 
 package com.google.cloud.bigquery.storage.v1;
 
-public interface ProtoSchemaOrBuilder extends
+public interface ProtoSchemaOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ProtoSchema)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Descriptor for input message.  The provided descriptor must be self
    * contained, such that data rows sent can be fully decoded using only the
@@ -21,10 +39,13 @@ public interface ProtoSchemaOrBuilder extends
    * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; + * * @return Whether the protoDescriptor field is set. */ boolean hasProtoDescriptor(); /** + * + * *
    * Descriptor for input message.  The provided descriptor must be self
    * contained, such that data rows sent can be fully decoded using only the
@@ -38,10 +59,13 @@ public interface ProtoSchemaOrBuilder extends
    * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; + * * @return The protoDescriptor. */ com.google.protobuf.DescriptorProtos.DescriptorProto getProtoDescriptor(); /** + * + * *
    * Descriptor for input message.  The provided descriptor must be self
    * contained, such that data rows sent can be fully decoded using only the
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequest.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequest.java
similarity index 64%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequest.java
rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequest.java
index 11712be3c7..0f2f7c36b8 100644
--- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequest.java
+++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequest.java
@@ -1,57 +1,82 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1/storage.proto
 
 package com.google.cloud.bigquery.storage.v1;
 
 /**
+ *
+ *
  * 
  * Request message for `ReadRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadRowsRequest} */ -public final class ReadRowsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReadRowsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ReadRowsRequest) ReadRowsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadRowsRequest.newBuilder() to construct. private ReadRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReadRowsRequest() { readStream_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ReadRowsRequest.class, com.google.cloud.bigquery.storage.v1.ReadRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.ReadRowsRequest.class, + com.google.cloud.bigquery.storage.v1.ReadRowsRequest.Builder.class); } public static final int READ_STREAM_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object readStream_ = ""; /** + * + * *
    * Required. Stream to read rows from.
    * 
* - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The readStream. */ @java.lang.Override @@ -60,29 +85,31 @@ public java.lang.String getReadStream() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); readStream_ = s; return s; } } /** + * + * *
    * Required. Stream to read rows from.
    * 
* - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for readStream. */ @java.lang.Override - public com.google.protobuf.ByteString - getReadStreamBytes() { + public com.google.protobuf.ByteString getReadStreamBytes() { java.lang.Object ref = readStream_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); readStream_ = b; return b; } else { @@ -93,6 +120,8 @@ public java.lang.String getReadStream() { public static final int OFFSET_FIELD_NUMBER = 2; private long offset_ = 0L; /** + * + * *
    * The offset requested must be less than the last row read from Read.
    * Requesting a larger offset is undefined. If not specified, start reading
@@ -100,6 +129,7 @@ public java.lang.String getReadStream() {
    * 
* * int64 offset = 2; + * * @return The offset. */ @java.lang.Override @@ -108,6 +138,7 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,8 +150,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(readStream_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, readStream_); } @@ -140,8 +170,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, readStream_); } if (offset_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, offset_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, offset_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -151,17 +180,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ReadRowsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ReadRowsRequest other = (com.google.cloud.bigquery.storage.v1.ReadRowsRequest) obj; + com.google.cloud.bigquery.storage.v1.ReadRowsRequest other = + (com.google.cloud.bigquery.storage.v1.ReadRowsRequest) obj; - if (!getReadStream() - .equals(other.getReadStream())) return false; - if (getOffset() - != other.getOffset()) return false; + if (!getReadStream().equals(other.getReadStream())) return false; + if (getOffset() != other.getOffset()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,139 +204,142 @@ public int hashCode() { hash = (37 * hash) + READ_STREAM_FIELD_NUMBER; hash = (53 * hash) + getReadStream().hashCode(); hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ReadRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `ReadRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadRowsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ReadRowsRequest) com.google.cloud.bigquery.storage.v1.ReadRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ReadRowsRequest.class, com.google.cloud.bigquery.storage.v1.ReadRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.ReadRowsRequest.class, + com.google.cloud.bigquery.storage.v1.ReadRowsRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.ReadRowsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -319,9 +350,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor; } @java.lang.Override @@ -340,8 +371,11 @@ public com.google.cloud.bigquery.storage.v1.ReadRowsRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadRowsRequest buildPartial() { - com.google.cloud.bigquery.storage.v1.ReadRowsRequest result = new com.google.cloud.bigquery.storage.v1.ReadRowsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.ReadRowsRequest result = + new com.google.cloud.bigquery.storage.v1.ReadRowsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -360,38 +394,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadRowsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ReadRowsRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadRowsRequest)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadRowsRequest) other); } else { super.mergeFrom(other); return this; @@ -399,7 +434,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadRowsRequest other) { - if (other == com.google.cloud.bigquery.storage.v1.ReadRowsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.ReadRowsRequest.getDefaultInstance()) + return this; if (!other.getReadStream().isEmpty()) { readStream_ = other.readStream_; bitField0_ |= 0x00000001; @@ -434,22 +470,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - readStream_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - offset_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + readStream_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + offset_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -459,22 +498,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object readStream_ = ""; /** + * + * *
      * Required. Stream to read rows from.
      * 
* - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The readStream. */ public java.lang.String getReadStream() { java.lang.Object ref = readStream_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); readStream_ = s; return s; @@ -483,20 +527,23 @@ public java.lang.String getReadStream() { } } /** + * + * *
      * Required. Stream to read rows from.
      * 
* - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for readStream. */ - public com.google.protobuf.ByteString - getReadStreamBytes() { + public com.google.protobuf.ByteString getReadStreamBytes() { java.lang.Object ref = readStream_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); readStream_ = b; return b; } else { @@ -504,28 +551,39 @@ public java.lang.String getReadStream() { } } /** + * + * *
      * Required. Stream to read rows from.
      * 
* - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The readStream to set. * @return This builder for chaining. */ - public Builder setReadStream( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReadStream(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } readStream_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Stream to read rows from.
      * 
* - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearReadStream() { @@ -535,17 +593,23 @@ public Builder clearReadStream() { return this; } /** + * + * *
      * Required. Stream to read rows from.
      * 
* - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for readStream to set. * @return This builder for chaining. */ - public Builder setReadStreamBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReadStreamBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); readStream_ = value; bitField0_ |= 0x00000001; @@ -553,8 +617,10 @@ public Builder setReadStreamBytes( return this; } - private long offset_ ; + private long offset_; /** + * + * *
      * The offset requested must be less than the last row read from Read.
      * Requesting a larger offset is undefined. If not specified, start reading
@@ -562,6 +628,7 @@ public Builder setReadStreamBytes(
      * 
* * int64 offset = 2; + * * @return The offset. */ @java.lang.Override @@ -569,6 +636,8 @@ public long getOffset() { return offset_; } /** + * + * *
      * The offset requested must be less than the last row read from Read.
      * Requesting a larger offset is undefined. If not specified, start reading
@@ -576,6 +645,7 @@ public long getOffset() {
      * 
* * int64 offset = 2; + * * @param value The offset to set. * @return This builder for chaining. */ @@ -587,6 +657,8 @@ public Builder setOffset(long value) { return this; } /** + * + * *
      * The offset requested must be less than the last row read from Read.
      * Requesting a larger offset is undefined. If not specified, start reading
@@ -594,6 +666,7 @@ public Builder setOffset(long value) {
      * 
* * int64 offset = 2; + * * @return This builder for chaining. */ public Builder clearOffset() { @@ -602,9 +675,9 @@ public Builder clearOffset() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,12 +687,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ReadRowsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ReadRowsRequest) private static final com.google.cloud.bigquery.storage.v1.ReadRowsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ReadRowsRequest(); } @@ -628,27 +701,27 @@ public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,6 +736,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ReadRowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java new file mode 100644 index 0000000000..38282a1d26 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java @@ -0,0 +1,69 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/storage.proto + +package com.google.cloud.bigquery.storage.v1; + +public interface ReadRowsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ReadRowsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Stream to read rows from.
+   * 
+ * + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The readStream. + */ + java.lang.String getReadStream(); + /** + * + * + *
+   * Required. Stream to read rows from.
+   * 
+ * + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for readStream. + */ + com.google.protobuf.ByteString getReadStreamBytes(); + + /** + * + * + *
+   * The offset requested must be less than the last row read from Read.
+   * Requesting a larger offset is undefined. If not specified, start reading
+   * from offset zero.
+   * 
+ * + * int64 offset = 2; + * + * @return The offset. + */ + long getOffset(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java index e60a5081e8..3809799ba4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java @@ -1,9 +1,26 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Response from calling `ReadRows` may include row data, progress and
  * throttling information.
@@ -11,48 +28,53 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadRowsResponse}
  */
-public final class ReadRowsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReadRowsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ReadRowsResponse)
     ReadRowsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReadRowsResponse.newBuilder() to construct.
   private ReadRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ReadRowsResponse() {
-  }
+
+  private ReadRowsResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReadRowsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1.StorageProto
+        .internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1.StorageProto
+        .internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1.ReadRowsResponse.class, com.google.cloud.bigquery.storage.v1.ReadRowsResponse.Builder.class);
+            com.google.cloud.bigquery.storage.v1.ReadRowsResponse.class,
+            com.google.cloud.bigquery.storage.v1.ReadRowsResponse.Builder.class);
   }
 
   private int rowsCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object rows_;
+
   public enum RowsCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AVRO_ROWS(3),
     ARROW_RECORD_BATCH(4),
     ROWS_NOT_SET(0);
     private final int value;
+
     private RowsCase(int value) {
       this.value = value;
     }
@@ -68,33 +90,40 @@ public static RowsCase valueOf(int value) {
 
     public static RowsCase forNumber(int value) {
       switch (value) {
-        case 3: return AVRO_ROWS;
-        case 4: return ARROW_RECORD_BATCH;
-        case 0: return ROWS_NOT_SET;
-        default: return null;
+        case 3:
+          return AVRO_ROWS;
+        case 4:
+          return ARROW_RECORD_BATCH;
+        case 0:
+          return ROWS_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public RowsCase
-  getRowsCase() {
-    return RowsCase.forNumber(
-        rowsCase_);
+  public RowsCase getRowsCase() {
+    return RowsCase.forNumber(rowsCase_);
   }
 
   private int schemaCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object schema_;
+
   public enum SchemaCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AVRO_SCHEMA(7),
     ARROW_SCHEMA(8),
     SCHEMA_NOT_SET(0);
     private final int value;
+
     private SchemaCase(int value) {
       this.value = value;
     }
@@ -110,30 +139,36 @@ public static SchemaCase valueOf(int value) {
 
     public static SchemaCase forNumber(int value) {
       switch (value) {
-        case 7: return AVRO_SCHEMA;
-        case 8: return ARROW_SCHEMA;
-        case 0: return SCHEMA_NOT_SET;
-        default: return null;
+        case 7:
+          return AVRO_SCHEMA;
+        case 8:
+          return ARROW_SCHEMA;
+        case 0:
+          return SCHEMA_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SchemaCase
-  getSchemaCase() {
-    return SchemaCase.forNumber(
-        schemaCase_);
+  public SchemaCase getSchemaCase() {
+    return SchemaCase.forNumber(schemaCase_);
   }
 
   public static final int AVRO_ROWS_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * Serialized row data in AVRO format.
    * 
* * .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3; + * * @return Whether the avroRows field is set. */ @java.lang.Override @@ -141,21 +176,26 @@ public boolean hasAvroRows() { return rowsCase_ == 3; } /** + * + * *
    * Serialized row data in AVRO format.
    * 
* * .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3; + * * @return The avroRows. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.AvroRows getAvroRows() { if (rowsCase_ == 3) { - return (com.google.cloud.bigquery.storage.v1.AvroRows) rows_; + return (com.google.cloud.bigquery.storage.v1.AvroRows) rows_; } return com.google.cloud.bigquery.storage.v1.AvroRows.getDefaultInstance(); } /** + * + * *
    * Serialized row data in AVRO format.
    * 
@@ -165,18 +205,21 @@ public com.google.cloud.bigquery.storage.v1.AvroRows getAvroRows() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder getAvroRowsOrBuilder() { if (rowsCase_ == 3) { - return (com.google.cloud.bigquery.storage.v1.AvroRows) rows_; + return (com.google.cloud.bigquery.storage.v1.AvroRows) rows_; } return com.google.cloud.bigquery.storage.v1.AvroRows.getDefaultInstance(); } public static final int ARROW_RECORD_BATCH_FIELD_NUMBER = 4; /** + * + * *
    * Serialized row data in Arrow RecordBatch format.
    * 
* * .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; + * * @return Whether the arrowRecordBatch field is set. */ @java.lang.Override @@ -184,21 +227,26 @@ public boolean hasArrowRecordBatch() { return rowsCase_ == 4; } /** + * + * *
    * Serialized row data in Arrow RecordBatch format.
    * 
* * .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; + * * @return The arrowRecordBatch. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowRecordBatch getArrowRecordBatch() { if (rowsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_; + return (com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_; } return com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.getDefaultInstance(); } /** + * + * *
    * Serialized row data in Arrow RecordBatch format.
    * 
@@ -206,9 +254,10 @@ public com.google.cloud.bigquery.storage.v1.ArrowRecordBatch getArrowRecordBatch * .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder getArrowRecordBatchOrBuilder() { + public com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder + getArrowRecordBatchOrBuilder() { if (rowsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_; + return (com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_; } return com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.getDefaultInstance(); } @@ -216,11 +265,14 @@ public com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder getArrowRe public static final int ROW_COUNT_FIELD_NUMBER = 6; private long rowCount_ = 0L; /** + * + * *
    * Number of serialized rows in the rows block.
    * 
* * int64 row_count = 6; + * * @return The rowCount. */ @java.lang.Override @@ -231,11 +283,14 @@ public long getRowCount() { public static final int STATS_FIELD_NUMBER = 2; private com.google.cloud.bigquery.storage.v1.StreamStats stats_; /** + * + * *
    * Statistics for the stream.
    * 
* * .google.cloud.bigquery.storage.v1.StreamStats stats = 2; + * * @return Whether the stats field is set. */ @java.lang.Override @@ -243,18 +298,25 @@ public boolean hasStats() { return stats_ != null; } /** + * + * *
    * Statistics for the stream.
    * 
* * .google.cloud.bigquery.storage.v1.StreamStats stats = 2; + * * @return The stats. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.StreamStats getStats() { - return stats_ == null ? com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance() + : stats_; } /** + * + * *
    * Statistics for the stream.
    * 
@@ -263,18 +325,23 @@ public com.google.cloud.bigquery.storage.v1.StreamStats getStats() { */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder getStatsOrBuilder() { - return stats_ == null ? com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance() + : stats_; } public static final int THROTTLE_STATE_FIELD_NUMBER = 5; private com.google.cloud.bigquery.storage.v1.ThrottleState throttleState_; /** + * + * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
    * 
* * .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5; + * * @return Whether the throttleState field is set. */ @java.lang.Override @@ -282,19 +349,26 @@ public boolean hasThrottleState() { return throttleState_ != null; } /** + * + * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
    * 
* * .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5; + * * @return The throttleState. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ThrottleState getThrottleState() { - return throttleState_ == null ? com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance() : throttleState_; + return throttleState_ == null + ? com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance() + : throttleState_; } /** + * + * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
@@ -304,16 +378,23 @@ public com.google.cloud.bigquery.storage.v1.ThrottleState getThrottleState() {
    */
   @java.lang.Override
   public com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder getThrottleStateOrBuilder() {
-    return throttleState_ == null ? com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance() : throttleState_;
+    return throttleState_ == null
+        ? com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance()
+        : throttleState_;
   }
 
   public static final int AVRO_SCHEMA_FIELD_NUMBER = 7;
   /**
+   *
+   *
    * 
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -321,42 +402,56 @@ public boolean hasAvroSchema() { return schemaCase_ == 7; } /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.AvroSchema getAvroSchema() { if (schemaCase_ == 7) { - return (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_; + return (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_; } return com.google.cloud.bigquery.storage.v1.AvroSchema.getDefaultInstance(); } /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder getAvroSchemaOrBuilder() { if (schemaCase_ == 7) { - return (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_; + return (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_; } return com.google.cloud.bigquery.storage.v1.AvroSchema.getDefaultInstance(); } public static final int ARROW_SCHEMA_FIELD_NUMBER = 8; /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -364,36 +459,46 @@ public boolean hasArrowSchema() { return schemaCase_ == 8; } /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowSchema getArrowSchema() { if (schemaCase_ == 8) { - return (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1.ArrowSchema.getDefaultInstance(); } /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { if (schemaCase_ == 8) { - return (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1.ArrowSchema.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -405,8 +510,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (stats_ != null) { output.writeMessage(2, getStats()); } @@ -438,32 +542,33 @@ public int getSerializedSize() { size = 0; if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStats()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStats()); } if (rowsCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.bigquery.storage.v1.AvroRows) rows_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.bigquery.storage.v1.AvroRows) rows_); } if (rowsCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_); } if (throttleState_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getThrottleState()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getThrottleState()); } if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(6, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, rowCount_); } if (schemaCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_); } if (schemaCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -473,34 +578,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ReadRowsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ReadRowsResponse other = (com.google.cloud.bigquery.storage.v1.ReadRowsResponse) obj; + com.google.cloud.bigquery.storage.v1.ReadRowsResponse other = + (com.google.cloud.bigquery.storage.v1.ReadRowsResponse) obj; - if (getRowCount() - != other.getRowCount()) return false; + if (getRowCount() != other.getRowCount()) return false; if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; + if (!getStats().equals(other.getStats())) return false; } if (hasThrottleState() != other.hasThrottleState()) return false; if (hasThrottleState()) { - if (!getThrottleState() - .equals(other.getThrottleState())) return false; + if (!getThrottleState().equals(other.getThrottleState())) return false; } if (!getRowsCase().equals(other.getRowsCase())) return false; switch (rowsCase_) { case 3: - if (!getAvroRows() - .equals(other.getAvroRows())) return false; + if (!getAvroRows().equals(other.getAvroRows())) return false; break; case 4: - if (!getArrowRecordBatch() - .equals(other.getArrowRecordBatch())) return false; + if (!getArrowRecordBatch().equals(other.getArrowRecordBatch())) return false; break; case 0: default: @@ -508,12 +609,10 @@ public boolean equals(final java.lang.Object obj) { if (!getSchemaCase().equals(other.getSchemaCase())) return false; switch (schemaCase_) { case 7: - if (!getAvroSchema() - .equals(other.getAvroSchema())) return false; + if (!getAvroSchema().equals(other.getAvroSchema())) return false; break; case 8: - if (!getArrowSchema() - .equals(other.getArrowSchema())) return false; + if (!getArrowSchema().equals(other.getArrowSchema())) return false; break; case 0: default: @@ -530,8 +629,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); if (hasStats()) { hash = (37 * hash) + STATS_FIELD_NUMBER; hash = (53 * hash) + getStats().hashCode(); @@ -570,98 +668,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ReadRowsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.ReadRowsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response from calling `ReadRows` may include row data, progress and
    * throttling information.
@@ -669,33 +773,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadRowsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ReadRowsResponse)
       com.google.cloud.bigquery.storage.v1.ReadRowsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1.ReadRowsResponse.class, com.google.cloud.bigquery.storage.v1.ReadRowsResponse.Builder.class);
+              com.google.cloud.bigquery.storage.v1.ReadRowsResponse.class,
+              com.google.cloud.bigquery.storage.v1.ReadRowsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.storage.v1.ReadRowsResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -731,9 +834,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.storage.v1.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -752,8 +855,11 @@ public com.google.cloud.bigquery.storage.v1.ReadRowsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1.ReadRowsResponse buildPartial() {
-      com.google.cloud.bigquery.storage.v1.ReadRowsResponse result = new com.google.cloud.bigquery.storage.v1.ReadRowsResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.storage.v1.ReadRowsResponse result =
+          new com.google.cloud.bigquery.storage.v1.ReadRowsResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -765,36 +871,29 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadRowsResponse
         result.rowCount_ = rowCount_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.stats_ = statsBuilder_ == null
-            ? stats_
-            : statsBuilder_.build();
+        result.stats_ = statsBuilder_ == null ? stats_ : statsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.throttleState_ = throttleStateBuilder_ == null
-            ? throttleState_
-            : throttleStateBuilder_.build();
+        result.throttleState_ =
+            throttleStateBuilder_ == null ? throttleState_ : throttleStateBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.ReadRowsResponse result) {
       result.rowsCase_ = rowsCase_;
       result.rows_ = this.rows_;
-      if (rowsCase_ == 3 &&
-          avroRowsBuilder_ != null) {
+      if (rowsCase_ == 3 && avroRowsBuilder_ != null) {
         result.rows_ = avroRowsBuilder_.build();
       }
-      if (rowsCase_ == 4 &&
-          arrowRecordBatchBuilder_ != null) {
+      if (rowsCase_ == 4 && arrowRecordBatchBuilder_ != null) {
         result.rows_ = arrowRecordBatchBuilder_.build();
       }
       result.schemaCase_ = schemaCase_;
       result.schema_ = this.schema_;
-      if (schemaCase_ == 7 &&
-          avroSchemaBuilder_ != null) {
+      if (schemaCase_ == 7 && avroSchemaBuilder_ != null) {
         result.schema_ = avroSchemaBuilder_.build();
       }
-      if (schemaCase_ == 8 &&
-          arrowSchemaBuilder_ != null) {
+      if (schemaCase_ == 8 && arrowSchemaBuilder_ != null) {
         result.schema_ = arrowSchemaBuilder_.build();
       }
     }
@@ -803,38 +902,39 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.ReadRowsRes
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1.ReadRowsResponse) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadRowsResponse)other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadRowsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -842,7 +942,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadRowsResponse other) {
-      if (other == com.google.cloud.bigquery.storage.v1.ReadRowsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.storage.v1.ReadRowsResponse.getDefaultInstance())
+        return this;
       if (other.getRowCount() != 0L) {
         setRowCount(other.getRowCount());
       }
@@ -853,30 +954,36 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadRowsResponse o
         mergeThrottleState(other.getThrottleState());
       }
       switch (other.getRowsCase()) {
-        case AVRO_ROWS: {
-          mergeAvroRows(other.getAvroRows());
-          break;
-        }
-        case ARROW_RECORD_BATCH: {
-          mergeArrowRecordBatch(other.getArrowRecordBatch());
-          break;
-        }
-        case ROWS_NOT_SET: {
-          break;
-        }
+        case AVRO_ROWS:
+          {
+            mergeAvroRows(other.getAvroRows());
+            break;
+          }
+        case ARROW_RECORD_BATCH:
+          {
+            mergeArrowRecordBatch(other.getArrowRecordBatch());
+            break;
+          }
+        case ROWS_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getSchemaCase()) {
-        case AVRO_SCHEMA: {
-          mergeAvroSchema(other.getAvroSchema());
-          break;
-        }
-        case ARROW_SCHEMA: {
-          mergeArrowSchema(other.getArrowSchema());
-          break;
-        }
-        case SCHEMA_NOT_SET: {
-          break;
-        }
+        case AVRO_SCHEMA:
+          {
+            mergeAvroSchema(other.getAvroSchema());
+            break;
+          }
+        case ARROW_SCHEMA:
+          {
+            mergeArrowSchema(other.getArrowSchema());
+            break;
+          }
+        case SCHEMA_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -904,59 +1011,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              input.readMessage(
-                  getStatsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getAvroRowsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              rowsCase_ = 3;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getArrowRecordBatchFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              rowsCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getThrottleStateFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 48: {
-              rowCount_ = input.readInt64();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 48
-            case 58: {
-              input.readMessage(
-                  getAvroSchemaFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              schemaCase_ = 7;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getArrowSchemaFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              schemaCase_ = 8;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                input.readMessage(getStatsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getAvroRowsFieldBuilder().getBuilder(), extensionRegistry);
+                rowsCase_ = 3;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getArrowRecordBatchFieldBuilder().getBuilder(), extensionRegistry);
+                rowsCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getThrottleStateFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 48:
+              {
+                rowCount_ = input.readInt64();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 48
+            case 58:
+              {
+                input.readMessage(getAvroSchemaFieldBuilder().getBuilder(), extensionRegistry);
+                schemaCase_ = 7;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getArrowSchemaFieldBuilder().getBuilder(), extensionRegistry);
+                schemaCase_ = 8;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -966,12 +1070,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int rowsCase_ = 0;
     private java.lang.Object rows_;
-    public RowsCase
-        getRowsCase() {
-      return RowsCase.forNumber(
-          rowsCase_);
+
+    public RowsCase getRowsCase() {
+      return RowsCase.forNumber(rowsCase_);
     }
 
     public Builder clearRows() {
@@ -983,10 +1087,9 @@ public Builder clearRows() {
 
     private int schemaCase_ = 0;
     private java.lang.Object schema_;
-    public SchemaCase
-        getSchemaCase() {
-      return SchemaCase.forNumber(
-          schemaCase_);
+
+    public SchemaCase getSchemaCase() {
+      return SchemaCase.forNumber(schemaCase_);
     }
 
     public Builder clearSchema() {
@@ -999,13 +1102,19 @@ public Builder clearSchema() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1.AvroRows, com.google.cloud.bigquery.storage.v1.AvroRows.Builder, com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder> avroRowsBuilder_;
+            com.google.cloud.bigquery.storage.v1.AvroRows,
+            com.google.cloud.bigquery.storage.v1.AvroRows.Builder,
+            com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder>
+        avroRowsBuilder_;
     /**
+     *
+     *
      * 
      * Serialized row data in AVRO format.
      * 
* * .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3; + * * @return Whether the avroRows field is set. */ @java.lang.Override @@ -1013,11 +1122,14 @@ public boolean hasAvroRows() { return rowsCase_ == 3; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
* * .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3; + * * @return The avroRows. */ @java.lang.Override @@ -1035,6 +1147,8 @@ public com.google.cloud.bigquery.storage.v1.AvroRows getAvroRows() { } } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1055,6 +1169,8 @@ public Builder setAvroRows(com.google.cloud.bigquery.storage.v1.AvroRows value) return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1073,6 +1189,8 @@ public Builder setAvroRows( return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1081,10 +1199,13 @@ public Builder setAvroRows( */ public Builder mergeAvroRows(com.google.cloud.bigquery.storage.v1.AvroRows value) { if (avroRowsBuilder_ == null) { - if (rowsCase_ == 3 && - rows_ != com.google.cloud.bigquery.storage.v1.AvroRows.getDefaultInstance()) { - rows_ = com.google.cloud.bigquery.storage.v1.AvroRows.newBuilder((com.google.cloud.bigquery.storage.v1.AvroRows) rows_) - .mergeFrom(value).buildPartial(); + if (rowsCase_ == 3 + && rows_ != com.google.cloud.bigquery.storage.v1.AvroRows.getDefaultInstance()) { + rows_ = + com.google.cloud.bigquery.storage.v1.AvroRows.newBuilder( + (com.google.cloud.bigquery.storage.v1.AvroRows) rows_) + .mergeFrom(value) + .buildPartial(); } else { rows_ = value; } @@ -1100,6 +1221,8 @@ public Builder mergeAvroRows(com.google.cloud.bigquery.storage.v1.AvroRows value return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1123,6 +1246,8 @@ public Builder clearAvroRows() { return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1133,6 +1258,8 @@ public com.google.cloud.bigquery.storage.v1.AvroRows.Builder getAvroRowsBuilder( return getAvroRowsFieldBuilder().getBuilder(); } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1151,6 +1278,8 @@ public com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder getAvroRowsOrBuild } } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1158,14 +1287,19 @@ public com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder getAvroRowsOrBuild * .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AvroRows, com.google.cloud.bigquery.storage.v1.AvroRows.Builder, com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder> + com.google.cloud.bigquery.storage.v1.AvroRows, + com.google.cloud.bigquery.storage.v1.AvroRows.Builder, + com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder> getAvroRowsFieldBuilder() { if (avroRowsBuilder_ == null) { if (!(rowsCase_ == 3)) { rows_ = com.google.cloud.bigquery.storage.v1.AvroRows.getDefaultInstance(); } - avroRowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AvroRows, com.google.cloud.bigquery.storage.v1.AvroRows.Builder, com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder>( + avroRowsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.AvroRows, + com.google.cloud.bigquery.storage.v1.AvroRows.Builder, + com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder>( (com.google.cloud.bigquery.storage.v1.AvroRows) rows_, getParentForChildren(), isClean()); @@ -1177,13 +1311,19 @@ public com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder getAvroRowsOrBuild } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowRecordBatch, com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder, com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder> arrowRecordBatchBuilder_; + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch, + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder, + com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder> + arrowRecordBatchBuilder_; /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; + * * @return Whether the arrowRecordBatch field is set. */ @java.lang.Override @@ -1191,11 +1331,14 @@ public boolean hasArrowRecordBatch() { return rowsCase_ == 4; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; + * * @return The arrowRecordBatch. */ @java.lang.Override @@ -1213,13 +1356,16 @@ public com.google.cloud.bigquery.storage.v1.ArrowRecordBatch getArrowRecordBatch } } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; */ - public Builder setArrowRecordBatch(com.google.cloud.bigquery.storage.v1.ArrowRecordBatch value) { + public Builder setArrowRecordBatch( + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch value) { if (arrowRecordBatchBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1233,6 +1379,8 @@ public Builder setArrowRecordBatch(com.google.cloud.bigquery.storage.v1.ArrowRec return this; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1251,18 +1399,25 @@ public Builder setArrowRecordBatch( return this; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; */ - public Builder mergeArrowRecordBatch(com.google.cloud.bigquery.storage.v1.ArrowRecordBatch value) { + public Builder mergeArrowRecordBatch( + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch value) { if (arrowRecordBatchBuilder_ == null) { - if (rowsCase_ == 4 && - rows_ != com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.getDefaultInstance()) { - rows_ = com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.newBuilder((com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_) - .mergeFrom(value).buildPartial(); + if (rowsCase_ == 4 + && rows_ + != com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.getDefaultInstance()) { + rows_ = + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.newBuilder( + (com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_) + .mergeFrom(value) + .buildPartial(); } else { rows_ = value; } @@ -1278,6 +1433,8 @@ public Builder mergeArrowRecordBatch(com.google.cloud.bigquery.storage.v1.ArrowR return this; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1301,16 +1458,21 @@ public Builder clearArrowRecordBatch() { return this; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; */ - public com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder getArrowRecordBatchBuilder() { + public com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder + getArrowRecordBatchBuilder() { return getArrowRecordBatchFieldBuilder().getBuilder(); } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1318,7 +1480,8 @@ public com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder getArrowRec * .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder getArrowRecordBatchOrBuilder() { + public com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder + getArrowRecordBatchOrBuilder() { if ((rowsCase_ == 4) && (arrowRecordBatchBuilder_ != null)) { return arrowRecordBatchBuilder_.getMessageOrBuilder(); } else { @@ -1329,6 +1492,8 @@ public com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder getArrowRe } } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1336,14 +1501,19 @@ public com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder getArrowRe * .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowRecordBatch, com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder, com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder> + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch, + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder, + com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder> getArrowRecordBatchFieldBuilder() { if (arrowRecordBatchBuilder_ == null) { if (!(rowsCase_ == 4)) { rows_ = com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.getDefaultInstance(); } - arrowRecordBatchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowRecordBatch, com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder, com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder>( + arrowRecordBatchBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch, + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder, + com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder>( (com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_, getParentForChildren(), isClean()); @@ -1354,13 +1524,16 @@ public com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder getArrowRe return arrowRecordBatchBuilder_; } - private long rowCount_ ; + private long rowCount_; /** + * + * *
      * Number of serialized rows in the rows block.
      * 
* * int64 row_count = 6; + * * @return The rowCount. */ @java.lang.Override @@ -1368,11 +1541,14 @@ public long getRowCount() { return rowCount_; } /** + * + * *
      * Number of serialized rows in the rows block.
      * 
* * int64 row_count = 6; + * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -1384,11 +1560,14 @@ public Builder setRowCount(long value) { return this; } /** + * + * *
      * Number of serialized rows in the rows block.
      * 
* * int64 row_count = 6; + * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -1400,34 +1579,47 @@ public Builder clearRowCount() { private com.google.cloud.bigquery.storage.v1.StreamStats stats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.StreamStats, com.google.cloud.bigquery.storage.v1.StreamStats.Builder, com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder> statsBuilder_; + com.google.cloud.bigquery.storage.v1.StreamStats, + com.google.cloud.bigquery.storage.v1.StreamStats.Builder, + com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder> + statsBuilder_; /** + * + * *
      * Statistics for the stream.
      * 
* * .google.cloud.bigquery.storage.v1.StreamStats stats = 2; + * * @return Whether the stats field is set. */ public boolean hasStats() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Statistics for the stream.
      * 
* * .google.cloud.bigquery.storage.v1.StreamStats stats = 2; + * * @return The stats. */ public com.google.cloud.bigquery.storage.v1.StreamStats getStats() { if (statsBuilder_ == null) { - return stats_ == null ? com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance() + : stats_; } else { return statsBuilder_.getMessage(); } } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1448,6 +1640,8 @@ public Builder setStats(com.google.cloud.bigquery.storage.v1.StreamStats value) return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1466,6 +1660,8 @@ public Builder setStats( return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1474,9 +1670,9 @@ public Builder setStats( */ public Builder mergeStats(com.google.cloud.bigquery.storage.v1.StreamStats value) { if (statsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - stats_ != null && - stats_ != com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && stats_ != null + && stats_ != com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance()) { getStatsBuilder().mergeFrom(value); } else { stats_ = value; @@ -1489,6 +1685,8 @@ public Builder mergeStats(com.google.cloud.bigquery.storage.v1.StreamStats value return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1506,6 +1704,8 @@ public Builder clearStats() { return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1518,6 +1718,8 @@ public com.google.cloud.bigquery.storage.v1.StreamStats.Builder getStatsBuilder( return getStatsFieldBuilder().getBuilder(); } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1528,11 +1730,14 @@ public com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder getStatsOrBuild if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null ? - com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance() + : stats_; } } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1540,14 +1745,17 @@ public com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder getStatsOrBuild * .google.cloud.bigquery.storage.v1.StreamStats stats = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.StreamStats, com.google.cloud.bigquery.storage.v1.StreamStats.Builder, com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder> + com.google.cloud.bigquery.storage.v1.StreamStats, + com.google.cloud.bigquery.storage.v1.StreamStats.Builder, + com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.StreamStats, com.google.cloud.bigquery.storage.v1.StreamStats.Builder, com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); + statsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.StreamStats, + com.google.cloud.bigquery.storage.v1.StreamStats.Builder, + com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder>( + getStats(), getParentForChildren(), isClean()); stats_ = null; } return statsBuilder_; @@ -1555,36 +1763,49 @@ public com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder getStatsOrBuild private com.google.cloud.bigquery.storage.v1.ThrottleState throttleState_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ThrottleState, com.google.cloud.bigquery.storage.v1.ThrottleState.Builder, com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder> throttleStateBuilder_; + com.google.cloud.bigquery.storage.v1.ThrottleState, + com.google.cloud.bigquery.storage.v1.ThrottleState.Builder, + com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder> + throttleStateBuilder_; /** + * + * *
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
      * 
* * .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5; + * * @return Whether the throttleState field is set. */ public boolean hasThrottleState() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
      * 
* * .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5; + * * @return The throttleState. */ public com.google.cloud.bigquery.storage.v1.ThrottleState getThrottleState() { if (throttleStateBuilder_ == null) { - return throttleState_ == null ? com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance() : throttleState_; + return throttleState_ == null + ? com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance() + : throttleState_; } else { return throttleStateBuilder_.getMessage(); } } /** + * + * *
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1606,6 +1827,8 @@ public Builder setThrottleState(com.google.cloud.bigquery.storage.v1.ThrottleSta
       return this;
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1625,6 +1848,8 @@ public Builder setThrottleState(
       return this;
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1634,9 +1859,10 @@ public Builder setThrottleState(
      */
     public Builder mergeThrottleState(com.google.cloud.bigquery.storage.v1.ThrottleState value) {
       if (throttleStateBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          throttleState_ != null &&
-          throttleState_ != com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && throttleState_ != null
+            && throttleState_
+                != com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance()) {
           getThrottleStateBuilder().mergeFrom(value);
         } else {
           throttleState_ = value;
@@ -1649,6 +1875,8 @@ public Builder mergeThrottleState(com.google.cloud.bigquery.storage.v1.ThrottleS
       return this;
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1667,6 +1895,8 @@ public Builder clearThrottleState() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1680,6 +1910,8 @@ public com.google.cloud.bigquery.storage.v1.ThrottleState.Builder getThrottleSta
       return getThrottleStateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1691,11 +1923,14 @@ public com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder getThrottleSt
       if (throttleStateBuilder_ != null) {
         return throttleStateBuilder_.getMessageOrBuilder();
       } else {
-        return throttleState_ == null ?
-            com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance() : throttleState_;
+        return throttleState_ == null
+            ? com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance()
+            : throttleState_;
       }
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1704,27 +1939,38 @@ public com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder getThrottleSt
      * .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1.ThrottleState, com.google.cloud.bigquery.storage.v1.ThrottleState.Builder, com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder> 
+            com.google.cloud.bigquery.storage.v1.ThrottleState,
+            com.google.cloud.bigquery.storage.v1.ThrottleState.Builder,
+            com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder>
         getThrottleStateFieldBuilder() {
       if (throttleStateBuilder_ == null) {
-        throttleStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1.ThrottleState, com.google.cloud.bigquery.storage.v1.ThrottleState.Builder, com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder>(
-                getThrottleState(),
-                getParentForChildren(),
-                isClean());
+        throttleStateBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.bigquery.storage.v1.ThrottleState,
+                com.google.cloud.bigquery.storage.v1.ThrottleState.Builder,
+                com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder>(
+                getThrottleState(), getParentForChildren(), isClean());
         throttleState_ = null;
       }
       return throttleStateBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1.AvroSchema, com.google.cloud.bigquery.storage.v1.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder> avroSchemaBuilder_;
+            com.google.cloud.bigquery.storage.v1.AvroSchema,
+            com.google.cloud.bigquery.storage.v1.AvroSchema.Builder,
+            com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder>
+        avroSchemaBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -1732,11 +1978,16 @@ public boolean hasAvroSchema() { return schemaCase_ == 7; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ @java.lang.Override @@ -1754,11 +2005,15 @@ public com.google.cloud.bigquery.storage.v1.AvroSchema getAvroSchema() { } } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAvroSchema(com.google.cloud.bigquery.storage.v1.AvroSchema value) { if (avroSchemaBuilder_ == null) { @@ -1774,11 +2029,15 @@ public Builder setAvroSchema(com.google.cloud.bigquery.storage.v1.AvroSchema val return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAvroSchema( com.google.cloud.bigquery.storage.v1.AvroSchema.Builder builderForValue) { @@ -1792,18 +2051,25 @@ public Builder setAvroSchema( return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeAvroSchema(com.google.cloud.bigquery.storage.v1.AvroSchema value) { if (avroSchemaBuilder_ == null) { - if (schemaCase_ == 7 && - schema_ != com.google.cloud.bigquery.storage.v1.AvroSchema.getDefaultInstance()) { - schema_ = com.google.cloud.bigquery.storage.v1.AvroSchema.newBuilder((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 7 + && schema_ != com.google.cloud.bigquery.storage.v1.AvroSchema.getDefaultInstance()) { + schema_ = + com.google.cloud.bigquery.storage.v1.AvroSchema.newBuilder( + (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -1819,11 +2085,15 @@ public Builder mergeAvroSchema(com.google.cloud.bigquery.storage.v1.AvroSchema v return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAvroSchema() { if (avroSchemaBuilder_ == null) { @@ -1842,21 +2112,29 @@ public Builder clearAvroSchema() { return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1.AvroSchema.Builder getAvroSchemaBuilder() { return getAvroSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder getAvroSchemaOrBuilder() { @@ -1870,21 +2148,30 @@ public com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder getAvroSchemaOrB } } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AvroSchema, com.google.cloud.bigquery.storage.v1.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1.AvroSchema, + com.google.cloud.bigquery.storage.v1.AvroSchema.Builder, + com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder> getAvroSchemaFieldBuilder() { if (avroSchemaBuilder_ == null) { if (!(schemaCase_ == 7)) { schema_ = com.google.cloud.bigquery.storage.v1.AvroSchema.getDefaultInstance(); } - avroSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AvroSchema, com.google.cloud.bigquery.storage.v1.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder>( + avroSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.AvroSchema, + com.google.cloud.bigquery.storage.v1.AvroSchema.Builder, + com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder>( (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_, getParentForChildren(), isClean()); @@ -1896,13 +2183,21 @@ public com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder getAvroSchemaOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowSchema, com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder> arrowSchemaBuilder_; + com.google.cloud.bigquery.storage.v1.ArrowSchema, + com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder> + arrowSchemaBuilder_; /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -1910,11 +2205,16 @@ public boolean hasArrowSchema() { return schemaCase_ == 8; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ @java.lang.Override @@ -1932,11 +2232,15 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchema getArrowSchema() { } } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1.ArrowSchema value) { if (arrowSchemaBuilder_ == null) { @@ -1952,11 +2256,15 @@ public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1.ArrowSchema v return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setArrowSchema( com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder builderForValue) { @@ -1970,18 +2278,25 @@ public Builder setArrowSchema( return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeArrowSchema(com.google.cloud.bigquery.storage.v1.ArrowSchema value) { if (arrowSchemaBuilder_ == null) { - if (schemaCase_ == 8 && - schema_ != com.google.cloud.bigquery.storage.v1.ArrowSchema.getDefaultInstance()) { - schema_ = com.google.cloud.bigquery.storage.v1.ArrowSchema.newBuilder((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 8 + && schema_ != com.google.cloud.bigquery.storage.v1.ArrowSchema.getDefaultInstance()) { + schema_ = + com.google.cloud.bigquery.storage.v1.ArrowSchema.newBuilder( + (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -1997,11 +2312,15 @@ public Builder mergeArrowSchema(com.google.cloud.bigquery.storage.v1.ArrowSchema return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearArrowSchema() { if (arrowSchemaBuilder_ == null) { @@ -2020,21 +2339,29 @@ public Builder clearArrowSchema() { return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder getArrowSchemaBuilder() { return getArrowSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { @@ -2048,21 +2375,30 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaO } } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowSchema, com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1.ArrowSchema, + com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder> getArrowSchemaFieldBuilder() { if (arrowSchemaBuilder_ == null) { if (!(schemaCase_ == 8)) { schema_ = com.google.cloud.bigquery.storage.v1.ArrowSchema.getDefaultInstance(); } - arrowSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowSchema, com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder>( + arrowSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.ArrowSchema, + com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder>( (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_, getParentForChildren(), isClean()); @@ -2072,9 +2408,9 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaO onChanged(); return arrowSchemaBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2084,12 +2420,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ReadRowsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ReadRowsResponse) private static final com.google.cloud.bigquery.storage.v1.ReadRowsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ReadRowsResponse(); } @@ -2098,27 +2434,27 @@ public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2133,6 +2469,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ReadRowsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java index 8d3084f564..857fcdeb75 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; -public interface ReadRowsResponseOrBuilder extends +public interface ReadRowsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ReadRowsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Serialized row data in AVRO format.
    * 
* * .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3; + * * @return Whether the avroRows field is set. */ boolean hasAvroRows(); /** + * + * *
    * Serialized row data in AVRO format.
    * 
* * .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3; + * * @return The avroRows. */ com.google.cloud.bigquery.storage.v1.AvroRows getAvroRows(); /** + * + * *
    * Serialized row data in AVRO format.
    * 
@@ -35,24 +59,32 @@ public interface ReadRowsResponseOrBuilder extends com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder getAvroRowsOrBuilder(); /** + * + * *
    * Serialized row data in Arrow RecordBatch format.
    * 
* * .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; + * * @return Whether the arrowRecordBatch field is set. */ boolean hasArrowRecordBatch(); /** + * + * *
    * Serialized row data in Arrow RecordBatch format.
    * 
* * .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; + * * @return The arrowRecordBatch. */ com.google.cloud.bigquery.storage.v1.ArrowRecordBatch getArrowRecordBatch(); /** + * + * *
    * Serialized row data in Arrow RecordBatch format.
    * 
@@ -62,34 +94,45 @@ public interface ReadRowsResponseOrBuilder extends com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder getArrowRecordBatchOrBuilder(); /** + * + * *
    * Number of serialized rows in the rows block.
    * 
* * int64 row_count = 6; + * * @return The rowCount. */ long getRowCount(); /** + * + * *
    * Statistics for the stream.
    * 
* * .google.cloud.bigquery.storage.v1.StreamStats stats = 2; + * * @return Whether the stats field is set. */ boolean hasStats(); /** + * + * *
    * Statistics for the stream.
    * 
* * .google.cloud.bigquery.storage.v1.StreamStats stats = 2; + * * @return The stats. */ com.google.cloud.bigquery.storage.v1.StreamStats getStats(); /** + * + * *
    * Statistics for the stream.
    * 
@@ -99,26 +142,34 @@ public interface ReadRowsResponseOrBuilder extends com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder getStatsOrBuilder(); /** + * + * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
    * 
* * .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5; + * * @return Whether the throttleState field is set. */ boolean hasThrottleState(); /** + * + * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
    * 
* * .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5; + * * @return The throttleState. */ com.google.cloud.bigquery.storage.v1.ThrottleState getThrottleState(); /** + * + * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
@@ -129,56 +180,84 @@ public interface ReadRowsResponseOrBuilder extends
   com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder getThrottleStateOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ boolean hasAvroSchema(); /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ com.google.cloud.bigquery.storage.v1.AvroSchema getAvroSchema(); /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder getAvroSchemaOrBuilder(); /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ boolean hasArrowSchema(); /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ com.google.cloud.bigquery.storage.v1.ArrowSchema getArrowSchema(); /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaOrBuilder(); diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java index e685379aa6..28eb0fd9f0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java @@ -1,24 +1,42 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/stream.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Information about the ReadSession.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadSession} */ -public final class ReadSession extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReadSession extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ReadSession) ReadSessionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadSession.newBuilder() to construct. private ReadSession(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReadSession() { name_ = ""; dataFormat_ = 0; @@ -29,47 +47,57 @@ private ReadSession() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadSession(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ReadSession.class, com.google.cloud.bigquery.storage.v1.ReadSession.Builder.class); + com.google.cloud.bigquery.storage.v1.ReadSession.class, + com.google.cloud.bigquery.storage.v1.ReadSession.Builder.class); } - public interface TableModifiersOrBuilder extends + public interface TableModifiersOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return Whether the snapshotTime field is set. */ boolean hasSnapshotTime(); /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return The snapshotTime. */ com.google.protobuf.Timestamp getSnapshotTime(); /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
@@ -79,52 +107,58 @@ public interface TableModifiersOrBuilder extends com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder(); } /** + * + * *
    * Additional attributes when reading a table.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadSession.TableModifiers} */ - public static final class TableModifiers extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TableModifiers extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) TableModifiersOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableModifiers.newBuilder() to construct. private TableModifiers(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableModifiers() { - } + + private TableModifiers() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableModifiers(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.class, com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder.class); + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.class, + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder.class); } public static final int SNAPSHOT_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp snapshotTime_; /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return Whether the snapshotTime field is set. */ @java.lang.Override @@ -132,18 +166,25 @@ public boolean hasSnapshotTime() { return snapshotTime_ != null; } /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return The snapshotTime. */ @java.lang.Override public com.google.protobuf.Timestamp getSnapshotTime() { - return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; + return snapshotTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : snapshotTime_; } /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
@@ -152,10 +193,13 @@ public com.google.protobuf.Timestamp getSnapshotTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { - return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; + return snapshotTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : snapshotTime_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +211,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (snapshotTime_ != null) { output.writeMessage(1, getSnapshotTime()); } @@ -182,8 +225,7 @@ public int getSerializedSize() { size = 0; if (snapshotTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSnapshotTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSnapshotTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -193,17 +235,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers other = (com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) obj; + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers other = + (com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) obj; if (hasSnapshotTime() != other.hasSnapshotTime()) return false; if (hasSnapshotTime()) { - if (!getSnapshotTime() - .equals(other.getSnapshotTime())) return false; + if (!getSnapshotTime().equals(other.getSnapshotTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -226,89 +268,95 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -318,39 +366,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Additional attributes when reading a table.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadSession.TableModifiers} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.class, com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder.class); + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.class, + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,13 +415,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance(); } @@ -385,18 +437,21 @@ public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers buildPartial() { - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers result = new com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers result = + new com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.snapshotTime_ = snapshotTimeBuilder_ == null - ? snapshotTime_ - : snapshotTimeBuilder_.build(); + result.snapshotTime_ = + snapshotTimeBuilder_ == null ? snapshotTime_ : snapshotTimeBuilder_.build(); } } @@ -404,46 +459,52 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadSession.Tabl public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers other) { - if (other == com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers other) { + if (other + == com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance()) + return this; if (other.hasSnapshotTime()) { mergeSnapshotTime(other.getSnapshotTime()); } @@ -473,19 +534,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getSnapshotTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getSnapshotTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -495,38 +556,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp snapshotTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> snapshotTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + snapshotTimeBuilder_; /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return Whether the snapshotTime field is set. */ public boolean hasSnapshotTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return The snapshotTime. */ public com.google.protobuf.Timestamp getSnapshotTime() { if (snapshotTimeBuilder_ == null) { - return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; + return snapshotTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : snapshotTime_; } else { return snapshotTimeBuilder_.getMessage(); } } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -547,14 +622,15 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; */ - public Builder setSnapshotTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (snapshotTimeBuilder_ == null) { snapshotTime_ = builderForValue.build(); } else { @@ -565,6 +641,8 @@ public Builder setSnapshotTime( return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -573,9 +651,9 @@ public Builder setSnapshotTime( */ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { if (snapshotTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - snapshotTime_ != null && - snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && snapshotTime_ != null + && snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getSnapshotTimeBuilder().mergeFrom(value); } else { snapshotTime_ = value; @@ -588,6 +666,8 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -605,6 +685,8 @@ public Builder clearSnapshotTime() { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -617,6 +699,8 @@ public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() { return getSnapshotTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -627,11 +711,14 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { if (snapshotTimeBuilder_ != null) { return snapshotTimeBuilder_.getMessageOrBuilder(); } else { - return snapshotTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; + return snapshotTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : snapshotTime_; } } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -639,18 +726,22 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { * .google.protobuf.Timestamp snapshot_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getSnapshotTimeFieldBuilder() { if (snapshotTimeBuilder_ == null) { - snapshotTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getSnapshotTime(), - getParentForChildren(), - isClean()); + snapshotTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getSnapshotTime(), getParentForChildren(), isClean()); snapshotTime_ = null; } return snapshotTimeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -663,41 +754,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) - private static final com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers(); } - public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableModifiers parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableModifiers parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -709,17 +803,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TableReadOptionsOrBuilder extends + public interface TableReadOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -771,11 +868,13 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * repeated string selected_fields = 1; + * * @return A list containing the selectedFields. */ - java.util.List - getSelectedFieldsList(); + java.util.List getSelectedFieldsList(); /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -827,10 +926,13 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * repeated string selected_fields = 1; + * * @return The count of selectedFields. */ int getSelectedFieldsCount(); /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -882,11 +984,14 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * repeated string selected_fields = 1; + * * @param index The index of the element to return. * @return The selectedFields at the given index. */ java.lang.String getSelectedFields(int index); /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -938,13 +1043,15 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * repeated string selected_fields = 1; + * * @param index The index of the value to return. * @return The bytes of the selectedFields at the given index. */ - com.google.protobuf.ByteString - getSelectedFieldsBytes(int index); + com.google.protobuf.ByteString getSelectedFieldsBytes(int index); /** + * + * *
      * SQL text filtering statement, similar to a WHERE clause in a query.
      * Aggregates are not supported.
@@ -959,10 +1066,13 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * string row_restriction = 2; + * * @return The rowRestriction. */ java.lang.String getRowRestriction(); /** + * + * *
      * SQL text filtering statement, similar to a WHERE clause in a query.
      * Aggregates are not supported.
@@ -977,66 +1087,98 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * string row_restriction = 2; + * * @return The bytes for rowRestriction. */ - com.google.protobuf.ByteString - getRowRestrictionBytes(); + com.google.protobuf.ByteString getRowRestrictionBytes(); /** + * + * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the arrowSerializationOptions field is set. */ boolean hasArrowSerializationOptions(); /** + * + * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The arrowSerializationOptions. */ com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions getArrowSerializationOptions(); /** + * + * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder getArrowSerializationOptionsOrBuilder(); + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder + getArrowSerializationOptionsOrBuilder(); /** + * + * *
      * Optional. Options specific to the Apache Avro output format
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the avroSerializationOptions field is set. */ boolean hasAvroSerializationOptions(); /** + * + * *
      * Optional. Options specific to the Apache Avro output format
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The avroSerializationOptions. */ com.google.cloud.bigquery.storage.v1.AvroSerializationOptions getAvroSerializationOptions(); /** + * + * *
      * Optional. Options specific to the Apache Avro output format
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder getAvroSerializationOptionsOrBuilder(); + com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder + getAvroSerializationOptionsOrBuilder(); /** + * + * *
      * Optional. Specifies a table sampling percentage. Specifically, the query
      * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -1047,10 +1189,13 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the samplePercentage field is set. */ boolean hasSamplePercentage(); /** + * + * *
      * Optional. Specifies a table sampling percentage. Specifically, the query
      * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -1061,65 +1206,75 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The samplePercentage. */ double getSamplePercentage(); - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.OutputFormatSerializationOptionsCase getOutputFormatSerializationOptionsCase(); + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions + .OutputFormatSerializationOptionsCase + getOutputFormatSerializationOptionsCase(); } /** + * + * *
    * Options dictating how we read a table.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions} */ - public static final class TableReadOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TableReadOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) TableReadOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableReadOptions.newBuilder() to construct. private TableReadOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TableReadOptions() { - selectedFields_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); rowRestriction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableReadOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.class, com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder.class); + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.class, + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder.class); } private int bitField0_; private int outputFormatSerializationOptionsCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object outputFormatSerializationOptions_; + public enum OutputFormatSerializationOptionsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ARROW_SERIALIZATION_OPTIONS(3), AVRO_SERIALIZATION_OPTIONS(4), OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET(0); private final int value; + private OutputFormatSerializationOptionsCase(int value) { this.value = value; } @@ -1135,28 +1290,34 @@ public static OutputFormatSerializationOptionsCase valueOf(int value) { public static OutputFormatSerializationOptionsCase forNumber(int value) { switch (value) { - case 3: return ARROW_SERIALIZATION_OPTIONS; - case 4: return AVRO_SERIALIZATION_OPTIONS; - case 0: return OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET; - default: return null; + case 3: + return ARROW_SERIALIZATION_OPTIONS; + case 4: + return AVRO_SERIALIZATION_OPTIONS; + case 0: + return OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OutputFormatSerializationOptionsCase - getOutputFormatSerializationOptionsCase() { - return OutputFormatSerializationOptionsCase.forNumber( - outputFormatSerializationOptionsCase_); + public OutputFormatSerializationOptionsCase getOutputFormatSerializationOptionsCase() { + return OutputFormatSerializationOptionsCase.forNumber(outputFormatSerializationOptionsCase_); } public static final int SELECTED_FIELDS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -1208,13 +1369,15 @@ public int getNumber() {
      * 
* * repeated string selected_fields = 1; + * * @return A list containing the selectedFields. */ - public com.google.protobuf.ProtocolStringList - getSelectedFieldsList() { + public com.google.protobuf.ProtocolStringList getSelectedFieldsList() { return selectedFields_; } /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -1266,12 +1429,15 @@ public int getNumber() {
      * 
* * repeated string selected_fields = 1; + * * @return The count of selectedFields. */ public int getSelectedFieldsCount() { return selectedFields_.size(); } /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -1323,6 +1489,7 @@ public int getSelectedFieldsCount() {
      * 
* * repeated string selected_fields = 1; + * * @param index The index of the element to return. * @return The selectedFields at the given index. */ @@ -1330,6 +1497,8 @@ public java.lang.String getSelectedFields(int index) { return selectedFields_.get(index); } /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -1381,18 +1550,21 @@ public java.lang.String getSelectedFields(int index) {
      * 
* * repeated string selected_fields = 1; + * * @param index The index of the value to return. * @return The bytes of the selectedFields at the given index. */ - public com.google.protobuf.ByteString - getSelectedFieldsBytes(int index) { + public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) { return selectedFields_.getByteString(index); } public static final int ROW_RESTRICTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object rowRestriction_ = ""; /** + * + * *
      * SQL text filtering statement, similar to a WHERE clause in a query.
      * Aggregates are not supported.
@@ -1407,6 +1579,7 @@ public java.lang.String getSelectedFields(int index) {
      * 
* * string row_restriction = 2; + * * @return The rowRestriction. */ @java.lang.Override @@ -1415,14 +1588,15 @@ public java.lang.String getRowRestriction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rowRestriction_ = s; return s; } } /** + * + * *
      * SQL text filtering statement, similar to a WHERE clause in a query.
      * Aggregates are not supported.
@@ -1437,16 +1611,15 @@ public java.lang.String getRowRestriction() {
      * 
* * string row_restriction = 2; + * * @return The bytes for rowRestriction. */ @java.lang.Override - public com.google.protobuf.ByteString - getRowRestrictionBytes() { + public com.google.protobuf.ByteString getRowRestrictionBytes() { java.lang.Object ref = rowRestriction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rowRestriction_ = b; return b; } else { @@ -1456,11 +1629,16 @@ public java.lang.String getRowRestriction() { public static final int ARROW_SERIALIZATION_OPTIONS_FIELD_NUMBER = 3; /** + * + * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the arrowSerializationOptions field is set. */ @java.lang.Override @@ -1468,42 +1646,60 @@ public boolean hasArrowSerializationOptions() { return outputFormatSerializationOptionsCase_ == 3; } /** + * + * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The arrowSerializationOptions. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions getArrowSerializationOptions() { + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions + getArrowSerializationOptions() { if (outputFormatSerializationOptionsCase_ == 3) { - return (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_; + return (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) + outputFormatSerializationOptions_; } return com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDefaultInstance(); } /** + * + * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder getArrowSerializationOptionsOrBuilder() { + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder + getArrowSerializationOptionsOrBuilder() { if (outputFormatSerializationOptionsCase_ == 3) { - return (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_; + return (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) + outputFormatSerializationOptions_; } return com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDefaultInstance(); } public static final int AVRO_SERIALIZATION_OPTIONS_FIELD_NUMBER = 4; /** + * + * *
      * Optional. Options specific to the Apache Avro output format
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the avroSerializationOptions field is set. */ @java.lang.Override @@ -1511,31 +1707,44 @@ public boolean hasAvroSerializationOptions() { return outputFormatSerializationOptionsCase_ == 4; } /** + * + * *
      * Optional. Options specific to the Apache Avro output format
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The avroSerializationOptions. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions getAvroSerializationOptions() { + public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions + getAvroSerializationOptions() { if (outputFormatSerializationOptionsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_; + return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) + outputFormatSerializationOptions_; } return com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance(); } /** + * + * *
      * Optional. Options specific to the Apache Avro output format
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder getAvroSerializationOptionsOrBuilder() { + public com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder + getAvroSerializationOptionsOrBuilder() { if (outputFormatSerializationOptionsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_; + return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) + outputFormatSerializationOptions_; } return com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance(); } @@ -1543,6 +1752,8 @@ public com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder ge public static final int SAMPLE_PERCENTAGE_FIELD_NUMBER = 5; private double samplePercentage_ = 0D; /** + * + * *
      * Optional. Specifies a table sampling percentage. Specifically, the query
      * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -1553,6 +1764,7 @@ public com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder ge
      * 
* * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the samplePercentage field is set. */ @java.lang.Override @@ -1560,6 +1772,8 @@ public boolean hasSamplePercentage() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Specifies a table sampling percentage. Specifically, the query
      * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -1570,6 +1784,7 @@ public boolean hasSamplePercentage() {
      * 
* * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The samplePercentage. */ @java.lang.Override @@ -1578,6 +1793,7 @@ public double getSamplePercentage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1589,8 +1805,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < selectedFields_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selectedFields_.getRaw(i)); } @@ -1598,10 +1813,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, rowRestriction_); } if (outputFormatSerializationOptionsCase_ == 3) { - output.writeMessage(3, (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_); + output.writeMessage( + 3, + (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) + outputFormatSerializationOptions_); } if (outputFormatSerializationOptionsCase_ == 4) { - output.writeMessage(4, (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_); + output.writeMessage( + 4, + (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) + outputFormatSerializationOptions_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeDouble(5, samplePercentage_); @@ -1627,16 +1848,21 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rowRestriction_); } if (outputFormatSerializationOptionsCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) + outputFormatSerializationOptions_); } if (outputFormatSerializationOptionsCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) + outputFormatSerializationOptions_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, samplePercentage_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, samplePercentage_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1646,32 +1872,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions other = (com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) obj; + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions other = + (com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) obj; - if (!getSelectedFieldsList() - .equals(other.getSelectedFieldsList())) return false; - if (!getRowRestriction() - .equals(other.getRowRestriction())) return false; + if (!getSelectedFieldsList().equals(other.getSelectedFieldsList())) return false; + if (!getRowRestriction().equals(other.getRowRestriction())) return false; if (hasSamplePercentage() != other.hasSamplePercentage()) return false; if (hasSamplePercentage()) { if (java.lang.Double.doubleToLongBits(getSamplePercentage()) - != java.lang.Double.doubleToLongBits( - other.getSamplePercentage())) return false; + != java.lang.Double.doubleToLongBits(other.getSamplePercentage())) return false; } - if (!getOutputFormatSerializationOptionsCase().equals(other.getOutputFormatSerializationOptionsCase())) return false; + if (!getOutputFormatSerializationOptionsCase() + .equals(other.getOutputFormatSerializationOptionsCase())) return false; switch (outputFormatSerializationOptionsCase_) { case 3: - if (!getArrowSerializationOptions() - .equals(other.getArrowSerializationOptions())) return false; + if (!getArrowSerializationOptions().equals(other.getArrowSerializationOptions())) + return false; break; case 4: - if (!getAvroSerializationOptions() - .equals(other.getAvroSerializationOptions())) return false; + if (!getAvroSerializationOptions().equals(other.getAvroSerializationOptions())) + return false; break; case 0: default: @@ -1695,8 +1920,10 @@ public int hashCode() { hash = (53 * hash) + getRowRestriction().hashCode(); if (hasSamplePercentage()) { hash = (37 * hash) + SAMPLE_PERCENTAGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSamplePercentage())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplePercentage())); } switch (outputFormatSerializationOptionsCase_) { case 3: @@ -1716,89 +1943,95 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1808,45 +2041,47 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Options dictating how we read a table.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.class, com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder.class); + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.class, + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - selectedFields_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); rowRestriction_ = ""; if (arrowSerializationOptionsBuilder_ != null) { arrowSerializationOptionsBuilder_.clear(); @@ -1861,14 +2096,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions + .getDefaultInstance(); } @java.lang.Override @@ -1882,14 +2119,18 @@ public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions build() @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions buildPartial() { - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions result = new com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions result = + new com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { selectedFields_.makeImmutable(); @@ -1906,15 +2147,16 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadSession.Tabl result.bitField0_ |= to_bitField0_; } - private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions result) { + private void buildPartialOneofs( + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions result) { result.outputFormatSerializationOptionsCase_ = outputFormatSerializationOptionsCase_; result.outputFormatSerializationOptions_ = this.outputFormatSerializationOptions_; - if (outputFormatSerializationOptionsCase_ == 3 && - arrowSerializationOptionsBuilder_ != null) { + if (outputFormatSerializationOptionsCase_ == 3 + && arrowSerializationOptionsBuilder_ != null) { result.outputFormatSerializationOptions_ = arrowSerializationOptionsBuilder_.build(); } - if (outputFormatSerializationOptionsCase_ == 4 && - avroSerializationOptionsBuilder_ != null) { + if (outputFormatSerializationOptionsCase_ == 4 + && avroSerializationOptionsBuilder_ != null) { result.outputFormatSerializationOptions_ = avroSerializationOptionsBuilder_.build(); } } @@ -1923,46 +2165,53 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.ReadSession public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions)other); + return mergeFrom( + (com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions other) { - if (other == com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions other) { + if (other + == com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions + .getDefaultInstance()) return this; if (!other.selectedFields_.isEmpty()) { if (selectedFields_.isEmpty()) { selectedFields_ = other.selectedFields_; @@ -1982,17 +2231,20 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadSession.TableR setSamplePercentage(other.getSamplePercentage()); } switch (other.getOutputFormatSerializationOptionsCase()) { - case ARROW_SERIALIZATION_OPTIONS: { - mergeArrowSerializationOptions(other.getArrowSerializationOptions()); - break; - } - case AVRO_SERIALIZATION_OPTIONS: { - mergeAvroSerializationOptions(other.getAvroSerializationOptions()); - break; - } - case OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET: { - break; - } + case ARROW_SERIALIZATION_OPTIONS: + { + mergeArrowSerializationOptions(other.getArrowSerializationOptions()); + break; + } + case AVRO_SERIALIZATION_OPTIONS: + { + mergeAvroSerializationOptions(other.getAvroSerializationOptions()); + break; + } + case OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2020,42 +2272,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSelectedFieldsIsMutable(); - selectedFields_.add(s); - break; - } // case 10 - case 18: { - rowRestriction_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getArrowSerializationOptionsFieldBuilder().getBuilder(), - extensionRegistry); - outputFormatSerializationOptionsCase_ = 3; - break; - } // case 26 - case 34: { - input.readMessage( - getAvroSerializationOptionsFieldBuilder().getBuilder(), - extensionRegistry); - outputFormatSerializationOptionsCase_ = 4; - break; - } // case 34 - case 41: { - samplePercentage_ = input.readDouble(); - bitField0_ |= 0x00000010; - break; - } // case 41 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSelectedFieldsIsMutable(); + selectedFields_.add(s); + break; + } // case 10 + case 18: + { + rowRestriction_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getArrowSerializationOptionsFieldBuilder().getBuilder(), extensionRegistry); + outputFormatSerializationOptionsCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage( + getAvroSerializationOptionsFieldBuilder().getBuilder(), extensionRegistry); + outputFormatSerializationOptionsCase_ = 4; + break; + } // case 34 + case 41: + { + samplePercentage_ = input.readDouble(); + bitField0_ |= 0x00000010; + break; + } // case 41 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2065,10 +2321,11 @@ public Builder mergeFrom( } // finally return this; } + private int outputFormatSerializationOptionsCase_ = 0; private java.lang.Object outputFormatSerializationOptions_; - public OutputFormatSerializationOptionsCase - getOutputFormatSerializationOptionsCase() { + + public OutputFormatSerializationOptionsCase getOutputFormatSerializationOptionsCase() { return OutputFormatSerializationOptionsCase.forNumber( outputFormatSerializationOptionsCase_); } @@ -2084,6 +2341,7 @@ public Builder clearOutputFormatSerializationOptions() { private com.google.protobuf.LazyStringArrayList selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSelectedFieldsIsMutable() { if (!selectedFields_.isModifiable()) { selectedFields_ = new com.google.protobuf.LazyStringArrayList(selectedFields_); @@ -2091,6 +2349,8 @@ private void ensureSelectedFieldsIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -2142,14 +2402,16 @@ private void ensureSelectedFieldsIsMutable() {
        * 
* * repeated string selected_fields = 1; + * * @return A list containing the selectedFields. */ - public com.google.protobuf.ProtocolStringList - getSelectedFieldsList() { + public com.google.protobuf.ProtocolStringList getSelectedFieldsList() { selectedFields_.makeImmutable(); return selectedFields_; } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -2201,12 +2463,15 @@ private void ensureSelectedFieldsIsMutable() {
        * 
* * repeated string selected_fields = 1; + * * @return The count of selectedFields. */ public int getSelectedFieldsCount() { return selectedFields_.size(); } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -2258,6 +2523,7 @@ public int getSelectedFieldsCount() {
        * 
* * repeated string selected_fields = 1; + * * @param index The index of the element to return. * @return The selectedFields at the given index. */ @@ -2265,6 +2531,8 @@ public java.lang.String getSelectedFields(int index) { return selectedFields_.get(index); } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -2316,14 +2584,16 @@ public java.lang.String getSelectedFields(int index) {
        * 
* * repeated string selected_fields = 1; + * * @param index The index of the value to return. * @return The bytes of the selectedFields at the given index. */ - public com.google.protobuf.ByteString - getSelectedFieldsBytes(int index) { + public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) { return selectedFields_.getByteString(index); } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -2375,13 +2645,15 @@ public java.lang.String getSelectedFields(int index) {
        * 
* * repeated string selected_fields = 1; + * * @param index The index to set the value at. * @param value The selectedFields to set. * @return This builder for chaining. */ - public Builder setSelectedFields( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelectedFields(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSelectedFieldsIsMutable(); selectedFields_.set(index, value); bitField0_ |= 0x00000001; @@ -2389,6 +2661,8 @@ public Builder setSelectedFields( return this; } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -2440,12 +2714,14 @@ public Builder setSelectedFields(
        * 
* * repeated string selected_fields = 1; + * * @param value The selectedFields to add. * @return This builder for chaining. */ - public Builder addSelectedFields( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSelectedFields(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSelectedFieldsIsMutable(); selectedFields_.add(value); bitField0_ |= 0x00000001; @@ -2453,6 +2729,8 @@ public Builder addSelectedFields( return this; } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -2504,19 +2782,20 @@ public Builder addSelectedFields(
        * 
* * repeated string selected_fields = 1; + * * @param values The selectedFields to add. * @return This builder for chaining. */ - public Builder addAllSelectedFields( - java.lang.Iterable values) { + public Builder addAllSelectedFields(java.lang.Iterable values) { ensureSelectedFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, selectedFields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, selectedFields_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -2568,16 +2847,19 @@ public Builder addAllSelectedFields(
        * 
* * repeated string selected_fields = 1; + * * @return This builder for chaining. */ public Builder clearSelectedFields() { - selectedFields_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -2629,12 +2911,14 @@ public Builder clearSelectedFields() {
        * 
* * repeated string selected_fields = 1; + * * @param value The bytes of the selectedFields to add. * @return This builder for chaining. */ - public Builder addSelectedFieldsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSelectedFieldsIsMutable(); selectedFields_.add(value); @@ -2645,6 +2929,8 @@ public Builder addSelectedFieldsBytes( private java.lang.Object rowRestriction_ = ""; /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2659,13 +2945,13 @@ public Builder addSelectedFieldsBytes(
        * 
* * string row_restriction = 2; + * * @return The rowRestriction. */ public java.lang.String getRowRestriction() { java.lang.Object ref = rowRestriction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rowRestriction_ = s; return s; @@ -2674,6 +2960,8 @@ public java.lang.String getRowRestriction() { } } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2688,15 +2976,14 @@ public java.lang.String getRowRestriction() {
        * 
* * string row_restriction = 2; + * * @return The bytes for rowRestriction. */ - public com.google.protobuf.ByteString - getRowRestrictionBytes() { + public com.google.protobuf.ByteString getRowRestrictionBytes() { java.lang.Object ref = rowRestriction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rowRestriction_ = b; return b; } else { @@ -2704,6 +2991,8 @@ public java.lang.String getRowRestriction() { } } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2718,18 +3007,22 @@ public java.lang.String getRowRestriction() {
        * 
* * string row_restriction = 2; + * * @param value The rowRestriction to set. * @return This builder for chaining. */ - public Builder setRowRestriction( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRowRestriction(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rowRestriction_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2744,6 +3037,7 @@ public Builder setRowRestriction(
        * 
* * string row_restriction = 2; + * * @return This builder for chaining. */ public Builder clearRowRestriction() { @@ -2753,6 +3047,8 @@ public Builder clearRowRestriction() { return this; } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2767,12 +3063,14 @@ public Builder clearRowRestriction() {
        * 
* * string row_restriction = 2; + * * @param value The bytes for rowRestriction to set. * @return This builder for chaining. */ - public Builder setRowRestrictionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRowRestrictionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rowRestriction_ = value; bitField0_ |= 0x00000002; @@ -2781,13 +3079,21 @@ public Builder setRowRestrictionBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions, com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder> arrowSerializationOptionsBuilder_; + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions, + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder, + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder> + arrowSerializationOptionsBuilder_; /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the arrowSerializationOptions field is set. */ @java.lang.Override @@ -2795,35 +3101,49 @@ public boolean hasArrowSerializationOptions() { return outputFormatSerializationOptionsCase_ == 3; } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The arrowSerializationOptions. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions getArrowSerializationOptions() { + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions + getArrowSerializationOptions() { if (arrowSerializationOptionsBuilder_ == null) { if (outputFormatSerializationOptionsCase_ == 3) { - return (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_; + return (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) + outputFormatSerializationOptions_; } - return com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions + .getDefaultInstance(); } else { if (outputFormatSerializationOptionsCase_ == 3) { return arrowSerializationOptionsBuilder_.getMessage(); } - return com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions + .getDefaultInstance(); } } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setArrowSerializationOptions(com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions value) { + public Builder setArrowSerializationOptions( + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions value) { if (arrowSerializationOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2837,11 +3157,15 @@ public Builder setArrowSerializationOptions(com.google.cloud.bigquery.storage.v1 return this; } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setArrowSerializationOptions( com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder builderForValue) { @@ -2855,18 +3179,29 @@ public Builder setArrowSerializationOptions( return this; } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeArrowSerializationOptions(com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions value) { + public Builder mergeArrowSerializationOptions( + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions value) { if (arrowSerializationOptionsBuilder_ == null) { - if (outputFormatSerializationOptionsCase_ == 3 && - outputFormatSerializationOptions_ != com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDefaultInstance()) { - outputFormatSerializationOptions_ = com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.newBuilder((com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_) - .mergeFrom(value).buildPartial(); + if (outputFormatSerializationOptionsCase_ == 3 + && outputFormatSerializationOptions_ + != com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions + .getDefaultInstance()) { + outputFormatSerializationOptions_ = + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.newBuilder( + (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) + outputFormatSerializationOptions_) + .mergeFrom(value) + .buildPartial(); } else { outputFormatSerializationOptions_ = value; } @@ -2882,11 +3217,15 @@ public Builder mergeArrowSerializationOptions(com.google.cloud.bigquery.storage. return this; } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearArrowSerializationOptions() { if (arrowSerializationOptionsBuilder_ == null) { @@ -2905,50 +3244,74 @@ public Builder clearArrowSerializationOptions() { return this; } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder getArrowSerializationOptionsBuilder() { + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder + getArrowSerializationOptionsBuilder() { return getArrowSerializationOptionsFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder getArrowSerializationOptionsOrBuilder() { - if ((outputFormatSerializationOptionsCase_ == 3) && (arrowSerializationOptionsBuilder_ != null)) { + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder + getArrowSerializationOptionsOrBuilder() { + if ((outputFormatSerializationOptionsCase_ == 3) + && (arrowSerializationOptionsBuilder_ != null)) { return arrowSerializationOptionsBuilder_.getMessageOrBuilder(); } else { if (outputFormatSerializationOptionsCase_ == 3) { - return (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_; + return (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) + outputFormatSerializationOptions_; } - return com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions + .getDefaultInstance(); } } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions, com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder> + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions, + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder, + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder> getArrowSerializationOptionsFieldBuilder() { if (arrowSerializationOptionsBuilder_ == null) { if (!(outputFormatSerializationOptionsCase_ == 3)) { - outputFormatSerializationOptions_ = com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDefaultInstance(); + outputFormatSerializationOptions_ = + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDefaultInstance(); } - arrowSerializationOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions, com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder>( - (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_, + arrowSerializationOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions, + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder, + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder>( + (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) + outputFormatSerializationOptions_, getParentForChildren(), isClean()); outputFormatSerializationOptions_ = null; @@ -2959,13 +3322,21 @@ public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder g } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions, com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder> avroSerializationOptionsBuilder_; + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions, + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder, + com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder> + avroSerializationOptionsBuilder_; /** + * + * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the avroSerializationOptions field is set. */ @java.lang.Override @@ -2973,18 +3344,25 @@ public boolean hasAvroSerializationOptions() { return outputFormatSerializationOptionsCase_ == 4; } /** + * + * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The avroSerializationOptions. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions getAvroSerializationOptions() { + public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions + getAvroSerializationOptions() { if (avroSerializationOptionsBuilder_ == null) { if (outputFormatSerializationOptionsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_; + return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) + outputFormatSerializationOptions_; } return com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance(); } else { @@ -2995,13 +3373,18 @@ public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions getAvroSeri } } /** + * + * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setAvroSerializationOptions(com.google.cloud.bigquery.storage.v1.AvroSerializationOptions value) { + public Builder setAvroSerializationOptions( + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions value) { if (avroSerializationOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3015,11 +3398,15 @@ public Builder setAvroSerializationOptions(com.google.cloud.bigquery.storage.v1. return this; } /** + * + * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAvroSerializationOptions( com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder builderForValue) { @@ -3033,18 +3420,29 @@ public Builder setAvroSerializationOptions( return this; } /** + * + * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeAvroSerializationOptions(com.google.cloud.bigquery.storage.v1.AvroSerializationOptions value) { + public Builder mergeAvroSerializationOptions( + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions value) { if (avroSerializationOptionsBuilder_ == null) { - if (outputFormatSerializationOptionsCase_ == 4 && - outputFormatSerializationOptions_ != com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance()) { - outputFormatSerializationOptions_ = com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.newBuilder((com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_) - .mergeFrom(value).buildPartial(); + if (outputFormatSerializationOptionsCase_ == 4 + && outputFormatSerializationOptions_ + != com.google.cloud.bigquery.storage.v1.AvroSerializationOptions + .getDefaultInstance()) { + outputFormatSerializationOptions_ = + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.newBuilder( + (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) + outputFormatSerializationOptions_) + .mergeFrom(value) + .buildPartial(); } else { outputFormatSerializationOptions_ = value; } @@ -3060,11 +3458,15 @@ public Builder mergeAvroSerializationOptions(com.google.cloud.bigquery.storage.v return this; } /** + * + * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAvroSerializationOptions() { if (avroSerializationOptionsBuilder_ == null) { @@ -3083,50 +3485,73 @@ public Builder clearAvroSerializationOptions() { return this; } /** + * + * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder getAvroSerializationOptionsBuilder() { + public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder + getAvroSerializationOptionsBuilder() { return getAvroSerializationOptionsFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder getAvroSerializationOptionsOrBuilder() { - if ((outputFormatSerializationOptionsCase_ == 4) && (avroSerializationOptionsBuilder_ != null)) { + public com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder + getAvroSerializationOptionsOrBuilder() { + if ((outputFormatSerializationOptionsCase_ == 4) + && (avroSerializationOptionsBuilder_ != null)) { return avroSerializationOptionsBuilder_.getMessageOrBuilder(); } else { if (outputFormatSerializationOptionsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_; + return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) + outputFormatSerializationOptions_; } return com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance(); } } /** + * + * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions, com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder> + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions, + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder, + com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder> getAvroSerializationOptionsFieldBuilder() { if (avroSerializationOptionsBuilder_ == null) { if (!(outputFormatSerializationOptionsCase_ == 4)) { - outputFormatSerializationOptions_ = com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance(); + outputFormatSerializationOptions_ = + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance(); } - avroSerializationOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions, com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder>( - (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_, + avroSerializationOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions, + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder, + com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder>( + (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) + outputFormatSerializationOptions_, getParentForChildren(), isClean()); outputFormatSerializationOptions_ = null; @@ -3136,8 +3561,10 @@ public com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder ge return avroSerializationOptionsBuilder_; } - private double samplePercentage_ ; + private double samplePercentage_; /** + * + * *
        * Optional. Specifies a table sampling percentage. Specifically, the query
        * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -3147,7 +3574,9 @@ public com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder ge
        * https://cloud.google.com/bigquery/docs/table-sampling)
        * 
* - * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; + * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the samplePercentage field is set. */ @java.lang.Override @@ -3155,6 +3584,8 @@ public boolean hasSamplePercentage() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
        * Optional. Specifies a table sampling percentage. Specifically, the query
        * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -3164,7 +3595,9 @@ public boolean hasSamplePercentage() {
        * https://cloud.google.com/bigquery/docs/table-sampling)
        * 
* - * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; + * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The samplePercentage. */ @java.lang.Override @@ -3172,6 +3605,8 @@ public double getSamplePercentage() { return samplePercentage_; } /** + * + * *
        * Optional. Specifies a table sampling percentage. Specifically, the query
        * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -3181,7 +3616,9 @@ public double getSamplePercentage() {
        * https://cloud.google.com/bigquery/docs/table-sampling)
        * 
* - * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; + * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The samplePercentage to set. * @return This builder for chaining. */ @@ -3193,6 +3630,8 @@ public Builder setSamplePercentage(double value) { return this; } /** + * + * *
        * Optional. Specifies a table sampling percentage. Specifically, the query
        * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -3202,7 +3641,9 @@ public Builder setSamplePercentage(double value) {
        * https://cloud.google.com/bigquery/docs/table-sampling)
        * 
* - * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; + * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearSamplePercentage() { @@ -3211,6 +3652,7 @@ public Builder clearSamplePercentage() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3223,41 +3665,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) - private static final com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions(); } - public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableReadOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableReadOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3269,22 +3714,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int schemaCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object schema_; + public enum SchemaCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO_SCHEMA(4), ARROW_SCHEMA(5), SCHEMA_NOT_SET(0); private final int value; + private SchemaCase(int value) { this.value = value; } @@ -3300,33 +3749,40 @@ public static SchemaCase valueOf(int value) { public static SchemaCase forNumber(int value) { switch (value) { - case 4: return AVRO_SCHEMA; - case 5: return ARROW_SCHEMA; - case 0: return SCHEMA_NOT_SET; - default: return null; + case 4: + return AVRO_SCHEMA; + case 5: + return ARROW_SCHEMA; + case 0: + return SCHEMA_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SchemaCase - getSchemaCase() { - return SchemaCase.forNumber( - schemaCase_); + public SchemaCase getSchemaCase() { + return SchemaCase.forNumber(schemaCase_); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Unique identifier for the session, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -3335,30 +3791,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Unique identifier for the session, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -3369,6 +3825,8 @@ public java.lang.String getName() { public static final int EXPIRE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp expireTime_; /** + * + * *
    * Output only. Time at which the session becomes invalid. After this time,
    * subsequent requests to read this Session will return errors. The
@@ -3376,7 +3834,9 @@ public java.lang.String getName() {
    * updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -3384,6 +3844,8 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * Output only. Time at which the session becomes invalid. After this time,
    * subsequent requests to read this Session will return errors. The
@@ -3391,7 +3853,9 @@ public boolean hasExpireTime() {
    * updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ @java.lang.Override @@ -3399,6 +3863,8 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * Output only. Time at which the session becomes invalid. After this time,
    * subsequent requests to read this Session will return errors. The
@@ -3406,7 +3872,8 @@ public com.google.protobuf.Timestamp getExpireTime() {
    * updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -3416,38 +3883,56 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int DATA_FORMAT_FIELD_NUMBER = 3; private int dataFormat_ = 0; /** + * + * *
    * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
    * supported.
    * 
* - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for dataFormat. */ - @java.lang.Override public int getDataFormatValue() { + @java.lang.Override + public int getDataFormatValue() { return dataFormat_; } /** + * + * *
    * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
    * supported.
    * 
* - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The dataFormat. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1.DataFormat getDataFormat() { - com.google.cloud.bigquery.storage.v1.DataFormat result = com.google.cloud.bigquery.storage.v1.DataFormat.forNumber(dataFormat_); + @java.lang.Override + public com.google.cloud.bigquery.storage.v1.DataFormat getDataFormat() { + com.google.cloud.bigquery.storage.v1.DataFormat result = + com.google.cloud.bigquery.storage.v1.DataFormat.forNumber(dataFormat_); return result == null ? com.google.cloud.bigquery.storage.v1.DataFormat.UNRECOGNIZED : result; } public static final int AVRO_SCHEMA_FIELD_NUMBER = 4; /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -3455,42 +3940,56 @@ public boolean hasAvroSchema() { return schemaCase_ == 4; } /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.AvroSchema getAvroSchema() { if (schemaCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_; + return (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_; } return com.google.cloud.bigquery.storage.v1.AvroSchema.getDefaultInstance(); } /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder getAvroSchemaOrBuilder() { if (schemaCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_; + return (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_; } return com.google.cloud.bigquery.storage.v1.AvroSchema.getDefaultInstance(); } public static final int ARROW_SCHEMA_FIELD_NUMBER = 5; /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -3498,45 +3997,60 @@ public boolean hasArrowSchema() { return schemaCase_ == 5; } /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowSchema getArrowSchema() { if (schemaCase_ == 5) { - return (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1.ArrowSchema.getDefaultInstance(); } /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { if (schemaCase_ == 5) { - return (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1.ArrowSchema.getDefaultInstance(); } public static final int TABLE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** + * + * *
    * Immutable. Table that this ReadSession is reading from, in the form
    * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
    * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The table. */ @java.lang.Override @@ -3545,30 +4059,32 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** + * + * *
    * Immutable. Table that this ReadSession is reading from, in the form
    * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
    * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -3579,12 +4095,17 @@ public java.lang.String getTable() { public static final int TABLE_MODIFIERS_FIELD_NUMBER = 7; private com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers tableModifiers_; /** + * + * *
    * Optional. Any modifiers which are applied when reading from the specified
    * table.
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the tableModifiers field is set. */ @java.lang.Override @@ -3592,39 +4113,58 @@ public boolean hasTableModifiers() { return tableModifiers_ != null; } /** + * + * *
    * Optional. Any modifiers which are applied when reading from the specified
    * table.
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The tableModifiers. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers getTableModifiers() { - return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() + : tableModifiers_; } /** + * + * *
    * Optional. Any modifiers which are applied when reading from the specified
    * table.
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder getTableModifiersOrBuilder() { - return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; + public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder + getTableModifiersOrBuilder() { + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() + : tableModifiers_; } public static final int READ_OPTIONS_FIELD_NUMBER = 8; private com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions readOptions_; /** + * + * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readOptions field is set. */ @java.lang.Override @@ -3632,33 +4172,50 @@ public boolean hasReadOptions() { return readOptions_ != null; } /** + * + * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readOptions. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions getReadOptions() { - return readOptions_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() + : readOptions_; } /** + * + * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { - return readOptions_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; + public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder + getReadOptionsOrBuilder() { + return readOptions_ == null + ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() + : readOptions_; } public static final int STREAMS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private java.util.List streams_; /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -3668,13 +4225,17 @@ public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilde
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getStreamsList() { return streams_; } /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -3684,14 +4245,18 @@ public java.util.List getStream
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getStreamsOrBuilderList() { return streams_; } /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -3701,13 +4266,17 @@ public java.util.List getStream
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getStreamsCount() { return streams_.size(); } /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -3717,13 +4286,17 @@ public int getStreamsCount() {
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadStream getStreams(int index) { return streams_.get(index); } /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -3733,24 +4306,29 @@ public com.google.cloud.bigquery.storage.v1.ReadStream getStreams(int index) {
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuilder( - int index) { + public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuilder(int index) { return streams_.get(index); } public static final int ESTIMATED_TOTAL_BYTES_SCANNED_FIELD_NUMBER = 12; private long estimatedTotalBytesScanned_ = 0L; /** + * + * *
    * Output only. An estimate on the number of bytes this session will scan when
    * all streams are completely consumed. This estimate is based on
    * metadata from the table which might be incomplete or stale.
    * 
* - * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The estimatedTotalBytesScanned. */ @java.lang.Override @@ -3761,6 +4339,8 @@ public long getEstimatedTotalBytesScanned() { public static final int ESTIMATED_TOTAL_PHYSICAL_FILE_SIZE_FIELD_NUMBER = 15; private long estimatedTotalPhysicalFileSize_ = 0L; /** + * + * *
    * Output only. A pre-projected estimate of the total physical size of files
    * (in bytes) that this session will scan when all streams are consumed. This
@@ -3769,7 +4349,10 @@ public long getEstimatedTotalBytesScanned() {
    * BigLake tables.
    * 
* - * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The estimatedTotalPhysicalFileSize. */ @java.lang.Override @@ -3780,6 +4363,8 @@ public long getEstimatedTotalPhysicalFileSize() { public static final int ESTIMATED_ROW_COUNT_FIELD_NUMBER = 14; private long estimatedRowCount_ = 0L; /** + * + * *
    * Output only. An estimate on the number of rows present in this session's
    * streams. This estimate is based on metadata from the table which might be
@@ -3787,6 +4372,7 @@ public long getEstimatedTotalPhysicalFileSize() {
    * 
* * int64 estimated_row_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The estimatedRowCount. */ @java.lang.Override @@ -3795,9 +4381,12 @@ public long getEstimatedRowCount() { } public static final int TRACE_ID_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object traceId_ = ""; /** + * + * *
    * Optional. ID set by client to annotate a session identity.  This does not
    * need to be strictly unique, but instead the same ID should be used to group
@@ -3808,6 +4397,7 @@ public long getEstimatedRowCount() {
    * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The traceId. */ @java.lang.Override @@ -3816,14 +4406,15 @@ public java.lang.String getTraceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); traceId_ = s; return s; } } /** + * + * *
    * Optional. ID set by client to annotate a session identity.  This does not
    * need to be strictly unique, but instead the same ID should be used to group
@@ -3834,16 +4425,15 @@ public java.lang.String getTraceId() {
    * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for traceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTraceIdBytes() { + public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); traceId_ = b; return b; } else { @@ -3852,6 +4442,7 @@ public java.lang.String getTraceId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3863,15 +4454,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (expireTime_ != null) { output.writeMessage(2, getExpireTime()); } - if (dataFormat_ != com.google.cloud.bigquery.storage.v1.DataFormat.DATA_FORMAT_UNSPECIFIED.getNumber()) { + if (dataFormat_ + != com.google.cloud.bigquery.storage.v1.DataFormat.DATA_FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(3, dataFormat_); } if (schemaCase_ == 4) { @@ -3917,50 +4508,48 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpireTime()); } - if (dataFormat_ != com.google.cloud.bigquery.storage.v1.DataFormat.DATA_FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, dataFormat_); + if (dataFormat_ + != com.google.cloud.bigquery.storage.v1.DataFormat.DATA_FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, dataFormat_); } if (schemaCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_); } if (schemaCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, table_); } if (tableModifiers_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getTableModifiers()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTableModifiers()); } if (readOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getReadOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getReadOptions()); } for (int i = 0; i < streams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, streams_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, streams_.get(i)); } if (estimatedTotalBytesScanned_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(12, estimatedTotalBytesScanned_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(12, estimatedTotalBytesScanned_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, traceId_); } if (estimatedRowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(14, estimatedRowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(14, estimatedRowCount_); } if (estimatedTotalPhysicalFileSize_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(15, estimatedTotalPhysicalFileSize_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 15, estimatedTotalPhysicalFileSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3970,52 +4559,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ReadSession)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ReadSession other = (com.google.cloud.bigquery.storage.v1.ReadSession) obj; + com.google.cloud.bigquery.storage.v1.ReadSession other = + (com.google.cloud.bigquery.storage.v1.ReadSession) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime() - .equals(other.getExpireTime())) return false; + if (!getExpireTime().equals(other.getExpireTime())) return false; } if (dataFormat_ != other.dataFormat_) return false; - if (!getTable() - .equals(other.getTable())) return false; + if (!getTable().equals(other.getTable())) return false; if (hasTableModifiers() != other.hasTableModifiers()) return false; if (hasTableModifiers()) { - if (!getTableModifiers() - .equals(other.getTableModifiers())) return false; + if (!getTableModifiers().equals(other.getTableModifiers())) return false; } if (hasReadOptions() != other.hasReadOptions()) return false; if (hasReadOptions()) { - if (!getReadOptions() - .equals(other.getReadOptions())) return false; - } - if (!getStreamsList() - .equals(other.getStreamsList())) return false; - if (getEstimatedTotalBytesScanned() - != other.getEstimatedTotalBytesScanned()) return false; - if (getEstimatedTotalPhysicalFileSize() - != other.getEstimatedTotalPhysicalFileSize()) return false; - if (getEstimatedRowCount() - != other.getEstimatedRowCount()) return false; - if (!getTraceId() - .equals(other.getTraceId())) return false; + if (!getReadOptions().equals(other.getReadOptions())) return false; + } + if (!getStreamsList().equals(other.getStreamsList())) return false; + if (getEstimatedTotalBytesScanned() != other.getEstimatedTotalBytesScanned()) return false; + if (getEstimatedTotalPhysicalFileSize() != other.getEstimatedTotalPhysicalFileSize()) + return false; + if (getEstimatedRowCount() != other.getEstimatedRowCount()) return false; + if (!getTraceId().equals(other.getTraceId())) return false; if (!getSchemaCase().equals(other.getSchemaCase())) return false; switch (schemaCase_) { case 4: - if (!getAvroSchema() - .equals(other.getAvroSchema())) return false; + if (!getAvroSchema().equals(other.getAvroSchema())) return false; break; case 5: - if (!getArrowSchema() - .equals(other.getArrowSchema())) return false; + if (!getArrowSchema().equals(other.getArrowSchema())) return false; break; case 0: default: @@ -4054,14 +4633,11 @@ public int hashCode() { hash = (53 * hash) + getStreamsList().hashCode(); } hash = (37 * hash) + ESTIMATED_TOTAL_BYTES_SCANNED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEstimatedTotalBytesScanned()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedTotalBytesScanned()); hash = (37 * hash) + ESTIMATED_TOTAL_PHYSICAL_FILE_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEstimatedTotalPhysicalFileSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedTotalPhysicalFileSize()); hash = (37 * hash) + ESTIMATED_ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEstimatedRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedRowCount()); hash = (37 * hash) + TRACE_ID_FIELD_NUMBER; hash = (53 * hash) + getTraceId().hashCode(); switch (schemaCase_) { @@ -4081,132 +4657,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.ReadSession parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.ReadSession parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadSession parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadSession parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadSession parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadSession parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadSession parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadSession parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.ReadSession parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ReadSession parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadSession parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ReadSession parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.ReadSession parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadSession parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ReadSession parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ReadSession prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about the ReadSession.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadSession} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ReadSession) com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ReadSession.class, com.google.cloud.bigquery.storage.v1.ReadSession.Builder.class); + com.google.cloud.bigquery.storage.v1.ReadSession.class, + com.google.cloud.bigquery.storage.v1.ReadSession.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.ReadSession.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4252,9 +4832,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor; } @java.lang.Override @@ -4273,15 +4853,19 @@ public com.google.cloud.bigquery.storage.v1.ReadSession build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSession buildPartial() { - com.google.cloud.bigquery.storage.v1.ReadSession result = new com.google.cloud.bigquery.storage.v1.ReadSession(this); + com.google.cloud.bigquery.storage.v1.ReadSession result = + new com.google.cloud.bigquery.storage.v1.ReadSession(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1.ReadSession result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.storage.v1.ReadSession result) { if (streamsBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -4299,9 +4883,7 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadSession resu result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null - ? expireTime_ - : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.dataFormat_ = dataFormat_; @@ -4310,14 +4892,12 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadSession resu result.table_ = table_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.tableModifiers_ = tableModifiersBuilder_ == null - ? tableModifiers_ - : tableModifiersBuilder_.build(); + result.tableModifiers_ = + tableModifiersBuilder_ == null ? tableModifiers_ : tableModifiersBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.readOptions_ = readOptionsBuilder_ == null - ? readOptions_ - : readOptionsBuilder_.build(); + result.readOptions_ = + readOptionsBuilder_ == null ? readOptions_ : readOptionsBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.estimatedTotalBytesScanned_ = estimatedTotalBytesScanned_; @@ -4336,12 +4916,10 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadSession resu private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.ReadSession result) { result.schemaCase_ = schemaCase_; result.schema_ = this.schema_; - if (schemaCase_ == 4 && - avroSchemaBuilder_ != null) { + if (schemaCase_ == 4 && avroSchemaBuilder_ != null) { result.schema_ = avroSchemaBuilder_.build(); } - if (schemaCase_ == 5 && - arrowSchemaBuilder_ != null) { + if (schemaCase_ == 5 && arrowSchemaBuilder_ != null) { result.schema_ = arrowSchemaBuilder_.build(); } } @@ -4350,38 +4928,39 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.ReadSession public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ReadSession) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadSession)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadSession) other); } else { super.mergeFrom(other); return this; @@ -4389,7 +4968,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadSession other) { - if (other == com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -4430,9 +5010,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadSession other) streamsBuilder_ = null; streams_ = other.streams_; bitField0_ = (bitField0_ & ~0x00000100); - streamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStreamsFieldBuilder() : null; + streamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStreamsFieldBuilder() + : null; } else { streamsBuilder_.addAllMessages(other.streams_); } @@ -4453,17 +5034,20 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadSession other) onChanged(); } switch (other.getSchemaCase()) { - case AVRO_SCHEMA: { - mergeAvroSchema(other.getAvroSchema()); - break; - } - case ARROW_SCHEMA: { - mergeArrowSchema(other.getArrowSchema()); - break; - } - case SCHEMA_NOT_SET: { - break; - } + case AVRO_SCHEMA: + { + mergeAvroSchema(other.getAvroSchema()); + break; + } + case ARROW_SCHEMA: + { + mergeArrowSchema(other.getArrowSchema()); + break; + } + case SCHEMA_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -4491,95 +5075,99 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - dataFormat_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - input.readMessage( - getAvroSchemaFieldBuilder().getBuilder(), - extensionRegistry); - schemaCase_ = 4; - break; - } // case 34 - case 42: { - input.readMessage( - getArrowSchemaFieldBuilder().getBuilder(), - extensionRegistry); - schemaCase_ = 5; - break; - } // case 42 - case 50: { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - input.readMessage( - getTableModifiersFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - input.readMessage( - getReadOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 82: { - com.google.cloud.bigquery.storage.v1.ReadStream m = - input.readMessage( - com.google.cloud.bigquery.storage.v1.ReadStream.parser(), - extensionRegistry); - if (streamsBuilder_ == null) { - ensureStreamsIsMutable(); - streams_.add(m); - } else { - streamsBuilder_.addMessage(m); - } - break; - } // case 82 - case 96: { - estimatedTotalBytesScanned_ = input.readInt64(); - bitField0_ |= 0x00000200; - break; - } // case 96 - case 106: { - traceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 112: { - estimatedRowCount_ = input.readInt64(); - bitField0_ |= 0x00000800; - break; - } // case 112 - case 120: { - estimatedTotalPhysicalFileSize_ = input.readInt64(); - bitField0_ |= 0x00000400; - break; - } // case 120 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + dataFormat_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + input.readMessage(getAvroSchemaFieldBuilder().getBuilder(), extensionRegistry); + schemaCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage(getArrowSchemaFieldBuilder().getBuilder(), extensionRegistry); + schemaCase_ = 5; + break; + } // case 42 + case 50: + { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + input.readMessage(getTableModifiersFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + input.readMessage(getReadOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 82: + { + com.google.cloud.bigquery.storage.v1.ReadStream m = + input.readMessage( + com.google.cloud.bigquery.storage.v1.ReadStream.parser(), + extensionRegistry); + if (streamsBuilder_ == null) { + ensureStreamsIsMutable(); + streams_.add(m); + } else { + streamsBuilder_.addMessage(m); + } + break; + } // case 82 + case 96: + { + estimatedTotalBytesScanned_ = input.readInt64(); + bitField0_ |= 0x00000200; + break; + } // case 96 + case 106: + { + traceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: + { + estimatedRowCount_ = input.readInt64(); + bitField0_ |= 0x00000800; + break; + } // case 112 + case 120: + { + estimatedTotalPhysicalFileSize_ = input.readInt64(); + bitField0_ |= 0x00000400; + break; + } // case 120 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4589,12 +5177,12 @@ public Builder mergeFrom( } // finally return this; } + private int schemaCase_ = 0; private java.lang.Object schema_; - public SchemaCase - getSchemaCase() { - return SchemaCase.forNumber( - schemaCase_); + + public SchemaCase getSchemaCase() { + return SchemaCase.forNumber(schemaCase_); } public Builder clearSchema() { @@ -4608,19 +5196,21 @@ public Builder clearSchema() { private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -4629,21 +5219,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -4651,30 +5242,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -4684,18 +5282,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -4705,8 +5307,13 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expireTimeBuilder_; /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time,
      * subsequent requests to read this Session will return errors. The
@@ -4714,13 +5321,18 @@ public Builder setNameBytes(
      * updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time,
      * subsequent requests to read this Session will return errors. The
@@ -4728,17 +5340,24 @@ public boolean hasExpireTime() {
      * updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time,
      * subsequent requests to read this Session will return errors. The
@@ -4746,7 +5365,9 @@ public com.google.protobuf.Timestamp getExpireTime() {
      * updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -4762,6 +5383,8 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time,
      * subsequent requests to read this Session will return errors. The
@@ -4769,10 +5392,11 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      * updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpireTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -4783,6 +5407,8 @@ public Builder setExpireTime( return this; } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time,
      * subsequent requests to read this Session will return errors. The
@@ -4790,13 +5416,15 @@ public Builder setExpireTime(
      * updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - expireTime_ != null && - expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && expireTime_ != null + && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -4809,6 +5437,8 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time,
      * subsequent requests to read this Session will return errors. The
@@ -4816,7 +5446,9 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
      * updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -4829,6 +5461,8 @@ public Builder clearExpireTime() { return this; } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time,
      * subsequent requests to read this Session will return errors. The
@@ -4836,7 +5470,9 @@ public Builder clearExpireTime() {
      * updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000002; @@ -4844,6 +5480,8 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time,
      * subsequent requests to read this Session will return errors. The
@@ -4851,17 +5489,22 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
      * updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time,
      * subsequent requests to read this Session will return errors. The
@@ -4869,17 +5512,22 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), - getParentForChildren(), - isClean()); + expireTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), getParentForChildren(), isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -4887,24 +5535,35 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private int dataFormat_ = 0; /** + * + * *
      * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
      * supported.
      * 
* - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for dataFormat. */ - @java.lang.Override public int getDataFormatValue() { + @java.lang.Override + public int getDataFormatValue() { return dataFormat_; } /** + * + * *
      * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
      * supported.
      * 
* - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for dataFormat to set. * @return This builder for chaining. */ @@ -4915,26 +5574,37 @@ public Builder setDataFormatValue(int value) { return this; } /** + * + * *
      * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
      * supported.
      * 
* - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The dataFormat. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.DataFormat getDataFormat() { - com.google.cloud.bigquery.storage.v1.DataFormat result = com.google.cloud.bigquery.storage.v1.DataFormat.forNumber(dataFormat_); + com.google.cloud.bigquery.storage.v1.DataFormat result = + com.google.cloud.bigquery.storage.v1.DataFormat.forNumber(dataFormat_); return result == null ? com.google.cloud.bigquery.storage.v1.DataFormat.UNRECOGNIZED : result; } /** + * + * *
      * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
      * supported.
      * 
* - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The dataFormat to set. * @return This builder for chaining. */ @@ -4948,12 +5618,17 @@ public Builder setDataFormat(com.google.cloud.bigquery.storage.v1.DataFormat val return this; } /** + * + * *
      * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
      * supported.
      * 
* - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearDataFormat() { @@ -4964,13 +5639,21 @@ public Builder clearDataFormat() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AvroSchema, com.google.cloud.bigquery.storage.v1.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder> avroSchemaBuilder_; + com.google.cloud.bigquery.storage.v1.AvroSchema, + com.google.cloud.bigquery.storage.v1.AvroSchema.Builder, + com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder> + avroSchemaBuilder_; /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -4978,11 +5661,16 @@ public boolean hasAvroSchema() { return schemaCase_ == 4; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ @java.lang.Override @@ -5000,11 +5688,15 @@ public com.google.cloud.bigquery.storage.v1.AvroSchema getAvroSchema() { } } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAvroSchema(com.google.cloud.bigquery.storage.v1.AvroSchema value) { if (avroSchemaBuilder_ == null) { @@ -5020,11 +5712,15 @@ public Builder setAvroSchema(com.google.cloud.bigquery.storage.v1.AvroSchema val return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAvroSchema( com.google.cloud.bigquery.storage.v1.AvroSchema.Builder builderForValue) { @@ -5038,18 +5734,25 @@ public Builder setAvroSchema( return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeAvroSchema(com.google.cloud.bigquery.storage.v1.AvroSchema value) { if (avroSchemaBuilder_ == null) { - if (schemaCase_ == 4 && - schema_ != com.google.cloud.bigquery.storage.v1.AvroSchema.getDefaultInstance()) { - schema_ = com.google.cloud.bigquery.storage.v1.AvroSchema.newBuilder((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 4 + && schema_ != com.google.cloud.bigquery.storage.v1.AvroSchema.getDefaultInstance()) { + schema_ = + com.google.cloud.bigquery.storage.v1.AvroSchema.newBuilder( + (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -5065,11 +5768,15 @@ public Builder mergeAvroSchema(com.google.cloud.bigquery.storage.v1.AvroSchema v return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAvroSchema() { if (avroSchemaBuilder_ == null) { @@ -5088,21 +5795,29 @@ public Builder clearAvroSchema() { return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1.AvroSchema.Builder getAvroSchemaBuilder() { return getAvroSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder getAvroSchemaOrBuilder() { @@ -5116,21 +5831,30 @@ public com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder getAvroSchemaOrB } } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AvroSchema, com.google.cloud.bigquery.storage.v1.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1.AvroSchema, + com.google.cloud.bigquery.storage.v1.AvroSchema.Builder, + com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder> getAvroSchemaFieldBuilder() { if (avroSchemaBuilder_ == null) { if (!(schemaCase_ == 4)) { schema_ = com.google.cloud.bigquery.storage.v1.AvroSchema.getDefaultInstance(); } - avroSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AvroSchema, com.google.cloud.bigquery.storage.v1.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder>( + avroSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.AvroSchema, + com.google.cloud.bigquery.storage.v1.AvroSchema.Builder, + com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder>( (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_, getParentForChildren(), isClean()); @@ -5142,13 +5866,21 @@ public com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder getAvroSchemaOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowSchema, com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder> arrowSchemaBuilder_; + com.google.cloud.bigquery.storage.v1.ArrowSchema, + com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder> + arrowSchemaBuilder_; /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -5156,11 +5888,16 @@ public boolean hasArrowSchema() { return schemaCase_ == 5; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ @java.lang.Override @@ -5178,11 +5915,15 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchema getArrowSchema() { } } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1.ArrowSchema value) { if (arrowSchemaBuilder_ == null) { @@ -5198,11 +5939,15 @@ public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1.ArrowSchema v return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setArrowSchema( com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder builderForValue) { @@ -5216,18 +5961,25 @@ public Builder setArrowSchema( return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeArrowSchema(com.google.cloud.bigquery.storage.v1.ArrowSchema value) { if (arrowSchemaBuilder_ == null) { - if (schemaCase_ == 5 && - schema_ != com.google.cloud.bigquery.storage.v1.ArrowSchema.getDefaultInstance()) { - schema_ = com.google.cloud.bigquery.storage.v1.ArrowSchema.newBuilder((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 5 + && schema_ != com.google.cloud.bigquery.storage.v1.ArrowSchema.getDefaultInstance()) { + schema_ = + com.google.cloud.bigquery.storage.v1.ArrowSchema.newBuilder( + (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -5243,11 +5995,15 @@ public Builder mergeArrowSchema(com.google.cloud.bigquery.storage.v1.ArrowSchema return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearArrowSchema() { if (arrowSchemaBuilder_ == null) { @@ -5266,21 +6022,29 @@ public Builder clearArrowSchema() { return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder getArrowSchemaBuilder() { return getArrowSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { @@ -5294,21 +6058,30 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaO } } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowSchema, com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1.ArrowSchema, + com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder> getArrowSchemaFieldBuilder() { if (arrowSchemaBuilder_ == null) { if (!(schemaCase_ == 5)) { schema_ = com.google.cloud.bigquery.storage.v1.ArrowSchema.getDefaultInstance(); } - arrowSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowSchema, com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder>( + arrowSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.ArrowSchema, + com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder>( (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_, getParentForChildren(), isClean()); @@ -5321,19 +6094,23 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaO private java.lang.Object table_ = ""; /** + * + * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
      * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -5342,21 +6119,24 @@ public java.lang.String getTable() { } } /** + * + * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
      * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for table. */ - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -5364,30 +6144,41 @@ public java.lang.String getTable() { } } /** + * + * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
      * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } table_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
      * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTable() { @@ -5397,18 +6188,24 @@ public Builder clearTable() { return this; } /** + * + * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
      * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000020; @@ -5418,44 +6215,64 @@ public Builder setTableBytes( private com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers tableModifiers_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers, com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder> tableModifiersBuilder_; + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers, + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder, + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder> + tableModifiersBuilder_; /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the tableModifiers field is set. */ public boolean hasTableModifiers() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The tableModifiers. */ public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers getTableModifiers() { if (tableModifiersBuilder_ == null) { - return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() + : tableModifiers_; } else { return tableModifiersBuilder_.getMessage(); } } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers value) { + public Builder setTableModifiers( + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers value) { if (tableModifiersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5469,12 +6286,16 @@ public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1.ReadSessio return this; } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setTableModifiers( com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder builderForValue) { @@ -5488,18 +6309,25 @@ public Builder setTableModifiers( return this; } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeTableModifiers(com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers value) { + public Builder mergeTableModifiers( + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers value) { if (tableModifiersBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - tableModifiers_ != null && - tableModifiers_ != com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && tableModifiers_ != null + && tableModifiers_ + != com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers + .getDefaultInstance()) { getTableModifiersBuilder().mergeFrom(value); } else { tableModifiers_ = value; @@ -5512,12 +6340,16 @@ public Builder mergeTableModifiers(com.google.cloud.bigquery.storage.v1.ReadSess return this; } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearTableModifiers() { bitField0_ = (bitField0_ & ~0x00000040); @@ -5530,51 +6362,69 @@ public Builder clearTableModifiers() { return this; } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder getTableModifiersBuilder() { + public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder + getTableModifiersBuilder() { bitField0_ |= 0x00000040; onChanged(); return getTableModifiersFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder getTableModifiersOrBuilder() { + public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder + getTableModifiersOrBuilder() { if (tableModifiersBuilder_ != null) { return tableModifiersBuilder_.getMessageOrBuilder(); } else { - return tableModifiers_ == null ? - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() + : tableModifiers_; } } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers, com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder> + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers, + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder, + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder> getTableModifiersFieldBuilder() { if (tableModifiersBuilder_ == null) { - tableModifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers, com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder>( - getTableModifiers(), - getParentForChildren(), - isClean()); + tableModifiersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers, + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder, + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder>( + getTableModifiers(), getParentForChildren(), isClean()); tableModifiers_ = null; } return tableModifiersBuilder_; @@ -5582,41 +6432,61 @@ public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder private com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions readOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions, com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder, com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder> readOptionsBuilder_; + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions, + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder, + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder> + readOptionsBuilder_; /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readOptions field is set. */ public boolean hasReadOptions() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readOptions. */ public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions getReadOptions() { if (readOptionsBuilder_ == null) { - return readOptions_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() + : readOptions_; } else { return readOptionsBuilder_.getMessage(); } } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadOptions(com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions value) { + public Builder setReadOptions( + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions value) { if (readOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5630,11 +6500,15 @@ public Builder setReadOptions(com.google.cloud.bigquery.storage.v1.ReadSession.T return this; } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadOptions( com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder builderForValue) { @@ -5648,17 +6522,24 @@ public Builder setReadOptions( return this; } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeReadOptions(com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions value) { + public Builder mergeReadOptions( + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions value) { if (readOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - readOptions_ != null && - readOptions_ != com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && readOptions_ != null + && readOptions_ + != com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions + .getDefaultInstance()) { getReadOptionsBuilder().mergeFrom(value); } else { readOptions_ = value; @@ -5671,11 +6552,15 @@ public Builder mergeReadOptions(com.google.cloud.bigquery.storage.v1.ReadSession return this; } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadOptions() { bitField0_ = (bitField0_ & ~0x00000080); @@ -5688,66 +6573,91 @@ public Builder clearReadOptions() { return this; } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder getReadOptionsBuilder() { + public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder + getReadOptionsBuilder() { bitField0_ |= 0x00000080; onChanged(); return getReadOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { + public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder + getReadOptionsOrBuilder() { if (readOptionsBuilder_ != null) { return readOptionsBuilder_.getMessageOrBuilder(); } else { - return readOptions_ == null ? - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() + : readOptions_; } } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions, com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder, com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder> + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions, + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder, + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder> getReadOptionsFieldBuilder() { if (readOptionsBuilder_ == null) { - readOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions, com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder, com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder>( - getReadOptions(), - getParentForChildren(), - isClean()); + readOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions, + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder, + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder>( + getReadOptions(), getParentForChildren(), isClean()); readOptions_ = null; } return readOptionsBuilder_; } private java.util.List streams_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureStreamsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { - streams_ = new java.util.ArrayList(streams_); + streams_ = + new java.util.ArrayList(streams_); bitField0_ |= 0x00000100; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadStream, com.google.cloud.bigquery.storage.v1.ReadStream.Builder, com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> streamsBuilder_; + com.google.cloud.bigquery.storage.v1.ReadStream, + com.google.cloud.bigquery.storage.v1.ReadStream.Builder, + com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> + streamsBuilder_; /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -5757,7 +6667,9 @@ private void ensureStreamsIsMutable() {
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getStreamsList() { if (streamsBuilder_ == null) { @@ -5767,6 +6679,8 @@ public java.util.List getStream } } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -5776,7 +6690,9 @@ public java.util.List getStream
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getStreamsCount() { if (streamsBuilder_ == null) { @@ -5786,6 +6702,8 @@ public int getStreamsCount() { } } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -5795,7 +6713,9 @@ public int getStreamsCount() {
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1.ReadStream getStreams(int index) { if (streamsBuilder_ == null) { @@ -5805,6 +6725,8 @@ public com.google.cloud.bigquery.storage.v1.ReadStream getStreams(int index) { } } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -5814,10 +6736,11 @@ public com.google.cloud.bigquery.storage.v1.ReadStream getStreams(int index) {
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStreams( - int index, com.google.cloud.bigquery.storage.v1.ReadStream value) { + public Builder setStreams(int index, com.google.cloud.bigquery.storage.v1.ReadStream value) { if (streamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5831,6 +6754,8 @@ public Builder setStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -5840,7 +6765,9 @@ public Builder setStreams(
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStreams( int index, com.google.cloud.bigquery.storage.v1.ReadStream.Builder builderForValue) { @@ -5854,6 +6781,8 @@ public Builder setStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -5863,7 +6792,9 @@ public Builder setStreams(
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addStreams(com.google.cloud.bigquery.storage.v1.ReadStream value) { if (streamsBuilder_ == null) { @@ -5879,6 +6810,8 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1.ReadStream value) return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -5888,10 +6821,11 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1.ReadStream value)
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addStreams( - int index, com.google.cloud.bigquery.storage.v1.ReadStream value) { + public Builder addStreams(int index, com.google.cloud.bigquery.storage.v1.ReadStream value) { if (streamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5905,6 +6839,8 @@ public Builder addStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -5914,7 +6850,9 @@ public Builder addStreams(
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addStreams( com.google.cloud.bigquery.storage.v1.ReadStream.Builder builderForValue) { @@ -5928,6 +6866,8 @@ public Builder addStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -5937,7 +6877,9 @@ public Builder addStreams(
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addStreams( int index, com.google.cloud.bigquery.storage.v1.ReadStream.Builder builderForValue) { @@ -5951,6 +6893,8 @@ public Builder addStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -5960,14 +6904,15 @@ public Builder addStreams(
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllStreams( java.lang.Iterable values) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, streams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, streams_); onChanged(); } else { streamsBuilder_.addAllMessages(values); @@ -5975,6 +6920,8 @@ public Builder addAllStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -5984,7 +6931,9 @@ public Builder addAllStreams(
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStreams() { if (streamsBuilder_ == null) { @@ -5997,6 +6946,8 @@ public Builder clearStreams() { return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -6006,7 +6957,9 @@ public Builder clearStreams() {
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeStreams(int index) { if (streamsBuilder_ == null) { @@ -6019,6 +6972,8 @@ public Builder removeStreams(int index) { return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -6028,13 +6983,16 @@ public Builder removeStreams(int index) {
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.storage.v1.ReadStream.Builder getStreamsBuilder( - int index) { + public com.google.cloud.bigquery.storage.v1.ReadStream.Builder getStreamsBuilder(int index) { return getStreamsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -6044,16 +7002,20 @@ public com.google.cloud.bigquery.storage.v1.ReadStream.Builder getStreamsBuilder
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuilder( - int index) { + public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuilder(int index) { if (streamsBuilder_ == null) { - return streams_.get(index); } else { + return streams_.get(index); + } else { return streamsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -6063,10 +7025,12 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuil
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getStreamsOrBuilderList() { + public java.util.List + getStreamsOrBuilderList() { if (streamsBuilder_ != null) { return streamsBuilder_.getMessageOrBuilderList(); } else { @@ -6074,6 +7038,8 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuil } } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -6083,13 +7049,17 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuil
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1.ReadStream.Builder addStreamsBuilder() { - return getStreamsFieldBuilder().addBuilder( - com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()); + return getStreamsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()); } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -6099,14 +7069,17 @@ public com.google.cloud.bigquery.storage.v1.ReadStream.Builder addStreamsBuilder
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.storage.v1.ReadStream.Builder addStreamsBuilder( - int index) { - return getStreamsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()); + public com.google.cloud.bigquery.storage.v1.ReadStream.Builder addStreamsBuilder(int index) { + return getStreamsFieldBuilder() + .addBuilder(index, com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()); } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -6116,36 +7089,45 @@ public com.google.cloud.bigquery.storage.v1.ReadStream.Builder addStreamsBuilder
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getStreamsBuilderList() { + public java.util.List + getStreamsBuilderList() { return getStreamsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadStream, com.google.cloud.bigquery.storage.v1.ReadStream.Builder, com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> + com.google.cloud.bigquery.storage.v1.ReadStream, + com.google.cloud.bigquery.storage.v1.ReadStream.Builder, + com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> getStreamsFieldBuilder() { if (streamsBuilder_ == null) { - streamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadStream, com.google.cloud.bigquery.storage.v1.ReadStream.Builder, com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder>( - streams_, - ((bitField0_ & 0x00000100) != 0), - getParentForChildren(), - isClean()); + streamsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.ReadStream, + com.google.cloud.bigquery.storage.v1.ReadStream.Builder, + com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder>( + streams_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); streams_ = null; } return streamsBuilder_; } - private long estimatedTotalBytesScanned_ ; + private long estimatedTotalBytesScanned_; /** + * + * *
      * Output only. An estimate on the number of bytes this session will scan when
      * all streams are completely consumed. This estimate is based on
      * metadata from the table which might be incomplete or stale.
      * 
* - * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The estimatedTotalBytesScanned. */ @java.lang.Override @@ -6153,13 +7135,17 @@ public long getEstimatedTotalBytesScanned() { return estimatedTotalBytesScanned_; } /** + * + * *
      * Output only. An estimate on the number of bytes this session will scan when
      * all streams are completely consumed. This estimate is based on
      * metadata from the table which might be incomplete or stale.
      * 
* - * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The estimatedTotalBytesScanned to set. * @return This builder for chaining. */ @@ -6171,13 +7157,17 @@ public Builder setEstimatedTotalBytesScanned(long value) { return this; } /** + * + * *
      * Output only. An estimate on the number of bytes this session will scan when
      * all streams are completely consumed. This estimate is based on
      * metadata from the table which might be incomplete or stale.
      * 
* - * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearEstimatedTotalBytesScanned() { @@ -6187,8 +7177,10 @@ public Builder clearEstimatedTotalBytesScanned() { return this; } - private long estimatedTotalPhysicalFileSize_ ; + private long estimatedTotalPhysicalFileSize_; /** + * + * *
      * Output only. A pre-projected estimate of the total physical size of files
      * (in bytes) that this session will scan when all streams are consumed. This
@@ -6197,7 +7189,10 @@ public Builder clearEstimatedTotalBytesScanned() {
      * BigLake tables.
      * 
* - * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The estimatedTotalPhysicalFileSize. */ @java.lang.Override @@ -6205,6 +7200,8 @@ public long getEstimatedTotalPhysicalFileSize() { return estimatedTotalPhysicalFileSize_; } /** + * + * *
      * Output only. A pre-projected estimate of the total physical size of files
      * (in bytes) that this session will scan when all streams are consumed. This
@@ -6213,7 +7210,10 @@ public long getEstimatedTotalPhysicalFileSize() {
      * BigLake tables.
      * 
* - * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The estimatedTotalPhysicalFileSize to set. * @return This builder for chaining. */ @@ -6225,6 +7225,8 @@ public Builder setEstimatedTotalPhysicalFileSize(long value) { return this; } /** + * + * *
      * Output only. A pre-projected estimate of the total physical size of files
      * (in bytes) that this session will scan when all streams are consumed. This
@@ -6233,7 +7235,10 @@ public Builder setEstimatedTotalPhysicalFileSize(long value) {
      * BigLake tables.
      * 
* - * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearEstimatedTotalPhysicalFileSize() { @@ -6243,8 +7248,10 @@ public Builder clearEstimatedTotalPhysicalFileSize() { return this; } - private long estimatedRowCount_ ; + private long estimatedRowCount_; /** + * + * *
      * Output only. An estimate on the number of rows present in this session's
      * streams. This estimate is based on metadata from the table which might be
@@ -6252,6 +7259,7 @@ public Builder clearEstimatedTotalPhysicalFileSize() {
      * 
* * int64 estimated_row_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The estimatedRowCount. */ @java.lang.Override @@ -6259,6 +7267,8 @@ public long getEstimatedRowCount() { return estimatedRowCount_; } /** + * + * *
      * Output only. An estimate on the number of rows present in this session's
      * streams. This estimate is based on metadata from the table which might be
@@ -6266,6 +7276,7 @@ public long getEstimatedRowCount() {
      * 
* * int64 estimated_row_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The estimatedRowCount to set. * @return This builder for chaining. */ @@ -6277,6 +7288,8 @@ public Builder setEstimatedRowCount(long value) { return this; } /** + * + * *
      * Output only. An estimate on the number of rows present in this session's
      * streams. This estimate is based on metadata from the table which might be
@@ -6284,6 +7297,7 @@ public Builder setEstimatedRowCount(long value) {
      * 
* * int64 estimated_row_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearEstimatedRowCount() { @@ -6295,6 +7309,8 @@ public Builder clearEstimatedRowCount() { private java.lang.Object traceId_ = ""; /** + * + * *
      * Optional. ID set by client to annotate a session identity.  This does not
      * need to be strictly unique, but instead the same ID should be used to group
@@ -6305,13 +7321,13 @@ public Builder clearEstimatedRowCount() {
      * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The traceId. */ public java.lang.String getTraceId() { java.lang.Object ref = traceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); traceId_ = s; return s; @@ -6320,6 +7336,8 @@ public java.lang.String getTraceId() { } } /** + * + * *
      * Optional. ID set by client to annotate a session identity.  This does not
      * need to be strictly unique, but instead the same ID should be used to group
@@ -6330,15 +7348,14 @@ public java.lang.String getTraceId() {
      * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for traceId. */ - public com.google.protobuf.ByteString - getTraceIdBytes() { + public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); traceId_ = b; return b; } else { @@ -6346,6 +7363,8 @@ public java.lang.String getTraceId() { } } /** + * + * *
      * Optional. ID set by client to annotate a session identity.  This does not
      * need to be strictly unique, but instead the same ID should be used to group
@@ -6356,18 +7375,22 @@ public java.lang.String getTraceId() {
      * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The traceId to set. * @return This builder for chaining. */ - public Builder setTraceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTraceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } traceId_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * *
      * Optional. ID set by client to annotate a session identity.  This does not
      * need to be strictly unique, but instead the same ID should be used to group
@@ -6378,6 +7401,7 @@ public Builder setTraceId(
      * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearTraceId() { @@ -6387,6 +7411,8 @@ public Builder clearTraceId() { return this; } /** + * + * *
      * Optional. ID set by client to annotate a session identity.  This does not
      * need to be strictly unique, but instead the same ID should be used to group
@@ -6397,21 +7423,23 @@ public Builder clearTraceId() {
      * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for traceId to set. * @return This builder for chaining. */ - public Builder setTraceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTraceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); traceId_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6421,12 +7449,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ReadSession) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ReadSession) private static final com.google.cloud.bigquery.storage.v1.ReadSession DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ReadSession(); } @@ -6435,27 +7463,27 @@ public static com.google.cloud.bigquery.storage.v1.ReadSession getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadSession parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadSession parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6470,6 +7498,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ReadSession getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java index 835e7ab11d..1fd051672d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java @@ -1,35 +1,58 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/stream.proto package com.google.cloud.bigquery.storage.v1; -public interface ReadSessionOrBuilder extends +public interface ReadSessionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ReadSession) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Unique identifier for the session, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Unique identifier for the session, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Time at which the session becomes invalid. After this time,
    * subsequent requests to read this Session will return errors. The
@@ -37,11 +60,15 @@ public interface ReadSessionOrBuilder extends
    * updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
    * Output only. Time at which the session becomes invalid. After this time,
    * subsequent requests to read this Session will return errors. The
@@ -49,11 +76,15 @@ public interface ReadSessionOrBuilder extends
    * updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
    * Output only. Time at which the session becomes invalid. After this time,
    * subsequent requests to read this Session will return errors. The
@@ -61,165 +92,245 @@ public interface ReadSessionOrBuilder extends
    * updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** + * + * *
    * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
    * supported.
    * 
* - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for dataFormat. */ int getDataFormatValue(); /** + * + * *
    * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
    * supported.
    * 
* - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The dataFormat. */ com.google.cloud.bigquery.storage.v1.DataFormat getDataFormat(); /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ boolean hasAvroSchema(); /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ com.google.cloud.bigquery.storage.v1.AvroSchema getAvroSchema(); /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder getAvroSchemaOrBuilder(); /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ boolean hasArrowSchema(); /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ com.google.cloud.bigquery.storage.v1.ArrowSchema getArrowSchema(); /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaOrBuilder(); /** + * + * *
    * Immutable. Table that this ReadSession is reading from, in the form
    * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
    * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The table. */ java.lang.String getTable(); /** + * + * *
    * Immutable. Table that this ReadSession is reading from, in the form
    * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
    * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for table. */ - com.google.protobuf.ByteString - getTableBytes(); + com.google.protobuf.ByteString getTableBytes(); /** + * + * *
    * Optional. Any modifiers which are applied when reading from the specified
    * table.
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the tableModifiers field is set. */ boolean hasTableModifiers(); /** + * + * *
    * Optional. Any modifiers which are applied when reading from the specified
    * table.
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The tableModifiers. */ com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers getTableModifiers(); /** + * + * *
    * Optional. Any modifiers which are applied when reading from the specified
    * table.
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder getTableModifiersOrBuilder(); + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder + getTableModifiersOrBuilder(); /** + * + * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readOptions field is set. */ boolean hasReadOptions(); /** + * + * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readOptions. */ com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions getReadOptions(); /** + * + * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder getReadOptionsOrBuilder(); + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder + getReadOptionsOrBuilder(); /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -229,11 +340,14 @@ public interface ReadSessionOrBuilder extends
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getStreamsList(); + java.util.List getStreamsList(); /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -243,10 +357,14 @@ public interface ReadSessionOrBuilder extends
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.storage.v1.ReadStream getStreams(int index); /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -256,10 +374,14 @@ public interface ReadSessionOrBuilder extends
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getStreamsCount(); /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -269,11 +391,15 @@ public interface ReadSessionOrBuilder extends
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getStreamsOrBuilderList(); /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -283,24 +409,31 @@ public interface ReadSessionOrBuilder extends
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuilder( - int index); + com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuilder(int index); /** + * + * *
    * Output only. An estimate on the number of bytes this session will scan when
    * all streams are completely consumed. This estimate is based on
    * metadata from the table which might be incomplete or stale.
    * 
* - * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The estimatedTotalBytesScanned. */ long getEstimatedTotalBytesScanned(); /** + * + * *
    * Output only. A pre-projected estimate of the total physical size of files
    * (in bytes) that this session will scan when all streams are consumed. This
@@ -309,12 +442,17 @@ com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuilder(
    * BigLake tables.
    * 
* - * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The estimatedTotalPhysicalFileSize. */ long getEstimatedTotalPhysicalFileSize(); /** + * + * *
    * Output only. An estimate on the number of rows present in this session's
    * streams. This estimate is based on metadata from the table which might be
@@ -322,11 +460,14 @@ com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuilder(
    * 
* * int64 estimated_row_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The estimatedRowCount. */ long getEstimatedRowCount(); /** + * + * *
    * Optional. ID set by client to annotate a session identity.  This does not
    * need to be strictly unique, but instead the same ID should be used to group
@@ -337,10 +478,13 @@ com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuilder(
    * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The traceId. */ java.lang.String getTraceId(); /** + * + * *
    * Optional. ID set by client to annotate a session identity.  This does not
    * need to be strictly unique, but instead the same ID should be used to group
@@ -351,10 +495,10 @@ com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuilder(
    * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for traceId. */ - com.google.protobuf.ByteString - getTraceIdBytes(); + com.google.protobuf.ByteString getTraceIdBytes(); com.google.cloud.bigquery.storage.v1.ReadSession.SchemaCase getSchemaCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStream.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStream.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStream.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStream.java index d769edd8be..29e4023330 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStream.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStream.java @@ -1,9 +1,26 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/stream.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Information about a single stream that gets data out of the storage system.
  * Most of the information about `ReadStream` instances is aggregated, making
@@ -12,49 +29,55 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadStream}
  */
-public final class ReadStream extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReadStream extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ReadStream)
     ReadStreamOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReadStream.newBuilder() to construct.
   private ReadStream(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReadStream() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReadStream();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1.StreamProto
+        .internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadStream_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1.StreamProto
+        .internal_static_google_cloud_bigquery_storage_v1_ReadStream_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1.ReadStream.class, com.google.cloud.bigquery.storage.v1.ReadStream.Builder.class);
+            com.google.cloud.bigquery.storage.v1.ReadStream.class,
+            com.google.cloud.bigquery.storage.v1.ReadStream.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Name of the stream, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -63,30 +86,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Name of the stream, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -95,6 +118,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +130,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,15 +154,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ReadStream)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ReadStream other = (com.google.cloud.bigquery.storage.v1.ReadStream) obj; + com.google.cloud.bigquery.storage.v1.ReadStream other = + (com.google.cloud.bigquery.storage.v1.ReadStream) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -158,99 +181,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.ReadStream parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.ReadStream parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadStream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ReadStream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadStream parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ReadStream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadStream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ReadStream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.ReadStream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ReadStream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ReadStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ReadStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about a single stream that gets data out of the storage system.
    * Most of the information about `ReadStream` instances is aggregated, making
@@ -259,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadStream}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ReadStream)
       com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1.StreamProto
+          .internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadStream_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1.StreamProto
+          .internal_static_google_cloud_bigquery_storage_v1_ReadStream_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1.ReadStream.class, com.google.cloud.bigquery.storage.v1.ReadStream.Builder.class);
+              com.google.cloud.bigquery.storage.v1.ReadStream.class,
+              com.google.cloud.bigquery.storage.v1.ReadStream.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.storage.v1.ReadStream.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -295,9 +322,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.storage.v1.StreamProto
+          .internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +343,11 @@ public com.google.cloud.bigquery.storage.v1.ReadStream build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1.ReadStream buildPartial() {
-      com.google.cloud.bigquery.storage.v1.ReadStream result = new com.google.cloud.bigquery.storage.v1.ReadStream(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.storage.v1.ReadStream result =
+          new com.google.cloud.bigquery.storage.v1.ReadStream(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +363,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadStream resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1.ReadStream) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadStream)other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadStream) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadStream other) {
-      if (other == com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -404,17 +436,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,23 +458,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -449,21 +486,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -471,30 +509,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -504,27 +549,31 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +583,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ReadStream) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ReadStream) private static final com.google.cloud.bigquery.storage.v1.ReadStream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ReadStream(); } @@ -548,27 +597,27 @@ public static com.google.cloud.bigquery.storage.v1.ReadStream getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +632,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ReadStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamName.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamName.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamOrBuilder.java index 7d23a8f1fe..6d3e437f54 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamOrBuilder.java @@ -1,31 +1,52 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/stream.proto package com.google.cloud.bigquery.storage.v1; -public interface ReadStreamOrBuilder extends +public interface ReadStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ReadStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of the stream, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Name of the stream, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowError.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowError.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowError.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowError.java index a8c4fcc13a..45460043ce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowError.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowError.java @@ -1,24 +1,42 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * The message that presents row level error info in a request.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.RowError} */ -public final class RowError extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RowError extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.RowError) RowErrorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RowError.newBuilder() to construct. private RowError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RowError() { code_ = 0; message_ = ""; @@ -26,34 +44,38 @@ private RowError() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RowError(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.RowError.class, com.google.cloud.bigquery.storage.v1.RowError.Builder.class); + com.google.cloud.bigquery.storage.v1.RowError.class, + com.google.cloud.bigquery.storage.v1.RowError.Builder.class); } /** + * + * *
    * Error code for `RowError`.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1.RowError.RowErrorCode} */ - public enum RowErrorCode - implements com.google.protobuf.ProtocolMessageEnum { + public enum RowErrorCode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default error.
      * 
@@ -62,6 +84,8 @@ public enum RowErrorCode */ ROW_ERROR_CODE_UNSPECIFIED(0), /** + * + * *
      * One or more fields in the row has errors.
      * 
@@ -73,6 +97,8 @@ public enum RowErrorCode ; /** + * + * *
      * Default error.
      * 
@@ -81,6 +107,8 @@ public enum RowErrorCode */ public static final int ROW_ERROR_CODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * One or more fields in the row has errors.
      * 
@@ -89,7 +117,6 @@ public enum RowErrorCode */ public static final int FIELDS_ERROR_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -114,48 +141,47 @@ public static RowErrorCode valueOf(int value) { */ public static RowErrorCode forNumber(int value) { switch (value) { - case 0: return ROW_ERROR_CODE_UNSPECIFIED; - case 1: return FIELDS_ERROR; - default: return null; + case 0: + return ROW_ERROR_CODE_UNSPECIFIED; + case 1: + return FIELDS_ERROR; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RowErrorCode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RowErrorCode findValueByNumber(int number) { - return RowErrorCode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RowErrorCode findValueByNumber(int number) { + return RowErrorCode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.bigquery.storage.v1.RowError.getDescriptor().getEnumTypes().get(0); } private static final RowErrorCode[] VALUES = values(); - public static RowErrorCode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RowErrorCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -175,11 +201,14 @@ private RowErrorCode(int value) { public static final int INDEX_FIELD_NUMBER = 1; private long index_ = 0L; /** + * + * *
    * Index of the malformed row in the request.
    * 
* * int64 index = 1; + * * @return The index. */ @java.lang.Override @@ -190,38 +219,53 @@ public long getIndex() { public static final int CODE_FIELD_NUMBER = 2; private int code_ = 0; /** + * + * *
    * Structured error reason for a row error.
    * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
    * Structured error reason for a row error.
    * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; + * * @return The code. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode getCode() { - com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode result = com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.forNumber(code_); - return result == null ? com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode getCode() { + com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode result = + com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.forNumber(code_); + return result == null + ? com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.UNRECOGNIZED + : result; } public static final int MESSAGE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
    * Description of the issue encountered when processing the row.
    * 
* * string message = 3; + * * @return The message. */ @java.lang.Override @@ -230,29 +274,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * Description of the issue encountered when processing the row.
    * 
* * string message = 3; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -261,6 +305,7 @@ public java.lang.String getMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,12 +317,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (index_ != 0L) { output.writeInt64(1, index_); } - if (code_ != com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.ROW_ERROR_CODE_UNSPECIFIED.getNumber()) { + if (code_ + != com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.ROW_ERROR_CODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -293,12 +339,12 @@ public int getSerializedSize() { size = 0; if (index_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, index_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, index_); } - if (code_ != com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.ROW_ERROR_CODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, code_); + if (code_ + != com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.ROW_ERROR_CODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_); @@ -311,18 +357,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.RowError)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.RowError other = (com.google.cloud.bigquery.storage.v1.RowError) obj; + com.google.cloud.bigquery.storage.v1.RowError other = + (com.google.cloud.bigquery.storage.v1.RowError) obj; - if (getIndex() - != other.getIndex()) return false; + if (getIndex() != other.getIndex()) return false; if (code_ != other.code_) return false; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -335,8 +380,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + INDEX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getIndex()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIndex()); hash = (37 * hash) + CODE_FIELD_NUMBER; hash = (53 * hash) + code_; hash = (37 * hash) + MESSAGE_FIELD_NUMBER; @@ -346,132 +390,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.RowError parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.RowError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.RowError parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.RowError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.RowError parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.RowError parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.RowError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The message that presents row level error info in a request.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.RowError} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.RowError) com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.RowError.class, com.google.cloud.bigquery.storage.v1.RowError.Builder.class); + com.google.cloud.bigquery.storage.v1.RowError.class, + com.google.cloud.bigquery.storage.v1.RowError.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.RowError.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +531,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; } @java.lang.Override @@ -504,8 +552,11 @@ public com.google.cloud.bigquery.storage.v1.RowError build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.RowError buildPartial() { - com.google.cloud.bigquery.storage.v1.RowError result = new com.google.cloud.bigquery.storage.v1.RowError(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.RowError result = + new com.google.cloud.bigquery.storage.v1.RowError(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -527,38 +578,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.RowError result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.RowError) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.RowError)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.RowError) other); } else { super.mergeFrom(other); return this; @@ -604,27 +656,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - index_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - code_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + index_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + code_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -634,15 +690,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long index_ ; + private long index_; /** + * + * *
      * Index of the malformed row in the request.
      * 
* * int64 index = 1; + * * @return The index. */ @java.lang.Override @@ -650,11 +710,14 @@ public long getIndex() { return index_; } /** + * + * *
      * Index of the malformed row in the request.
      * 
* * int64 index = 1; + * * @param value The index to set. * @return This builder for chaining. */ @@ -666,11 +729,14 @@ public Builder setIndex(long value) { return this; } /** + * + * *
      * Index of the malformed row in the request.
      * 
* * int64 index = 1; + * * @return This builder for chaining. */ public Builder clearIndex() { @@ -682,22 +748,29 @@ public Builder clearIndex() { private int code_ = 0; /** + * + * *
      * Structured error reason for a row error.
      * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
      * Structured error reason for a row error.
      * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; + * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -708,24 +781,33 @@ public Builder setCodeValue(int value) { return this; } /** + * + * *
      * Structured error reason for a row error.
      * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; + * * @return The code. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode getCode() { - com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode result = com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.forNumber(code_); - return result == null ? com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode result = + com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.forNumber(code_); + return result == null + ? com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.UNRECOGNIZED + : result; } /** + * + * *
      * Structured error reason for a row error.
      * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; + * * @param value The code to set. * @return This builder for chaining. */ @@ -739,11 +821,14 @@ public Builder setCode(com.google.cloud.bigquery.storage.v1.RowError.RowErrorCod return this; } /** + * + * *
      * Structured error reason for a row error.
      * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; + * * @return This builder for chaining. */ public Builder clearCode() { @@ -755,18 +840,20 @@ public Builder clearCode() { private java.lang.Object message_ = ""; /** + * + * *
      * Description of the issue encountered when processing the row.
      * 
* * string message = 3; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -775,20 +862,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Description of the issue encountered when processing the row.
      * 
* * string message = 3; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -796,28 +884,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Description of the issue encountered when processing the row.
      * 
* * string message = 3; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Description of the issue encountered when processing the row.
      * 
* * string message = 3; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -827,26 +922,30 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Description of the issue encountered when processing the row.
      * 
* * string message = 3; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -856,12 +955,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.RowError) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.RowError) private static final com.google.cloud.bigquery.storage.v1.RowError DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.RowError(); } @@ -870,27 +969,27 @@ public static com.google.cloud.bigquery.storage.v1.RowError getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RowError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RowError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -905,6 +1004,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.RowError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowErrorOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowErrorOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowErrorOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowErrorOrBuilder.java index 6246b23c39..8e9516cc92 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowErrorOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowErrorOrBuilder.java @@ -1,58 +1,88 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; -public interface RowErrorOrBuilder extends +public interface RowErrorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.RowError) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Index of the malformed row in the request.
    * 
* * int64 index = 1; + * * @return The index. */ long getIndex(); /** + * + * *
    * Structured error reason for a row error.
    * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; + * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** + * + * *
    * Structured error reason for a row error.
    * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; + * * @return The code. */ com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode getCode(); /** + * + * *
    * Description of the issue encountered when processing the row.
    * 
* * string message = 3; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * Description of the issue encountered when processing the row.
    * 
* * string message = 3; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java index a4b6872b8f..74c1cb2e4a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java @@ -1,57 +1,82 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Request message for `SplitReadStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.SplitReadStreamRequest} */ -public final class SplitReadStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SplitReadStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.SplitReadStreamRequest) SplitReadStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SplitReadStreamRequest.newBuilder() to construct. private SplitReadStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SplitReadStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SplitReadStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.class, com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.class, + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the stream to split.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -60,29 +85,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the stream to split.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,8 @@ public java.lang.String getName() { public static final int FRACTION_FIELD_NUMBER = 2; private double fraction_ = 0D; /** + * + * *
    * A value in the range (0.0, 1.0) that specifies the fractional point at
    * which the original stream should be split. The actual split point is
@@ -104,6 +133,7 @@ public java.lang.String getName() {
    * 
* * double fraction = 2; + * * @return The fraction. */ @java.lang.Override @@ -112,6 +142,7 @@ public double getFraction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -123,8 +154,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -144,8 +174,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (java.lang.Double.doubleToRawLongBits(fraction_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, fraction_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, fraction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -155,18 +184,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest other = (com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest) obj; + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest other = + (com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (java.lang.Double.doubleToLongBits(getFraction()) - != java.lang.Double.doubleToLongBits( - other.getFraction())) return false; + != java.lang.Double.doubleToLongBits(other.getFraction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -181,139 +209,146 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FRACTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getFraction())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getFraction())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `SplitReadStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.SplitReadStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.SplitReadStreamRequest) com.google.cloud.bigquery.storage.v1.SplitReadStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.class, com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.class, + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -324,9 +359,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor; } @java.lang.Override @@ -345,8 +380,11 @@ public com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest result = new com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest result = + new com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -365,38 +403,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.SplitReadStreamR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest) other); } else { super.mergeFrom(other); return this; @@ -404,7 +443,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest other) { - if (other == com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -439,22 +479,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: { - fraction_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: + { + fraction_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -464,22 +507,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the stream to split.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,20 +536,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the stream to split.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -509,28 +560,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the stream to split.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the stream to split.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -540,17 +602,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the stream to split.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -558,8 +626,10 @@ public Builder setNameBytes( return this; } - private double fraction_ ; + private double fraction_; /** + * + * *
      * A value in the range (0.0, 1.0) that specifies the fractional point at
      * which the original stream should be split. The actual split point is
@@ -571,6 +641,7 @@ public Builder setNameBytes(
      * 
* * double fraction = 2; + * * @return The fraction. */ @java.lang.Override @@ -578,6 +649,8 @@ public double getFraction() { return fraction_; } /** + * + * *
      * A value in the range (0.0, 1.0) that specifies the fractional point at
      * which the original stream should be split. The actual split point is
@@ -589,6 +662,7 @@ public double getFraction() {
      * 
* * double fraction = 2; + * * @param value The fraction to set. * @return This builder for chaining. */ @@ -600,6 +674,8 @@ public Builder setFraction(double value) { return this; } /** + * + * *
      * A value in the range (0.0, 1.0) that specifies the fractional point at
      * which the original stream should be split. The actual split point is
@@ -611,6 +687,7 @@ public Builder setFraction(double value) {
      * 
* * double fraction = 2; + * * @return This builder for chaining. */ public Builder clearFraction() { @@ -619,9 +696,9 @@ public Builder clearFraction() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -631,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.SplitReadStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.SplitReadStreamRequest) private static final com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest(); } @@ -645,27 +722,27 @@ public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SplitReadStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SplitReadStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -680,6 +757,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequestOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequestOrBuilder.java index 66c1eb1354..91fb37d9d2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequestOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; -public interface SplitReadStreamRequestOrBuilder extends +public interface SplitReadStreamRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.SplitReadStreamRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the stream to split.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Name of the stream to split.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A value in the range (0.0, 1.0) that specifies the fractional point at
    * which the original stream should be split. The actual split point is
@@ -39,6 +66,7 @@ public interface SplitReadStreamRequestOrBuilder extends
    * 
* * double fraction = 2; + * * @return The fraction. */ double getFraction(); diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponse.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponse.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponse.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponse.java index 5725f8b875..83a67cbdd6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponse.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponse.java @@ -1,50 +1,70 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Response message for `SplitReadStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.SplitReadStreamResponse} */ -public final class SplitReadStreamResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SplitReadStreamResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.SplitReadStreamResponse) SplitReadStreamResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SplitReadStreamResponse.newBuilder() to construct. private SplitReadStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SplitReadStreamResponse() { - } + + private SplitReadStreamResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SplitReadStreamResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.class, com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.class, + com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.Builder.class); } public static final int PRIMARY_STREAM_FIELD_NUMBER = 1; private com.google.cloud.bigquery.storage.v1.ReadStream primaryStream_; /** + * + * *
    * Primary stream, which contains the beginning portion of
    * |original_stream|. An empty value indicates that the original stream can no
@@ -52,6 +72,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ @java.lang.Override @@ -59,6 +80,8 @@ public boolean hasPrimaryStream() { return primaryStream_ != null; } /** + * + * *
    * Primary stream, which contains the beginning portion of
    * |original_stream|. An empty value indicates that the original stream can no
@@ -66,13 +89,18 @@ public boolean hasPrimaryStream() {
    * 
* * .google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1; + * * @return The primaryStream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadStream getPrimaryStream() { - return primaryStream_ == null ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() : primaryStream_; + return primaryStream_ == null + ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() + : primaryStream_; } /** + * + * *
    * Primary stream, which contains the beginning portion of
    * |original_stream|. An empty value indicates that the original stream can no
@@ -83,18 +111,23 @@ public com.google.cloud.bigquery.storage.v1.ReadStream getPrimaryStream() {
    */
   @java.lang.Override
   public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getPrimaryStreamOrBuilder() {
-    return primaryStream_ == null ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() : primaryStream_;
+    return primaryStream_ == null
+        ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()
+        : primaryStream_;
   }
 
   public static final int REMAINDER_STREAM_FIELD_NUMBER = 2;
   private com.google.cloud.bigquery.storage.v1.ReadStream remainderStream_;
   /**
+   *
+   *
    * 
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
    * 
* * .google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2; + * * @return Whether the remainderStream field is set. */ @java.lang.Override @@ -102,19 +135,26 @@ public boolean hasRemainderStream() { return remainderStream_ != null; } /** + * + * *
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
    * 
* * .google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2; + * * @return The remainderStream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadStream getRemainderStream() { - return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() : remainderStream_; + return remainderStream_ == null + ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() + : remainderStream_; } /** + * + * *
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
@@ -124,10 +164,13 @@ public com.google.cloud.bigquery.storage.v1.ReadStream getRemainderStream() {
    */
   @java.lang.Override
   public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getRemainderStreamOrBuilder() {
-    return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() : remainderStream_;
+    return remainderStream_ == null
+        ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()
+        : remainderStream_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -139,8 +182,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (primaryStream_ != null) {
       output.writeMessage(1, getPrimaryStream());
     }
@@ -157,12 +199,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (primaryStream_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getPrimaryStream());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPrimaryStream());
     }
     if (remainderStream_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getRemainderStream());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRemainderStream());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -172,22 +212,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse other = (com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse) obj;
+    com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse other =
+        (com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse) obj;
 
     if (hasPrimaryStream() != other.hasPrimaryStream()) return false;
     if (hasPrimaryStream()) {
-      if (!getPrimaryStream()
-          .equals(other.getPrimaryStream())) return false;
+      if (!getPrimaryStream().equals(other.getPrimaryStream())) return false;
     }
     if (hasRemainderStream() != other.hasRemainderStream()) return false;
     if (hasRemainderStream()) {
-      if (!getRemainderStream()
-          .equals(other.getRemainderStream())) return false;
+      if (!getRemainderStream().equals(other.getRemainderStream())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -214,131 +253,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Response message for `SplitReadStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.SplitReadStreamResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.SplitReadStreamResponse) com.google.cloud.bigquery.storage.v1.SplitReadStreamResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.class, com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.class, + com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,13 +401,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.getDefaultInstance(); } @@ -378,23 +423,25 @@ public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse buildPartial() { - com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse result = new com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse result = + new com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.primaryStream_ = primaryStreamBuilder_ == null - ? primaryStream_ - : primaryStreamBuilder_.build(); + result.primaryStream_ = + primaryStreamBuilder_ == null ? primaryStream_ : primaryStreamBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.remainderStream_ = remainderStreamBuilder_ == null - ? remainderStream_ - : remainderStreamBuilder_.build(); + result.remainderStream_ = + remainderStreamBuilder_ == null ? remainderStream_ : remainderStreamBuilder_.build(); } } @@ -402,38 +449,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.SplitReadStreamR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse) other); } else { super.mergeFrom(other); return this; @@ -441,7 +489,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse other) { - if (other == com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.getDefaultInstance()) + return this; if (other.hasPrimaryStream()) { mergePrimaryStream(other.getPrimaryStream()); } @@ -474,26 +524,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPrimaryStreamFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRemainderStreamFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getPrimaryStreamFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getRemainderStreamFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -503,12 +552,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.bigquery.storage.v1.ReadStream primaryStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadStream, com.google.cloud.bigquery.storage.v1.ReadStream.Builder, com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> primaryStreamBuilder_; + com.google.cloud.bigquery.storage.v1.ReadStream, + com.google.cloud.bigquery.storage.v1.ReadStream.Builder, + com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> + primaryStreamBuilder_; /** + * + * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -516,12 +571,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ public boolean hasPrimaryStream() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -529,16 +587,21 @@ public boolean hasPrimaryStream() {
      * 
* * .google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1; + * * @return The primaryStream. */ public com.google.cloud.bigquery.storage.v1.ReadStream getPrimaryStream() { if (primaryStreamBuilder_ == null) { - return primaryStream_ == null ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() : primaryStream_; + return primaryStream_ == null + ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() + : primaryStream_; } else { return primaryStreamBuilder_.getMessage(); } } /** + * + * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -561,6 +624,8 @@ public Builder setPrimaryStream(com.google.cloud.bigquery.storage.v1.ReadStream
       return this;
     }
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -581,6 +646,8 @@ public Builder setPrimaryStream(
       return this;
     }
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -591,9 +658,10 @@ public Builder setPrimaryStream(
      */
     public Builder mergePrimaryStream(com.google.cloud.bigquery.storage.v1.ReadStream value) {
       if (primaryStreamBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          primaryStream_ != null &&
-          primaryStream_ != com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && primaryStream_ != null
+            && primaryStream_
+                != com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()) {
           getPrimaryStreamBuilder().mergeFrom(value);
         } else {
           primaryStream_ = value;
@@ -606,6 +674,8 @@ public Builder mergePrimaryStream(com.google.cloud.bigquery.storage.v1.ReadStrea
       return this;
     }
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -625,6 +695,8 @@ public Builder clearPrimaryStream() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -639,6 +711,8 @@ public com.google.cloud.bigquery.storage.v1.ReadStream.Builder getPrimaryStreamB
       return getPrimaryStreamFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -651,11 +725,14 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getPrimaryStream
       if (primaryStreamBuilder_ != null) {
         return primaryStreamBuilder_.getMessageOrBuilder();
       } else {
-        return primaryStream_ == null ?
-            com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() : primaryStream_;
+        return primaryStream_ == null
+            ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()
+            : primaryStream_;
       }
     }
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -665,14 +742,17 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getPrimaryStream
      * .google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1.ReadStream, com.google.cloud.bigquery.storage.v1.ReadStream.Builder, com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> 
+            com.google.cloud.bigquery.storage.v1.ReadStream,
+            com.google.cloud.bigquery.storage.v1.ReadStream.Builder,
+            com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder>
         getPrimaryStreamFieldBuilder() {
       if (primaryStreamBuilder_ == null) {
-        primaryStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1.ReadStream, com.google.cloud.bigquery.storage.v1.ReadStream.Builder, com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder>(
-                getPrimaryStream(),
-                getParentForChildren(),
-                isClean());
+        primaryStreamBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.bigquery.storage.v1.ReadStream,
+                com.google.cloud.bigquery.storage.v1.ReadStream.Builder,
+                com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder>(
+                getPrimaryStream(), getParentForChildren(), isClean());
         primaryStream_ = null;
       }
       return primaryStreamBuilder_;
@@ -680,36 +760,49 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getPrimaryStream
 
     private com.google.cloud.bigquery.storage.v1.ReadStream remainderStream_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1.ReadStream, com.google.cloud.bigquery.storage.v1.ReadStream.Builder, com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> remainderStreamBuilder_;
+            com.google.cloud.bigquery.storage.v1.ReadStream,
+            com.google.cloud.bigquery.storage.v1.ReadStream.Builder,
+            com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder>
+        remainderStreamBuilder_;
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
      * 
* * .google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2; + * * @return Whether the remainderStream field is set. */ public boolean hasRemainderStream() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
      * 
* * .google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2; + * * @return The remainderStream. */ public com.google.cloud.bigquery.storage.v1.ReadStream getRemainderStream() { if (remainderStreamBuilder_ == null) { - return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() : remainderStream_; + return remainderStream_ == null + ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() + : remainderStream_; } else { return remainderStreamBuilder_.getMessage(); } } /** + * + * *
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -731,6 +824,8 @@ public Builder setRemainderStream(com.google.cloud.bigquery.storage.v1.ReadStrea
       return this;
     }
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -750,6 +845,8 @@ public Builder setRemainderStream(
       return this;
     }
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -759,9 +856,10 @@ public Builder setRemainderStream(
      */
     public Builder mergeRemainderStream(com.google.cloud.bigquery.storage.v1.ReadStream value) {
       if (remainderStreamBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          remainderStream_ != null &&
-          remainderStream_ != com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && remainderStream_ != null
+            && remainderStream_
+                != com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()) {
           getRemainderStreamBuilder().mergeFrom(value);
         } else {
           remainderStream_ = value;
@@ -774,6 +872,8 @@ public Builder mergeRemainderStream(com.google.cloud.bigquery.storage.v1.ReadStr
       return this;
     }
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -792,6 +892,8 @@ public Builder clearRemainderStream() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -805,6 +907,8 @@ public com.google.cloud.bigquery.storage.v1.ReadStream.Builder getRemainderStrea
       return getRemainderStreamFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -816,11 +920,14 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getRemainderStre
       if (remainderStreamBuilder_ != null) {
         return remainderStreamBuilder_.getMessageOrBuilder();
       } else {
-        return remainderStream_ == null ?
-            com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() : remainderStream_;
+        return remainderStream_ == null
+            ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()
+            : remainderStream_;
       }
     }
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -829,21 +936,24 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getRemainderStre
      * .google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1.ReadStream, com.google.cloud.bigquery.storage.v1.ReadStream.Builder, com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> 
+            com.google.cloud.bigquery.storage.v1.ReadStream,
+            com.google.cloud.bigquery.storage.v1.ReadStream.Builder,
+            com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder>
         getRemainderStreamFieldBuilder() {
       if (remainderStreamBuilder_ == null) {
-        remainderStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1.ReadStream, com.google.cloud.bigquery.storage.v1.ReadStream.Builder, com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder>(
-                getRemainderStream(),
-                getParentForChildren(),
-                isClean());
+        remainderStreamBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.bigquery.storage.v1.ReadStream,
+                com.google.cloud.bigquery.storage.v1.ReadStream.Builder,
+                com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder>(
+                getRemainderStream(), getParentForChildren(), isClean());
         remainderStream_ = null;
       }
       return remainderStreamBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -853,12 +963,13 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.SplitReadStreamResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.SplitReadStreamResponse)
-  private static final com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse DEFAULT_INSTANCE;
+  private static final com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse();
   }
@@ -867,27 +978,27 @@ public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse getDe
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public SplitReadStreamResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public SplitReadStreamResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -902,6 +1013,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponseOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponseOrBuilder.java
similarity index 77%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponseOrBuilder.java
rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponseOrBuilder.java
index 4e152f4f5d..1c3017d875 100644
--- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponseOrBuilder.java
+++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1/storage.proto
 
 package com.google.cloud.bigquery.storage.v1;
 
-public interface SplitReadStreamResponseOrBuilder extends
+public interface SplitReadStreamResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.SplitReadStreamResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Primary stream, which contains the beginning portion of
    * |original_stream|. An empty value indicates that the original stream can no
@@ -15,10 +33,13 @@ public interface SplitReadStreamResponseOrBuilder extends
    * 
* * .google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ boolean hasPrimaryStream(); /** + * + * *
    * Primary stream, which contains the beginning portion of
    * |original_stream|. An empty value indicates that the original stream can no
@@ -26,10 +47,13 @@ public interface SplitReadStreamResponseOrBuilder extends
    * 
* * .google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1; + * * @return The primaryStream. */ com.google.cloud.bigquery.storage.v1.ReadStream getPrimaryStream(); /** + * + * *
    * Primary stream, which contains the beginning portion of
    * |original_stream|. An empty value indicates that the original stream can no
@@ -41,26 +65,34 @@ public interface SplitReadStreamResponseOrBuilder extends
   com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getPrimaryStreamOrBuilder();
 
   /**
+   *
+   *
    * 
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
    * 
* * .google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2; + * * @return Whether the remainderStream field is set. */ boolean hasRemainderStream(); /** + * + * *
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
    * 
* * .google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2; + * * @return The remainderStream. */ com.google.cloud.bigquery.storage.v1.ReadStream getRemainderStream(); /** + * + * *
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageError.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageError.java
similarity index 70%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageError.java
rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageError.java
index 1e40ff5fb2..06b60e5a5c 100644
--- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageError.java
+++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageError.java
@@ -1,9 +1,26 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1/storage.proto
 
 package com.google.cloud.bigquery.storage.v1;
 
 /**
+ *
+ *
  * 
  * Structured custom BigQuery Storage error message. The error can be attached
  * as error details in the returned rpc Status. In particular, the use of error
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1.StorageError}
  */
-public final class StorageError extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StorageError extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.StorageError)
     StorageErrorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StorageError.newBuilder() to construct.
   private StorageError(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StorageError() {
     code_ = 0;
     entity_ = "";
@@ -30,34 +48,38 @@ private StorageError() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StorageError();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1.StorageProto
+        .internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1.StorageProto
+        .internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1.StorageError.class, com.google.cloud.bigquery.storage.v1.StorageError.Builder.class);
+            com.google.cloud.bigquery.storage.v1.StorageError.class,
+            com.google.cloud.bigquery.storage.v1.StorageError.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Error code for `StorageError`.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode} */ - public enum StorageErrorCode - implements com.google.protobuf.ProtocolMessageEnum { + public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default error.
      * 
@@ -66,6 +88,8 @@ public enum StorageErrorCode */ STORAGE_ERROR_CODE_UNSPECIFIED(0), /** + * + * *
      * Table is not found in the system.
      * 
@@ -74,6 +98,8 @@ public enum StorageErrorCode */ TABLE_NOT_FOUND(1), /** + * + * *
      * Stream is already committed.
      * 
@@ -82,6 +108,8 @@ public enum StorageErrorCode */ STREAM_ALREADY_COMMITTED(2), /** + * + * *
      * Stream is not found.
      * 
@@ -90,6 +118,8 @@ public enum StorageErrorCode */ STREAM_NOT_FOUND(3), /** + * + * *
      * Invalid Stream type.
      * For example, you try to commit a stream that is not pending.
@@ -99,6 +129,8 @@ public enum StorageErrorCode
      */
     INVALID_STREAM_TYPE(4),
     /**
+     *
+     *
      * 
      * Invalid Stream state.
      * For example, you try to commit a stream that is not finalized or is
@@ -109,6 +141,8 @@ public enum StorageErrorCode
      */
     INVALID_STREAM_STATE(5),
     /**
+     *
+     *
      * 
      * Stream is finalized.
      * 
@@ -117,6 +151,8 @@ public enum StorageErrorCode */ STREAM_FINALIZED(6), /** + * + * *
      * There is a schema mismatch and it is caused by user schema has extra
      * field than bigquery schema.
@@ -126,6 +162,8 @@ public enum StorageErrorCode
      */
     SCHEMA_MISMATCH_EXTRA_FIELDS(7),
     /**
+     *
+     *
      * 
      * Offset already exists.
      * 
@@ -134,6 +172,8 @@ public enum StorageErrorCode */ OFFSET_ALREADY_EXISTS(8), /** + * + * *
      * Offset out of range.
      * 
@@ -142,6 +182,8 @@ public enum StorageErrorCode */ OFFSET_OUT_OF_RANGE(9), /** + * + * *
      * Customer-managed encryption key (CMEK) not provided for CMEK-enabled
      * data.
@@ -151,6 +193,8 @@ public enum StorageErrorCode
      */
     CMEK_NOT_PROVIDED(10),
     /**
+     *
+     *
      * 
      * Customer-managed encryption key (CMEK) was incorrectly provided.
      * 
@@ -159,6 +203,8 @@ public enum StorageErrorCode */ INVALID_CMEK_PROVIDED(11), /** + * + * *
      * There is an encryption error while using customer-managed encryption key.
      * 
@@ -167,6 +213,8 @@ public enum StorageErrorCode */ CMEK_ENCRYPTION_ERROR(12), /** + * + * *
      * Key Management Service (KMS) service returned an error.
      * 
@@ -175,6 +223,8 @@ public enum StorageErrorCode */ KMS_SERVICE_ERROR(13), /** + * + * *
      * Permission denied while using customer-managed encryption key.
      * 
@@ -186,6 +236,8 @@ public enum StorageErrorCode ; /** + * + * *
      * Default error.
      * 
@@ -194,6 +246,8 @@ public enum StorageErrorCode */ public static final int STORAGE_ERROR_CODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Table is not found in the system.
      * 
@@ -202,6 +256,8 @@ public enum StorageErrorCode */ public static final int TABLE_NOT_FOUND_VALUE = 1; /** + * + * *
      * Stream is already committed.
      * 
@@ -210,6 +266,8 @@ public enum StorageErrorCode */ public static final int STREAM_ALREADY_COMMITTED_VALUE = 2; /** + * + * *
      * Stream is not found.
      * 
@@ -218,6 +276,8 @@ public enum StorageErrorCode */ public static final int STREAM_NOT_FOUND_VALUE = 3; /** + * + * *
      * Invalid Stream type.
      * For example, you try to commit a stream that is not pending.
@@ -227,6 +287,8 @@ public enum StorageErrorCode
      */
     public static final int INVALID_STREAM_TYPE_VALUE = 4;
     /**
+     *
+     *
      * 
      * Invalid Stream state.
      * For example, you try to commit a stream that is not finalized or is
@@ -237,6 +299,8 @@ public enum StorageErrorCode
      */
     public static final int INVALID_STREAM_STATE_VALUE = 5;
     /**
+     *
+     *
      * 
      * Stream is finalized.
      * 
@@ -245,6 +309,8 @@ public enum StorageErrorCode */ public static final int STREAM_FINALIZED_VALUE = 6; /** + * + * *
      * There is a schema mismatch and it is caused by user schema has extra
      * field than bigquery schema.
@@ -254,6 +320,8 @@ public enum StorageErrorCode
      */
     public static final int SCHEMA_MISMATCH_EXTRA_FIELDS_VALUE = 7;
     /**
+     *
+     *
      * 
      * Offset already exists.
      * 
@@ -262,6 +330,8 @@ public enum StorageErrorCode */ public static final int OFFSET_ALREADY_EXISTS_VALUE = 8; /** + * + * *
      * Offset out of range.
      * 
@@ -270,6 +340,8 @@ public enum StorageErrorCode */ public static final int OFFSET_OUT_OF_RANGE_VALUE = 9; /** + * + * *
      * Customer-managed encryption key (CMEK) not provided for CMEK-enabled
      * data.
@@ -279,6 +351,8 @@ public enum StorageErrorCode
      */
     public static final int CMEK_NOT_PROVIDED_VALUE = 10;
     /**
+     *
+     *
      * 
      * Customer-managed encryption key (CMEK) was incorrectly provided.
      * 
@@ -287,6 +361,8 @@ public enum StorageErrorCode */ public static final int INVALID_CMEK_PROVIDED_VALUE = 11; /** + * + * *
      * There is an encryption error while using customer-managed encryption key.
      * 
@@ -295,6 +371,8 @@ public enum StorageErrorCode */ public static final int CMEK_ENCRYPTION_ERROR_VALUE = 12; /** + * + * *
      * Key Management Service (KMS) service returned an error.
      * 
@@ -303,6 +381,8 @@ public enum StorageErrorCode */ public static final int KMS_SERVICE_ERROR_VALUE = 13; /** + * + * *
      * Permission denied while using customer-managed encryption key.
      * 
@@ -311,7 +391,6 @@ public enum StorageErrorCode */ public static final int KMS_PERMISSION_DENIED_VALUE = 14; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -336,52 +415,69 @@ public static StorageErrorCode valueOf(int value) { */ public static StorageErrorCode forNumber(int value) { switch (value) { - case 0: return STORAGE_ERROR_CODE_UNSPECIFIED; - case 1: return TABLE_NOT_FOUND; - case 2: return STREAM_ALREADY_COMMITTED; - case 3: return STREAM_NOT_FOUND; - case 4: return INVALID_STREAM_TYPE; - case 5: return INVALID_STREAM_STATE; - case 6: return STREAM_FINALIZED; - case 7: return SCHEMA_MISMATCH_EXTRA_FIELDS; - case 8: return OFFSET_ALREADY_EXISTS; - case 9: return OFFSET_OUT_OF_RANGE; - case 10: return CMEK_NOT_PROVIDED; - case 11: return INVALID_CMEK_PROVIDED; - case 12: return CMEK_ENCRYPTION_ERROR; - case 13: return KMS_SERVICE_ERROR; - case 14: return KMS_PERMISSION_DENIED; - default: return null; + case 0: + return STORAGE_ERROR_CODE_UNSPECIFIED; + case 1: + return TABLE_NOT_FOUND; + case 2: + return STREAM_ALREADY_COMMITTED; + case 3: + return STREAM_NOT_FOUND; + case 4: + return INVALID_STREAM_TYPE; + case 5: + return INVALID_STREAM_STATE; + case 6: + return STREAM_FINALIZED; + case 7: + return SCHEMA_MISMATCH_EXTRA_FIELDS; + case 8: + return OFFSET_ALREADY_EXISTS; + case 9: + return OFFSET_OUT_OF_RANGE; + case 10: + return CMEK_NOT_PROVIDED; + case 11: + return INVALID_CMEK_PROVIDED; + case 12: + return CMEK_ENCRYPTION_ERROR; + case 13: + return KMS_SERVICE_ERROR; + case 14: + return KMS_PERMISSION_DENIED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - StorageErrorCode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StorageErrorCode findValueByNumber(int number) { - return StorageErrorCode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StorageErrorCode findValueByNumber(int number) { + return StorageErrorCode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageError.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageError.getDescriptor() + .getEnumTypes() + .get(0); } private static final StorageErrorCode[] VALUES = values(); @@ -389,8 +485,7 @@ public StorageErrorCode findValueByNumber(int number) { public static StorageErrorCode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -410,38 +505,53 @@ private StorageErrorCode(int value) { public static final int CODE_FIELD_NUMBER = 1; private int code_ = 0; /** + * + * *
    * BigQuery Storage specific error code.
    * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
    * BigQuery Storage specific error code.
    * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; + * * @return The code. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode getCode() { - com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode result = com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.forNumber(code_); - return result == null ? com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode getCode() { + com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode result = + com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.forNumber(code_); + return result == null + ? com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.UNRECOGNIZED + : result; } public static final int ENTITY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object entity_ = ""; /** + * + * *
    * Name of the failed entity.
    * 
* * string entity = 2; + * * @return The entity. */ @java.lang.Override @@ -450,29 +560,29 @@ public java.lang.String getEntity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; } } /** + * + * *
    * Name of the failed entity.
    * 
* * string entity = 2; + * * @return The bytes for entity. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntityBytes() { + public com.google.protobuf.ByteString getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entity_ = b; return b; } else { @@ -481,14 +591,18 @@ public java.lang.String getEntity() { } public static final int ERROR_MESSAGE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object errorMessage_ = ""; /** + * + * *
    * Message that describes the error.
    * 
* * string error_message = 3; + * * @return The errorMessage. */ @java.lang.Override @@ -497,29 +611,29 @@ public java.lang.String getErrorMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** + * + * *
    * Message that describes the error.
    * 
* * string error_message = 3; + * * @return The bytes for errorMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -528,6 +642,7 @@ public java.lang.String getErrorMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -539,9 +654,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (code_ != com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.STORAGE_ERROR_CODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (code_ + != com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode + .STORAGE_ERROR_CODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { @@ -559,9 +676,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (code_ != com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.STORAGE_ERROR_CODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, code_); + if (code_ + != com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode + .STORAGE_ERROR_CODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entity_); @@ -577,18 +696,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.StorageError)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.StorageError other = (com.google.cloud.bigquery.storage.v1.StorageError) obj; + com.google.cloud.bigquery.storage.v1.StorageError other = + (com.google.cloud.bigquery.storage.v1.StorageError) obj; if (code_ != other.code_) return false; - if (!getEntity() - .equals(other.getEntity())) return false; - if (!getErrorMessage() - .equals(other.getErrorMessage())) return false; + if (!getEntity().equals(other.getEntity())) return false; + if (!getErrorMessage().equals(other.getErrorMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -612,98 +730,103 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StorageError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.StorageError parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.StorageError parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.StorageError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Structured custom BigQuery Storage error message. The error can be attached
    * as error details in the returned rpc Status. In particular, the use of error
@@ -713,33 +836,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1.StorageError}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.StorageError)
       com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1.StorageError.class, com.google.cloud.bigquery.storage.v1.StorageError.Builder.class);
+              com.google.cloud.bigquery.storage.v1.StorageError.class,
+              com.google.cloud.bigquery.storage.v1.StorageError.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.storage.v1.StorageError.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -751,9 +873,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.storage.v1.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor;
     }
 
     @java.lang.Override
@@ -772,8 +894,11 @@ public com.google.cloud.bigquery.storage.v1.StorageError build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1.StorageError buildPartial() {
-      com.google.cloud.bigquery.storage.v1.StorageError result = new com.google.cloud.bigquery.storage.v1.StorageError(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.storage.v1.StorageError result =
+          new com.google.cloud.bigquery.storage.v1.StorageError(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -795,38 +920,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.StorageError res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1.StorageError) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1.StorageError)other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1.StorageError) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -834,7 +960,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.StorageError other) {
-      if (other == com.google.cloud.bigquery.storage.v1.StorageError.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.storage.v1.StorageError.getDefaultInstance())
+        return this;
       if (other.code_ != 0) {
         setCodeValue(other.getCodeValue());
       }
@@ -874,27 +1001,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              code_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              entity_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              errorMessage_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                code_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                entity_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                errorMessage_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -904,26 +1035,34 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int code_ = 0;
     /**
+     *
+     *
      * 
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; + * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -934,28 +1073,38 @@ public Builder setCodeValue(int value) { return this; } /** + * + * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; + * * @return The code. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode getCode() { - com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode result = com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.forNumber(code_); - return result == null ? com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode result = + com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.forNumber(code_); + return result == null + ? com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.UNRECOGNIZED + : result; } /** + * + * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; + * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode(com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode value) { + public Builder setCode( + com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode value) { if (value == null) { throw new NullPointerException(); } @@ -965,11 +1114,14 @@ public Builder setCode(com.google.cloud.bigquery.storage.v1.StorageError.Storage return this; } /** + * + * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; + * * @return This builder for chaining. */ public Builder clearCode() { @@ -981,18 +1133,20 @@ public Builder clearCode() { private java.lang.Object entity_ = ""; /** + * + * *
      * Name of the failed entity.
      * 
* * string entity = 2; + * * @return The entity. */ public java.lang.String getEntity() { java.lang.Object ref = entity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; @@ -1001,20 +1155,21 @@ public java.lang.String getEntity() { } } /** + * + * *
      * Name of the failed entity.
      * 
* * string entity = 2; + * * @return The bytes for entity. */ - public com.google.protobuf.ByteString - getEntityBytes() { + public com.google.protobuf.ByteString getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entity_ = b; return b; } else { @@ -1022,28 +1177,35 @@ public java.lang.String getEntity() { } } /** + * + * *
      * Name of the failed entity.
      * 
* * string entity = 2; + * * @param value The entity to set. * @return This builder for chaining. */ - public Builder setEntity( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntity(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } entity_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Name of the failed entity.
      * 
* * string entity = 2; + * * @return This builder for chaining. */ public Builder clearEntity() { @@ -1053,17 +1215,21 @@ public Builder clearEntity() { return this; } /** + * + * *
      * Name of the failed entity.
      * 
* * string entity = 2; + * * @param value The bytes for entity to set. * @return This builder for chaining. */ - public Builder setEntityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); entity_ = value; bitField0_ |= 0x00000002; @@ -1073,18 +1239,20 @@ public Builder setEntityBytes( private java.lang.Object errorMessage_ = ""; /** + * + * *
      * Message that describes the error.
      * 
* * string error_message = 3; + * * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; @@ -1093,20 +1261,21 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
      * Message that describes the error.
      * 
* * string error_message = 3; + * * @return The bytes for errorMessage. */ - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -1114,28 +1283,35 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
      * Message that describes the error.
      * 
* * string error_message = 3; + * * @param value The errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } errorMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Message that describes the error.
      * 
* * string error_message = 3; + * * @return This builder for chaining. */ public Builder clearErrorMessage() { @@ -1145,26 +1321,30 @@ public Builder clearErrorMessage() { return this; } /** + * + * *
      * Message that describes the error.
      * 
* * string error_message = 3; + * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); errorMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1174,12 +1354,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.StorageError) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.StorageError) private static final com.google.cloud.bigquery.storage.v1.StorageError DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.StorageError(); } @@ -1188,27 +1368,27 @@ public static com.google.cloud.bigquery.storage.v1.StorageError getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StorageError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1223,6 +1403,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.StorageError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageErrorOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageErrorOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageErrorOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageErrorOrBuilder.java index fe2c703ae8..540bc3c113 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageErrorOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageErrorOrBuilder.java @@ -1,68 +1,100 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; -public interface StorageErrorOrBuilder extends +public interface StorageErrorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.StorageError) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * BigQuery Storage specific error code.
    * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; + * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** + * + * *
    * BigQuery Storage specific error code.
    * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; + * * @return The code. */ com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode getCode(); /** + * + * *
    * Name of the failed entity.
    * 
* * string entity = 2; + * * @return The entity. */ java.lang.String getEntity(); /** + * + * *
    * Name of the failed entity.
    * 
* * string entity = 2; + * * @return The bytes for entity. */ - com.google.protobuf.ByteString - getEntityBytes(); + com.google.protobuf.ByteString getEntityBytes(); /** + * + * *
    * Message that describes the error.
    * 
* * string error_message = 3; + * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** + * + * *
    * Message that describes the error.
    * 
* * string error_message = 3; + * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString - getErrorMessageBytes(); + com.google.protobuf.ByteString getErrorMessageBytes(); } diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java new file mode 100644 index 0000000000..509f0a03f2 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java @@ -0,0 +1,560 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/storage.proto + +package com.google.cloud.bigquery.storage.v1; + +public final class StorageProto { + private StorageProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n.google/cloud/bigquery/storage/v1/stora" + + "ge.proto\022 google.cloud.bigquery.storage." + + "v1\032\034google/api/annotations.proto\032\027google" + + "/api/client.proto\032\037google/api/field_beha" + + "vior.proto\032\031google/api/resource.proto\032,g" + + "oogle/cloud/bigquery/storage/v1/arrow.pr" + + "oto\032+google/cloud/bigquery/storage/v1/av" + + "ro.proto\032/google/cloud/bigquery/storage/" + + "v1/protobuf.proto\032-google/cloud/bigquery" + + "/storage/v1/stream.proto\032,google/cloud/b" + + "igquery/storage/v1/table.proto\032\037google/p" + + "rotobuf/timestamp.proto\032\036google/protobuf" + + "/wrappers.proto\032\027google/rpc/status.proto" + + "\"\351\001\n\030CreateReadSessionRequest\022D\n\006parent\030" + + "\001 \001(\tB4\342A\001\002\372A-\n+cloudresourcemanager.goo" + + "gleapis.com/Project\022I\n\014read_session\030\002 \001(" + + "\0132-.google.cloud.bigquery.storage.v1.Rea" + + "dSessionB\004\342A\001\002\022\030\n\020max_stream_count\030\003 \001(\005" + + "\022\"\n\032preferred_min_stream_count\030\004 \001(\005\"j\n\017" + + "ReadRowsRequest\022G\n\013read_stream\030\001 \001(\tB2\342A" + + "\001\002\372A+\n)bigquerystorage.googleapis.com/Re" + + "adStream\022\016\n\006offset\030\002 \001(\003\")\n\rThrottleStat" + + "e\022\030\n\020throttle_percent\030\001 \001(\005\"\227\001\n\013StreamSt" + + "ats\022H\n\010progress\030\002 \001(\01326.google.cloud.big" + + "query.storage.v1.StreamStats.Progress\032>\n" + + "\010Progress\022\031\n\021at_response_start\030\001 \001(\001\022\027\n\017" + + "at_response_end\030\002 \001(\001\"\351\003\n\020ReadRowsRespon" + + "se\022?\n\tavro_rows\030\003 \001(\0132*.google.cloud.big" + + "query.storage.v1.AvroRowsH\000\022P\n\022arrow_rec" + + "ord_batch\030\004 \001(\01322.google.cloud.bigquery." + + "storage.v1.ArrowRecordBatchH\000\022\021\n\trow_cou" + + "nt\030\006 \001(\003\022<\n\005stats\030\002 \001(\0132-.google.cloud.b" + + "igquery.storage.v1.StreamStats\022G\n\016thrott" + + "le_state\030\005 \001(\0132/.google.cloud.bigquery.s" + + "torage.v1.ThrottleState\022I\n\013avro_schema\030\007" + + " \001(\0132,.google.cloud.bigquery.storage.v1." + + "AvroSchemaB\004\342A\001\003H\001\022K\n\014arrow_schema\030\010 \001(\013" + + "2-.google.cloud.bigquery.storage.v1.Arro" + + "wSchemaB\004\342A\001\003H\001B\006\n\004rowsB\010\n\006schema\"l\n\026Spl" + + "itReadStreamRequest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372" + + "A+\n)bigquerystorage.googleapis.com/ReadS" + + "tream\022\020\n\010fraction\030\002 \001(\001\"\247\001\n\027SplitReadStr" + + "eamResponse\022D\n\016primary_stream\030\001 \001(\0132,.go" + + "ogle.cloud.bigquery.storage.v1.ReadStrea" + + "m\022F\n\020remainder_stream\030\002 \001(\0132,.google.clo" + + "ud.bigquery.storage.v1.ReadStream\"\235\001\n\030Cr" + + "eateWriteStreamRequest\0226\n\006parent\030\001 \001(\tB&" + + "\342A\001\002\372A\037\n\035bigquery.googleapis.com/Table\022I" + + "\n\014write_stream\030\002 \001(\0132-.google.cloud.bigq" + + "uery.storage.v1.WriteStreamB\004\342A\001\002\"\212\006\n\021Ap" + + "pendRowsRequest\022I\n\014write_stream\030\001 \001(\tB3\342" + + "A\001\002\372A,\n*bigquerystorage.googleapis.com/W" + + "riteStream\022+\n\006offset\030\002 \001(\0132\033.google.prot" + + "obuf.Int64Value\022S\n\nproto_rows\030\004 \001(\0132=.go" + + "ogle.cloud.bigquery.storage.v1.AppendRow" + + "sRequest.ProtoDataH\000\022\020\n\010trace_id\030\006 \001(\t\022{" + + "\n\035missing_value_interpretations\030\007 \003(\0132T." + + "google.cloud.bigquery.storage.v1.AppendR" + + "owsRequest.MissingValueInterpretationsEn" + + "try\032\214\001\n\tProtoData\022D\n\rwriter_schema\030\001 \001(\013" + + "2-.google.cloud.bigquery.storage.v1.Prot" + + "oSchema\0229\n\004rows\030\002 \001(\0132+.google.cloud.big" + + "query.storage.v1.ProtoRows\032\222\001\n MissingVa" + + "lueInterpretationsEntry\022\013\n\003key\030\001 \001(\t\022]\n\005" + + "value\030\002 \001(\0162N.google.cloud.bigquery.stor" + + "age.v1.AppendRowsRequest.MissingValueInt" + + "erpretation:\0028\001\"m\n\032MissingValueInterpret" + + "ation\022,\n(MISSING_VALUE_INTERPRETATION_UN" + + "SPECIFIED\020\000\022\016\n\nNULL_VALUE\020\001\022\021\n\rDEFAULT_V" + + "ALUE\020\002B\006\n\004rows\"\373\002\n\022AppendRowsResponse\022Z\n" + + "\rappend_result\030\001 \001(\0132A.google.cloud.bigq" + + "uery.storage.v1.AppendRowsResponse.Appen" + + "dResultH\000\022#\n\005error\030\002 \001(\0132\022.google.rpc.St" + + "atusH\000\022E\n\016updated_schema\030\003 \001(\0132-.google." + + "cloud.bigquery.storage.v1.TableSchema\022>\n" + + "\nrow_errors\030\004 \003(\0132*.google.cloud.bigquer" + + "y.storage.v1.RowError\022\024\n\014write_stream\030\005 " + + "\001(\t\032;\n\014AppendResult\022+\n\006offset\030\001 \001(\0132\033.go" + + "ogle.protobuf.Int64ValueB\n\n\010response\"\233\001\n" + + "\025GetWriteStreamRequest\022A\n\004name\030\001 \001(\tB3\342A" + + "\001\002\372A,\n*bigquerystorage.googleapis.com/Wr" + + "iteStream\022?\n\004view\030\003 \001(\01621.google.cloud.b" + + "igquery.storage.v1.WriteStreamView\"u\n\036Ba" + + "tchCommitWriteStreamsRequest\0226\n\006parent\030\001" + + " \001(\tB&\342A\001\002\372A\037\n\035bigquery.googleapis.com/T" + + "able\022\033\n\rwrite_streams\030\002 \003(\tB\004\342A\001\002\"\231\001\n\037Ba" + + "tchCommitWriteStreamsResponse\022/\n\013commit_" + + "time\030\001 \001(\0132\032.google.protobuf.Timestamp\022E" + + "\n\rstream_errors\030\002 \003(\0132..google.cloud.big" + + "query.storage.v1.StorageError\"_\n\032Finaliz" + + "eWriteStreamRequest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372" + + "A,\n*bigquerystorage.googleapis.com/Write" + + "Stream\"0\n\033FinalizeWriteStreamResponse\022\021\n" + + "\trow_count\030\001 \001(\003\"\212\001\n\020FlushRowsRequest\022I\n" + + "\014write_stream\030\001 \001(\tB3\342A\001\002\372A,\n*bigqueryst" + + "orage.googleapis.com/WriteStream\022+\n\006offs" + + "et\030\002 \001(\0132\033.google.protobuf.Int64Value\"#\n" + + "\021FlushRowsResponse\022\016\n\006offset\030\001 \001(\003\"\244\004\n\014S" + + "torageError\022M\n\004code\030\001 \001(\0162?.google.cloud" + + ".bigquery.storage.v1.StorageError.Storag" + + "eErrorCode\022\016\n\006entity\030\002 \001(\t\022\025\n\rerror_mess" + + "age\030\003 \001(\t\"\235\003\n\020StorageErrorCode\022\"\n\036STORAG" + + "E_ERROR_CODE_UNSPECIFIED\020\000\022\023\n\017TABLE_NOT_" + + "FOUND\020\001\022\034\n\030STREAM_ALREADY_COMMITTED\020\002\022\024\n" + + "\020STREAM_NOT_FOUND\020\003\022\027\n\023INVALID_STREAM_TY" + + "PE\020\004\022\030\n\024INVALID_STREAM_STATE\020\005\022\024\n\020STREAM" + + "_FINALIZED\020\006\022 \n\034SCHEMA_MISMATCH_EXTRA_FI" + + "ELDS\020\007\022\031\n\025OFFSET_ALREADY_EXISTS\020\010\022\027\n\023OFF" + + "SET_OUT_OF_RANGE\020\t\022\025\n\021CMEK_NOT_PROVIDED\020" + + "\n\022\031\n\025INVALID_CMEK_PROVIDED\020\013\022\031\n\025CMEK_ENC" + + "RYPTION_ERROR\020\014\022\025\n\021KMS_SERVICE_ERROR\020\r\022\031" + + "\n\025KMS_PERMISSION_DENIED\020\016\"\263\001\n\010RowError\022\r" + + "\n\005index\030\001 \001(\003\022E\n\004code\030\002 \001(\01627.google.clo" + + "ud.bigquery.storage.v1.RowError.RowError" + + "Code\022\017\n\007message\030\003 \001(\t\"@\n\014RowErrorCode\022\036\n" + + "\032ROW_ERROR_CODE_UNSPECIFIED\020\000\022\020\n\014FIELDS_" + + "ERROR\020\0012\222\006\n\014BigQueryRead\022\351\001\n\021CreateReadS" + + "ession\022:.google.cloud.bigquery.storage.v" + + "1.CreateReadSessionRequest\032-.google.clou" + + "d.bigquery.storage.v1.ReadSession\"i\332A$pa" + + "rent,read_session,max_stream_count\202\323\344\223\002<" + + "\"7/v1/{read_session.table=projects/*/dat" + + "asets/*/tables/*}:\001*\022\317\001\n\010ReadRows\0221.goog" + + "le.cloud.bigquery.storage.v1.ReadRowsReq" + + "uest\0322.google.cloud.bigquery.storage.v1." + + "ReadRowsResponse\"Z\332A\022read_stream,offset\202" + + "\323\344\223\002?\022=/v1/{read_stream=projects/*/locat" + + "ions/*/sessions/*/streams/*}0\001\022\306\001\n\017Split" + + "ReadStream\0228.google.cloud.bigquery.stora" + + "ge.v1.SplitReadStreamRequest\0329.google.cl" + + "oud.bigquery.storage.v1.SplitReadStreamR" + + "esponse\">\202\323\344\223\0028\0226/v1/{name=projects/*/lo" + + "cations/*/sessions/*/streams/*}\032{\312A\036bigq" + + "uerystorage.googleapis.com\322AWhttps://www" + + ".googleapis.com/auth/bigquery,https://ww" + + "w.googleapis.com/auth/cloud-platform2\274\013\n" + + "\rBigQueryWrite\022\327\001\n\021CreateWriteStream\022:.g" + + "oogle.cloud.bigquery.storage.v1.CreateWr" + + "iteStreamRequest\032-.google.cloud.bigquery" + + ".storage.v1.WriteStream\"W\332A\023parent,write" + + "_stream\202\323\344\223\002;\"+/v1/{parent=projects/*/da" + + "tasets/*/tables/*}:\014write_stream\022\322\001\n\nApp" + + "endRows\0223.google.cloud.bigquery.storage." + + "v1.AppendRowsRequest\0324.google.cloud.bigq" + + "uery.storage.v1.AppendRowsResponse\"U\332A\014w" + + "rite_stream\202\323\344\223\002@\";/v1/{write_stream=pro" + + "jects/*/datasets/*/tables/*/streams/*}:\001" + + "*(\0010\001\022\277\001\n\016GetWriteStream\0227.google.cloud." + + "bigquery.storage.v1.GetWriteStreamReques" + + "t\032-.google.cloud.bigquery.storage.v1.Wri" + + "teStream\"E\332A\004name\202\323\344\223\0028\"3/v1/{name=proje" + + "cts/*/datasets/*/tables/*/streams/*}:\001*\022" + + "\331\001\n\023FinalizeWriteStream\022<.google.cloud.b" + + "igquery.storage.v1.FinalizeWriteStreamRe" + + "quest\032=.google.cloud.bigquery.storage.v1" + + ".FinalizeWriteStreamResponse\"E\332A\004name\202\323\344" + + "\223\0028\"3/v1/{name=projects/*/datasets/*/tab" + + "les/*/streams/*}:\001*\022\334\001\n\027BatchCommitWrite" + + "Streams\022@.google.cloud.bigquery.storage." + + "v1.BatchCommitWriteStreamsRequest\032A.goog" + + "le.cloud.bigquery.storage.v1.BatchCommit" + + "WriteStreamsResponse\"<\332A\006parent\202\323\344\223\002-\022+/" + + "v1/{parent=projects/*/datasets/*/tables/" + + "*}\022\313\001\n\tFlushRows\0222.google.cloud.bigquery" + + ".storage.v1.FlushRowsRequest\0323.google.cl" + + "oud.bigquery.storage.v1.FlushRowsRespons" + + "e\"U\332A\014write_stream\202\323\344\223\002@\";/v1/{write_str" + + "eam=projects/*/datasets/*/tables/*/strea" + + "ms/*}:\001*\032\260\001\312A\036bigquerystorage.googleapis" + + ".com\322A\213\001https://www.googleapis.com/auth/" + + "bigquery,https://www.googleapis.com/auth" + + "/bigquery.insertdata,https://www.googlea" + + "pis.com/auth/cloud-platformB\224\002\n$com.goog" + + "le.cloud.bigquery.storage.v1B\014StoragePro" + + "toP\001Z>cloud.google.com/go/bigquery/stora" + + "ge/apiv1/storagepb;storagepb\252\002 Google.Cl" + + "oud.BigQuery.Storage.V1\312\002 Google\\Cloud\\B" + + "igQuery\\Storage\\V1\352AU\n\035bigquery.googleap" + + "is.com/Table\0224projects/{project}/dataset" + + "s/{dataset}/tables/{table}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.ProtoBufProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.StreamProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor, + new java.lang.String[] { + "Parent", "ReadSession", "MaxStreamCount", "PreferredMinStreamCount", + }); + internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor, + new java.lang.String[] { + "ReadStream", "Offset", + }); + internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor, + new java.lang.String[] { + "ThrottlePercent", + }); + internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor, + new java.lang.String[] { + "Progress", + }); + internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor = + internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor, + new java.lang.String[] { + "AtResponseStart", "AtResponseEnd", + }); + internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor, + new java.lang.String[] { + "AvroRows", + "ArrowRecordBatch", + "RowCount", + "Stats", + "ThrottleState", + "AvroSchema", + "ArrowSchema", + "Rows", + "Schema", + }); + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor, + new java.lang.String[] { + "Name", "Fraction", + }); + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor, + new java.lang.String[] { + "PrimaryStream", "RemainderStream", + }); + internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor, + new java.lang.String[] { + "Parent", "WriteStream", + }); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor, + new java.lang.String[] { + "WriteStream", + "Offset", + "ProtoRows", + "TraceId", + "MissingValueInterpretations", + "Rows", + }); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor = + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor, + new java.lang.String[] { + "WriterSchema", "Rows", + }); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor = + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor, + new java.lang.String[] { + "AppendResult", "Error", "UpdatedSchema", "RowErrors", "WriteStream", "Response", + }); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor = + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor, + new java.lang.String[] { + "Offset", + }); + internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor, + new java.lang.String[] { + "Name", "View", + }); + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor, + new java.lang.String[] { + "Parent", "WriteStreams", + }); + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor, + new java.lang.String[] { + "CommitTime", "StreamErrors", + }); + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor, + new java.lang.String[] { + "RowCount", + }); + internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor, + new java.lang.String[] { + "WriteStream", "Offset", + }); + internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor, + new java.lang.String[] { + "Offset", + }); + internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor, + new java.lang.String[] { + "Code", "Entity", "ErrorMessage", + }); + internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor, + new java.lang.String[] { + "Index", "Code", "Message", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.ProtoBufProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.StreamProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java new file mode 100644 index 0000000000..77eb1b5ff3 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java @@ -0,0 +1,220 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/stream.proto + +package com.google.cloud.bigquery.storage.v1; + +public final class StreamProto { + private StreamProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ReadSession_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ReadStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/bigquery/storage/v1/strea" + + "m.proto\022 google.cloud.bigquery.storage.v" + + "1\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032,google/cloud/bigq" + + "uery/storage/v1/arrow.proto\032+google/clou" + + "d/bigquery/storage/v1/avro.proto\032,google" + + "/cloud/bigquery/storage/v1/table.proto\032\037" + + "google/protobuf/timestamp.proto\"\300\n\n\013Read" + + "Session\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\0225\n\013expire_ti" + + "me\030\002 \001(\0132\032.google.protobuf.TimestampB\004\342A" + + "\001\003\022G\n\013data_format\030\003 \001(\0162,.google.cloud.b" + + "igquery.storage.v1.DataFormatB\004\342A\001\005\022I\n\013a" + + "vro_schema\030\004 \001(\0132,.google.cloud.bigquery" + + ".storage.v1.AvroSchemaB\004\342A\001\003H\000\022K\n\014arrow_" + + "schema\030\005 \001(\0132-.google.cloud.bigquery.sto" + + "rage.v1.ArrowSchemaB\004\342A\001\003H\000\0225\n\005table\030\006 \001" + + "(\tB&\342A\001\005\372A\037\n\035bigquery.googleapis.com/Tab" + + "le\022[\n\017table_modifiers\030\007 \001(\0132<.google.clo" + + "ud.bigquery.storage.v1.ReadSession.Table" + + "ModifiersB\004\342A\001\001\022Z\n\014read_options\030\010 \001(\0132>." + + "google.cloud.bigquery.storage.v1.ReadSes" + + "sion.TableReadOptionsB\004\342A\001\001\022C\n\007streams\030\n" + + " \003(\0132,.google.cloud.bigquery.storage.v1." + + "ReadStreamB\004\342A\001\003\022+\n\035estimated_total_byte" + + "s_scanned\030\014 \001(\003B\004\342A\001\003\0220\n\"estimated_total" + + "_physical_file_size\030\017 \001(\003B\004\342A\001\003\022!\n\023estim" + + "ated_row_count\030\016 \001(\003B\004\342A\001\003\022\026\n\010trace_id\030\r" + + " \001(\tB\004\342A\001\001\032C\n\016TableModifiers\0221\n\rsnapshot" + + "_time\030\001 \001(\0132\032.google.protobuf.Timestamp\032" + + "\371\002\n\020TableReadOptions\022\027\n\017selected_fields\030" + + "\001 \003(\t\022\027\n\017row_restriction\030\002 \001(\t\022h\n\033arrow_" + + "serialization_options\030\003 \001(\0132;.google.clo" + + "ud.bigquery.storage.v1.ArrowSerializatio" + + "nOptionsB\004\342A\001\001H\000\022f\n\032avro_serialization_o" + + "ptions\030\004 \001(\0132:.google.cloud.bigquery.sto" + + "rage.v1.AvroSerializationOptionsB\004\342A\001\001H\000" + + "\022$\n\021sample_percentage\030\005 \001(\001B\004\342A\001\001H\001\210\001\001B%" + + "\n#output_format_serialization_optionsB\024\n" + + "\022_sample_percentage:k\352Ah\n*bigquerystorag" + + "e.googleapis.com/ReadSession\022:projects/{" + + "project}/locations/{location}/sessions/{" + + "session}B\010\n\006schema\"\235\001\n\nReadStream\022\022\n\004nam" + + "e\030\001 \001(\tB\004\342A\001\003:{\352Ax\n)bigquerystorage.goog" + + "leapis.com/ReadStream\022Kprojects/{project" + + "}/locations/{location}/sessions/{session" + + "}/streams/{stream}\"\202\005\n\013WriteStream\022\022\n\004na" + + "me\030\001 \001(\tB\004\342A\001\003\022F\n\004type\030\002 \001(\01622.google.cl" + + "oud.bigquery.storage.v1.WriteStream.Type" + + "B\004\342A\001\005\0225\n\013create_time\030\003 \001(\0132\032.google.pro" + + "tobuf.TimestampB\004\342A\001\003\0225\n\013commit_time\030\004 \001" + + "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022I\n\014" + + "table_schema\030\005 \001(\0132-.google.cloud.bigque" + + "ry.storage.v1.TableSchemaB\004\342A\001\003\022Q\n\nwrite" + + "_mode\030\007 \001(\01627.google.cloud.bigquery.stor" + + "age.v1.WriteStream.WriteModeB\004\342A\001\005\022\026\n\010lo" + + "cation\030\010 \001(\tB\004\342A\001\005\"F\n\004Type\022\024\n\020TYPE_UNSPE" + + "CIFIED\020\000\022\r\n\tCOMMITTED\020\001\022\013\n\007PENDING\020\002\022\014\n\010" + + "BUFFERED\020\003\"3\n\tWriteMode\022\032\n\026WRITE_MODE_UN" + + "SPECIFIED\020\000\022\n\n\006INSERT\020\001:v\352As\n*bigqueryst" + + "orage.googleapis.com/WriteStream\022Eprojec" + + "ts/{project}/datasets/{dataset}/tables/{" + + "table}/streams/{stream}*>\n\nDataFormat\022\033\n" + + "\027DATA_FORMAT_UNSPECIFIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005" + + "ARROW\020\002*I\n\017WriteStreamView\022!\n\035WRITE_STRE" + + "AM_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL" + + "\020\002B\273\001\n$com.google.cloud.bigquery.storage" + + ".v1B\013StreamProtoP\001Z>cloud.google.com/go/" + + "bigquery/storage/apiv1/storagepb;storage" + + "pb\252\002 Google.Cloud.BigQuery.Storage.V1\312\002 " + + "Google\\Cloud\\BigQuery\\Storage\\V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_ReadSession_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor, + new java.lang.String[] { + "Name", + "ExpireTime", + "DataFormat", + "AvroSchema", + "ArrowSchema", + "Table", + "TableModifiers", + "ReadOptions", + "Streams", + "EstimatedTotalBytesScanned", + "EstimatedTotalPhysicalFileSize", + "EstimatedRowCount", + "TraceId", + "Schema", + }); + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor = + internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor, + new java.lang.String[] { + "SnapshotTime", + }); + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor = + internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor, + new java.lang.String[] { + "SelectedFields", + "RowRestriction", + "ArrowSerializationOptions", + "AvroSerializationOptions", + "SamplePercentage", + "OutputFormatSerializationOptions", + "SamplePercentage", + }); + internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1_ReadStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor, + new java.lang.String[] { + "Name", "Type", "CreateTime", "CommitTime", "TableSchema", "WriteMode", "Location", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStats.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStats.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStats.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStats.java index 20dac2c46f..87cab53165 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStats.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStats.java @@ -1,52 +1,73 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Estimated stream statistics for a given read Stream.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.StreamStats} */ -public final class StreamStats extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StreamStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.StreamStats) StreamStatsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StreamStats.newBuilder() to construct. private StreamStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StreamStats() { - } + + private StreamStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StreamStats(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.StreamStats.class, com.google.cloud.bigquery.storage.v1.StreamStats.Builder.class); + com.google.cloud.bigquery.storage.v1.StreamStats.class, + com.google.cloud.bigquery.storage.v1.StreamStats.Builder.class); } - public interface ProgressOrBuilder extends + public interface ProgressOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.StreamStats.Progress) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The fraction of rows assigned to the stream that have been processed by
      * the server so far, not including the rows in the current response
@@ -63,59 +84,64 @@ public interface ProgressOrBuilder extends
      * 
* * double at_response_start = 1; + * * @return The atResponseStart. */ double getAtResponseStart(); /** + * + * *
      * Similar to `at_response_start`, except that this value includes the
      * rows in the current response.
      * 
* * double at_response_end = 2; + * * @return The atResponseEnd. */ double getAtResponseEnd(); } - /** - * Protobuf type {@code google.cloud.bigquery.storage.v1.StreamStats.Progress} - */ - public static final class Progress extends - com.google.protobuf.GeneratedMessageV3 implements + /** Protobuf type {@code google.cloud.bigquery.storage.v1.StreamStats.Progress} */ + public static final class Progress extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.StreamStats.Progress) ProgressOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Progress.newBuilder() to construct. private Progress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Progress() { - } + + private Progress() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Progress(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.StreamStats.Progress.class, com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder.class); + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.class, + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder.class); } public static final int AT_RESPONSE_START_FIELD_NUMBER = 1; private double atResponseStart_ = 0D; /** + * + * *
      * The fraction of rows assigned to the stream that have been processed by
      * the server so far, not including the rows in the current response
@@ -132,6 +158,7 @@ protected java.lang.Object newInstance(
      * 
* * double at_response_start = 1; + * * @return The atResponseStart. */ @java.lang.Override @@ -142,12 +169,15 @@ public double getAtResponseStart() { public static final int AT_RESPONSE_END_FIELD_NUMBER = 2; private double atResponseEnd_ = 0D; /** + * + * *
      * Similar to `at_response_start`, except that this value includes the
      * rows in the current response.
      * 
* * double at_response_end = 2; + * * @return The atResponseEnd. */ @java.lang.Override @@ -156,6 +186,7 @@ public double getAtResponseEnd() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +198,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(atResponseStart_) != 0) { output.writeDouble(1, atResponseStart_); } @@ -185,12 +215,10 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(atResponseStart_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, atResponseStart_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, atResponseStart_); } if (java.lang.Double.doubleToRawLongBits(atResponseEnd_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, atResponseEnd_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, atResponseEnd_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -200,19 +228,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.StreamStats.Progress)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.StreamStats.Progress other = (com.google.cloud.bigquery.storage.v1.StreamStats.Progress) obj; + com.google.cloud.bigquery.storage.v1.StreamStats.Progress other = + (com.google.cloud.bigquery.storage.v1.StreamStats.Progress) obj; if (java.lang.Double.doubleToLongBits(getAtResponseStart()) - != java.lang.Double.doubleToLongBits( - other.getAtResponseStart())) return false; + != java.lang.Double.doubleToLongBits(other.getAtResponseStart())) return false; if (java.lang.Double.doubleToLongBits(getAtResponseEnd()) - != java.lang.Double.doubleToLongBits( - other.getAtResponseEnd())) return false; + != java.lang.Double.doubleToLongBits(other.getAtResponseEnd())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -225,100 +252,109 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AT_RESPONSE_START_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAtResponseStart())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAtResponseStart())); hash = (37 * hash) + AT_RESPONSE_END_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAtResponseEnd())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAtResponseEnd())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.StreamStats.Progress prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.StreamStats.Progress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -327,36 +363,34 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.bigquery.storage.v1.StreamStats.Progress} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.bigquery.storage.v1.StreamStats.Progress} */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.StreamStats.Progress) com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.StreamStats.Progress.class, com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder.class); + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.class, + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.StreamStats.Progress.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -367,9 +401,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor; } @java.lang.Override @@ -388,8 +422,11 @@ public com.google.cloud.bigquery.storage.v1.StreamStats.Progress build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.StreamStats.Progress buildPartial() { - com.google.cloud.bigquery.storage.v1.StreamStats.Progress result = new com.google.cloud.bigquery.storage.v1.StreamStats.Progress(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.StreamStats.Progress result = + new com.google.cloud.bigquery.storage.v1.StreamStats.Progress(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -408,38 +445,41 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.StreamStats.Prog public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.StreamStats.Progress) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.StreamStats.Progress)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.StreamStats.Progress) other); } else { super.mergeFrom(other); return this; @@ -447,7 +487,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.StreamStats.Progress other) { - if (other == com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance()) + return this; if (other.getAtResponseStart() != 0D) { setAtResponseStart(other.getAtResponseStart()); } @@ -480,22 +521,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 9: { - atResponseStart_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 9 - case 17: { - atResponseEnd_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 9: + { + atResponseStart_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 17: + { + atResponseEnd_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -505,10 +549,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private double atResponseStart_ ; + private double atResponseStart_; /** + * + * *
        * The fraction of rows assigned to the stream that have been processed by
        * the server so far, not including the rows in the current response
@@ -525,6 +572,7 @@ public Builder mergeFrom(
        * 
* * double at_response_start = 1; + * * @return The atResponseStart. */ @java.lang.Override @@ -532,6 +580,8 @@ public double getAtResponseStart() { return atResponseStart_; } /** + * + * *
        * The fraction of rows assigned to the stream that have been processed by
        * the server so far, not including the rows in the current response
@@ -548,6 +598,7 @@ public double getAtResponseStart() {
        * 
* * double at_response_start = 1; + * * @param value The atResponseStart to set. * @return This builder for chaining. */ @@ -559,6 +610,8 @@ public Builder setAtResponseStart(double value) { return this; } /** + * + * *
        * The fraction of rows assigned to the stream that have been processed by
        * the server so far, not including the rows in the current response
@@ -575,6 +628,7 @@ public Builder setAtResponseStart(double value) {
        * 
* * double at_response_start = 1; + * * @return This builder for chaining. */ public Builder clearAtResponseStart() { @@ -584,14 +638,17 @@ public Builder clearAtResponseStart() { return this; } - private double atResponseEnd_ ; + private double atResponseEnd_; /** + * + * *
        * Similar to `at_response_start`, except that this value includes the
        * rows in the current response.
        * 
* * double at_response_end = 2; + * * @return The atResponseEnd. */ @java.lang.Override @@ -599,12 +656,15 @@ public double getAtResponseEnd() { return atResponseEnd_; } /** + * + * *
        * Similar to `at_response_start`, except that this value includes the
        * rows in the current response.
        * 
* * double at_response_end = 2; + * * @param value The atResponseEnd to set. * @return This builder for chaining. */ @@ -616,12 +676,15 @@ public Builder setAtResponseEnd(double value) { return this; } /** + * + * *
        * Similar to `at_response_start`, except that this value includes the
        * rows in the current response.
        * 
* * double at_response_end = 2; + * * @return This builder for chaining. */ public Builder clearAtResponseEnd() { @@ -630,6 +693,7 @@ public Builder clearAtResponseEnd() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -642,12 +706,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.StreamStats.Progress) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.StreamStats.Progress) private static final com.google.cloud.bigquery.storage.v1.StreamStats.Progress DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.StreamStats.Progress(); } @@ -656,27 +720,28 @@ public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Progress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Progress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -691,17 +756,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.StreamStats.Progress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PROGRESS_FIELD_NUMBER = 2; private com.google.cloud.bigquery.storage.v1.StreamStats.Progress progress_; /** + * + * *
    * Represents the progress of the current stream.
    * 
* * .google.cloud.bigquery.storage.v1.StreamStats.Progress progress = 2; + * * @return Whether the progress field is set. */ @java.lang.Override @@ -709,18 +776,25 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
    * Represents the progress of the current stream.
    * 
* * .google.cloud.bigquery.storage.v1.StreamStats.Progress progress = 2; + * * @return The progress. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.StreamStats.Progress getProgress() { - return progress_ == null ? com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance() + : progress_; } /** + * + * *
    * Represents the progress of the current stream.
    * 
@@ -729,10 +803,13 @@ public com.google.cloud.bigquery.storage.v1.StreamStats.Progress getProgress() { */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder getProgressOrBuilder() { - return progress_ == null ? com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance() + : progress_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -744,8 +821,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (progress_ != null) { output.writeMessage(2, getProgress()); } @@ -759,8 +835,7 @@ public int getSerializedSize() { size = 0; if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -770,17 +845,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.StreamStats)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.StreamStats other = (com.google.cloud.bigquery.storage.v1.StreamStats) obj; + com.google.cloud.bigquery.storage.v1.StreamStats other = + (com.google.cloud.bigquery.storage.v1.StreamStats) obj; if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress() - .equals(other.getProgress())) return false; + if (!getProgress().equals(other.getProgress())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -802,132 +877,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StreamStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.StreamStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.StreamStats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.StreamStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Estimated stream statistics for a given read Stream.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.StreamStats} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.StreamStats) com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.StreamStats.class, com.google.cloud.bigquery.storage.v1.StreamStats.Builder.class); + com.google.cloud.bigquery.storage.v1.StreamStats.class, + com.google.cloud.bigquery.storage.v1.StreamStats.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.StreamStats.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -941,9 +1020,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor; } @java.lang.Override @@ -962,8 +1041,11 @@ public com.google.cloud.bigquery.storage.v1.StreamStats build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.StreamStats buildPartial() { - com.google.cloud.bigquery.storage.v1.StreamStats result = new com.google.cloud.bigquery.storage.v1.StreamStats(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.StreamStats result = + new com.google.cloud.bigquery.storage.v1.StreamStats(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -971,9 +1053,7 @@ public com.google.cloud.bigquery.storage.v1.StreamStats buildPartial() { private void buildPartial0(com.google.cloud.bigquery.storage.v1.StreamStats result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.progress_ = progressBuilder_ == null - ? progress_ - : progressBuilder_.build(); + result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build(); } } @@ -981,38 +1061,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.StreamStats resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.StreamStats) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.StreamStats)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.StreamStats) other); } else { super.mergeFrom(other); return this; @@ -1020,7 +1101,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.StreamStats other) { - if (other == com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance()) + return this; if (other.hasProgress()) { mergeProgress(other.getProgress()); } @@ -1050,19 +1132,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getProgressFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1072,38 +1154,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.bigquery.storage.v1.StreamStats.Progress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.StreamStats.Progress, com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder, com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder> progressBuilder_; + com.google.cloud.bigquery.storage.v1.StreamStats.Progress, + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder, + com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder> + progressBuilder_; /** + * + * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1.StreamStats.Progress progress = 2; + * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1.StreamStats.Progress progress = 2; + * * @return The progress. */ public com.google.cloud.bigquery.storage.v1.StreamStats.Progress getProgress() { if (progressBuilder_ == null) { - return progress_ == null ? com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance() + : progress_; } else { return progressBuilder_.getMessage(); } } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1124,6 +1220,8 @@ public Builder setProgress(com.google.cloud.bigquery.storage.v1.StreamStats.Prog return this; } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1142,6 +1240,8 @@ public Builder setProgress( return this; } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1150,9 +1250,10 @@ public Builder setProgress( */ public Builder mergeProgress(com.google.cloud.bigquery.storage.v1.StreamStats.Progress value) { if (progressBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - progress_ != null && - progress_ != com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && progress_ != null + && progress_ + != com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance()) { getProgressBuilder().mergeFrom(value); } else { progress_ = value; @@ -1165,6 +1266,8 @@ public Builder mergeProgress(com.google.cloud.bigquery.storage.v1.StreamStats.Pr return this; } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1182,6 +1285,8 @@ public Builder clearProgress() { return this; } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1194,21 +1299,27 @@ public com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder getProg return getProgressFieldBuilder().getBuilder(); } /** + * + * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1.StreamStats.Progress progress = 2; */ - public com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder getProgressOrBuilder() { + public com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder + getProgressOrBuilder() { if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null ? - com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance() + : progress_; } } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1216,21 +1327,24 @@ public com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder getPro * .google.cloud.bigquery.storage.v1.StreamStats.Progress progress = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.StreamStats.Progress, com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder, com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder> + com.google.cloud.bigquery.storage.v1.StreamStats.Progress, + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder, + com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder> getProgressFieldBuilder() { if (progressBuilder_ == null) { - progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.StreamStats.Progress, com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder, com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder>( - getProgress(), - getParentForChildren(), - isClean()); + progressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.StreamStats.Progress, + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder, + com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder>( + getProgress(), getParentForChildren(), isClean()); progress_ = null; } return progressBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1240,12 +1354,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.StreamStats) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.StreamStats) private static final com.google.cloud.bigquery.storage.v1.StreamStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.StreamStats(); } @@ -1254,27 +1368,27 @@ public static com.google.cloud.bigquery.storage.v1.StreamStats getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1289,6 +1403,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.StreamStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStatsOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStatsOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStatsOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStatsOrBuilder.java index 04200f489f..9f4d02f300 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStatsOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStatsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; -public interface StreamStatsOrBuilder extends +public interface StreamStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.StreamStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Represents the progress of the current stream.
    * 
* * .google.cloud.bigquery.storage.v1.StreamStats.Progress progress = 2; + * * @return Whether the progress field is set. */ boolean hasProgress(); /** + * + * *
    * Represents the progress of the current stream.
    * 
* * .google.cloud.bigquery.storage.v1.StreamStats.Progress progress = 2; + * * @return The progress. */ com.google.cloud.bigquery.storage.v1.StreamStats.Progress getProgress(); /** + * + * *
    * Represents the progress of the current stream.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchema.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchema.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchema.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchema.java index b01e2643f0..13c1c274c0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchema.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchema.java @@ -1,24 +1,42 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/table.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * TableFieldSchema defines a single field/column within a table schema.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.TableFieldSchema} */ -public final class TableFieldSchema extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TableFieldSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.TableFieldSchema) TableFieldSchemaOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableFieldSchema.newBuilder() to construct. private TableFieldSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TableFieldSchema() { name_ = ""; type_ = 0; @@ -30,30 +48,30 @@ private TableFieldSchema() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableFieldSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.TableProto + .internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.TableProto + .internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.TableFieldSchema.class, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder.class); + com.google.cloud.bigquery.storage.v1.TableFieldSchema.class, + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder.class); } - /** - * Protobuf enum {@code google.cloud.bigquery.storage.v1.TableFieldSchema.Type} - */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + /** Protobuf enum {@code google.cloud.bigquery.storage.v1.TableFieldSchema.Type} */ + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Illegal value
      * 
@@ -62,6 +80,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * 64K, UTF8
      * 
@@ -70,6 +90,8 @@ public enum Type */ STRING(1), /** + * + * *
      * 64-bit signed
      * 
@@ -78,6 +100,8 @@ public enum Type */ INT64(2), /** + * + * *
      * 64-bit IEEE floating point
      * 
@@ -86,6 +110,8 @@ public enum Type */ DOUBLE(3), /** + * + * *
      * Aggregate type
      * 
@@ -94,6 +120,8 @@ public enum Type */ STRUCT(4), /** + * + * *
      * 64K, Binary
      * 
@@ -102,6 +130,8 @@ public enum Type */ BYTES(5), /** + * + * *
      * 2-valued
      * 
@@ -110,6 +140,8 @@ public enum Type */ BOOL(6), /** + * + * *
      * 64-bit signed usec since UTC epoch
      * 
@@ -118,6 +150,8 @@ public enum Type */ TIMESTAMP(7), /** + * + * *
      * Civil date - Year, Month, Day
      * 
@@ -126,6 +160,8 @@ public enum Type */ DATE(8), /** + * + * *
      * Civil time - Hour, Minute, Second, Microseconds
      * 
@@ -134,6 +170,8 @@ public enum Type */ TIME(9), /** + * + * *
      * Combination of civil date and civil time
      * 
@@ -142,6 +180,8 @@ public enum Type */ DATETIME(10), /** + * + * *
      * Geography object
      * 
@@ -150,6 +190,8 @@ public enum Type */ GEOGRAPHY(11), /** + * + * *
      * Numeric value
      * 
@@ -158,6 +200,8 @@ public enum Type */ NUMERIC(12), /** + * + * *
      * BigNumeric value
      * 
@@ -166,6 +210,8 @@ public enum Type */ BIGNUMERIC(13), /** + * + * *
      * Interval
      * 
@@ -174,6 +220,8 @@ public enum Type */ INTERVAL(14), /** + * + * *
      * JSON, String
      * 
@@ -185,6 +233,8 @@ public enum Type ; /** + * + * *
      * Illegal value
      * 
@@ -193,6 +243,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * 64K, UTF8
      * 
@@ -201,6 +253,8 @@ public enum Type */ public static final int STRING_VALUE = 1; /** + * + * *
      * 64-bit signed
      * 
@@ -209,6 +263,8 @@ public enum Type */ public static final int INT64_VALUE = 2; /** + * + * *
      * 64-bit IEEE floating point
      * 
@@ -217,6 +273,8 @@ public enum Type */ public static final int DOUBLE_VALUE = 3; /** + * + * *
      * Aggregate type
      * 
@@ -225,6 +283,8 @@ public enum Type */ public static final int STRUCT_VALUE = 4; /** + * + * *
      * 64K, Binary
      * 
@@ -233,6 +293,8 @@ public enum Type */ public static final int BYTES_VALUE = 5; /** + * + * *
      * 2-valued
      * 
@@ -241,6 +303,8 @@ public enum Type */ public static final int BOOL_VALUE = 6; /** + * + * *
      * 64-bit signed usec since UTC epoch
      * 
@@ -249,6 +313,8 @@ public enum Type */ public static final int TIMESTAMP_VALUE = 7; /** + * + * *
      * Civil date - Year, Month, Day
      * 
@@ -257,6 +323,8 @@ public enum Type */ public static final int DATE_VALUE = 8; /** + * + * *
      * Civil time - Hour, Minute, Second, Microseconds
      * 
@@ -265,6 +333,8 @@ public enum Type */ public static final int TIME_VALUE = 9; /** + * + * *
      * Combination of civil date and civil time
      * 
@@ -273,6 +343,8 @@ public enum Type */ public static final int DATETIME_VALUE = 10; /** + * + * *
      * Geography object
      * 
@@ -281,6 +353,8 @@ public enum Type */ public static final int GEOGRAPHY_VALUE = 11; /** + * + * *
      * Numeric value
      * 
@@ -289,6 +363,8 @@ public enum Type */ public static final int NUMERIC_VALUE = 12; /** + * + * *
      * BigNumeric value
      * 
@@ -297,6 +373,8 @@ public enum Type */ public static final int BIGNUMERIC_VALUE = 13; /** + * + * *
      * Interval
      * 
@@ -305,6 +383,8 @@ public enum Type */ public static final int INTERVAL_VALUE = 14; /** + * + * *
      * JSON, String
      * 
@@ -313,7 +393,6 @@ public enum Type */ public static final int JSON_VALUE = 15; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -338,62 +417,77 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return STRING; - case 2: return INT64; - case 3: return DOUBLE; - case 4: return STRUCT; - case 5: return BYTES; - case 6: return BOOL; - case 7: return TIMESTAMP; - case 8: return DATE; - case 9: return TIME; - case 10: return DATETIME; - case 11: return GEOGRAPHY; - case 12: return NUMERIC; - case 13: return BIGNUMERIC; - case 14: return INTERVAL; - case 15: return JSON; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return STRING; + case 2: + return INT64; + case 3: + return DOUBLE; + case 4: + return STRUCT; + case 5: + return BYTES; + case 6: + return BOOL; + case 7: + return TIMESTAMP; + case 8: + return DATE; + case 9: + return TIME; + case 10: + return DATETIME; + case 11: + return GEOGRAPHY; + case 12: + return NUMERIC; + case 13: + return BIGNUMERIC; + case 14: + return INTERVAL; + case 15: + return JSON; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDescriptor() + .getEnumTypes() + .get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -410,12 +504,11 @@ private Type(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.storage.v1.TableFieldSchema.Type) } - /** - * Protobuf enum {@code google.cloud.bigquery.storage.v1.TableFieldSchema.Mode} - */ - public enum Mode - implements com.google.protobuf.ProtocolMessageEnum { + /** Protobuf enum {@code google.cloud.bigquery.storage.v1.TableFieldSchema.Mode} */ + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Illegal value
      * 
@@ -423,22 +516,18 @@ public enum Mode * MODE_UNSPECIFIED = 0; */ MODE_UNSPECIFIED(0), - /** - * NULLABLE = 1; - */ + /** NULLABLE = 1; */ NULLABLE(1), - /** - * REQUIRED = 2; - */ + /** REQUIRED = 2; */ REQUIRED(2), - /** - * REPEATED = 3; - */ + /** REPEATED = 3; */ REPEATED(3), UNRECOGNIZED(-1), ; /** + * + * *
      * Illegal value
      * 
@@ -446,20 +535,13 @@ public enum Mode * MODE_UNSPECIFIED = 0; */ public static final int MODE_UNSPECIFIED_VALUE = 0; - /** - * NULLABLE = 1; - */ + /** NULLABLE = 1; */ public static final int NULLABLE_VALUE = 1; - /** - * REQUIRED = 2; - */ + /** REQUIRED = 2; */ public static final int REQUIRED_VALUE = 2; - /** - * REPEATED = 3; - */ + /** REPEATED = 3; */ public static final int REPEATED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -484,50 +566,53 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: return MODE_UNSPECIFIED; - case 1: return NULLABLE; - case 2: return REQUIRED; - case 3: return REPEATED; - default: return null; + case 0: + return MODE_UNSPECIFIED; + case 1: + return NULLABLE; + case 2: + return REQUIRED; + case 3: + return REPEATED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Mode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDescriptor() + .getEnumTypes() + .get(1); } private static final Mode[] VALUES = values(); - public static Mode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -545,9 +630,12 @@ private Mode(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -555,6 +643,7 @@ private Mode(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -563,14 +652,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -578,16 +668,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -598,114 +687,165 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** + * + * *
    * Required. The field data type.
    * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. The field data type.
    * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type getType() { - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type result = com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.forNumber(type_); - return result == null ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type getType() { + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type result = + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.forNumber(type_); + return result == null + ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.UNRECOGNIZED + : result; } public static final int MODE_FIELD_NUMBER = 3; private int mode_ = 0; /** + * + * *
    * Optional. The field mode. The default value is NULLABLE.
    * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
    * Optional. The field mode. The default value is NULLABLE.
    * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mode. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode getMode() { - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode result = com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.forNumber(mode_); - return result == null ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode getMode() { + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode result = + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.forNumber(mode_); + return result == null + ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.UNRECOGNIZED + : result; } public static final int FIELDS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getFieldsList() { return fields_; } /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getFieldsCount() { return fields_.size(); } /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableFieldSchema getFields(int index) { return fields_.get(index); } /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( @@ -714,14 +854,18 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsO } public static final int DESCRIPTION_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. The field description. The maximum length is 1,024 characters.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -730,29 +874,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. The field description. The maximum length is 1,024 characters.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -763,6 +907,8 @@ public java.lang.String getDescription() { public static final int MAX_LENGTH_FIELD_NUMBER = 7; private long maxLength_ = 0L; /** + * + * *
    * Optional. Maximum length of values of this field for STRINGS or BYTES.
    *
@@ -779,6 +925,7 @@ public java.lang.String getDescription() {
    * 
* * int64 max_length = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxLength. */ @java.lang.Override @@ -789,6 +936,8 @@ public long getMaxLength() { public static final int PRECISION_FIELD_NUMBER = 8; private long precision_ = 0L; /** + * + * *
    * Optional. Precision (maximum number of total digits in base 10) and scale
    * (maximum number of digits in the fractional part in base 10) constraints
@@ -825,6 +974,7 @@ public long getMaxLength() {
    * 
* * int64 precision = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The precision. */ @java.lang.Override @@ -835,11 +985,14 @@ public long getPrecision() { public static final int SCALE_FIELD_NUMBER = 9; private long scale_ = 0L; /** + * + * *
    * Optional. See documentation for precision.
    * 
* * int64 scale = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The scale. */ @java.lang.Override @@ -848,15 +1001,19 @@ public long getScale() { } public static final int DEFAULT_VALUE_EXPRESSION_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object defaultValueExpression_ = ""; /** + * + * *
    * Optional. A SQL expression to specify the [default value]
    * (https://cloud.google.com/bigquery/docs/default-values) for this field.
    * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultValueExpression. */ @java.lang.Override @@ -865,30 +1022,30 @@ public java.lang.String getDefaultValueExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultValueExpression_ = s; return s; } } /** + * + * *
    * Optional. A SQL expression to specify the [default value]
    * (https://cloud.google.com/bigquery/docs/default-values) for this field.
    * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultValueExpression. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultValueExpressionBytes() { + public com.google.protobuf.ByteString getDefaultValueExpressionBytes() { java.lang.Object ref = defaultValueExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultValueExpression_ = b; return b; } else { @@ -897,6 +1054,7 @@ public java.lang.String getDefaultValueExpression() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -908,15 +1066,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (type_ != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, type_); } - if (mode_ != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.MODE_UNSPECIFIED.getNumber()) { + if (mode_ + != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, mode_); } for (int i = 0; i < fields_.size(); i++) { @@ -949,32 +1110,30 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (type_ != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } - if (mode_ != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, mode_); + if (mode_ + != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, mode_); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, fields_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); } if (maxLength_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, maxLength_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, maxLength_); } if (precision_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(8, precision_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, precision_); } if (scale_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(9, scale_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(9, scale_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultValueExpression_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, defaultValueExpression_); @@ -987,29 +1146,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.TableFieldSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.TableFieldSchema other = (com.google.cloud.bigquery.storage.v1.TableFieldSchema) obj; + com.google.cloud.bigquery.storage.v1.TableFieldSchema other = + (com.google.cloud.bigquery.storage.v1.TableFieldSchema) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (type_ != other.type_) return false; if (mode_ != other.mode_) return false; - if (!getFieldsList() - .equals(other.getFieldsList())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (getMaxLength() - != other.getMaxLength()) return false; - if (getPrecision() - != other.getPrecision()) return false; - if (getScale() - != other.getScale()) return false; - if (!getDefaultValueExpression() - .equals(other.getDefaultValueExpression())) return false; + if (!getFieldsList().equals(other.getFieldsList())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (getMaxLength() != other.getMaxLength()) return false; + if (getPrecision() != other.getPrecision()) return false; + if (getScale() != other.getScale()) return false; + if (!getDefaultValueExpression().equals(other.getDefaultValueExpression())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1034,14 +1187,11 @@ public int hashCode() { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + MAX_LENGTH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaxLength()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxLength()); hash = (37 * hash) + PRECISION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPrecision()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPrecision()); hash = (37 * hash) + SCALE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getScale()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getScale()); hash = (37 * hash) + DEFAULT_VALUE_EXPRESSION_FIELD_NUMBER; hash = (53 * hash) + getDefaultValueExpression().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -1050,131 +1200,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.TableFieldSchema prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1.TableFieldSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * TableFieldSchema defines a single field/column within a table schema.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.TableFieldSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.TableFieldSchema) com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.TableProto + .internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.TableProto + .internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.TableFieldSchema.class, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder.class); + com.google.cloud.bigquery.storage.v1.TableFieldSchema.class, + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.TableFieldSchema.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1198,9 +1353,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.TableProto + .internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; } @java.lang.Override @@ -1219,14 +1374,18 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableFieldSchema buildPartial() { - com.google.cloud.bigquery.storage.v1.TableFieldSchema result = new com.google.cloud.bigquery.storage.v1.TableFieldSchema(this); + com.google.cloud.bigquery.storage.v1.TableFieldSchema result = + new com.google.cloud.bigquery.storage.v1.TableFieldSchema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1.TableFieldSchema result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.storage.v1.TableFieldSchema result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -1270,38 +1429,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.TableFieldSchema public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.TableFieldSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.TableFieldSchema)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.TableFieldSchema) other); } else { super.mergeFrom(other); return this; @@ -1309,7 +1469,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.TableFieldSchema other) { - if (other == com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1339,9 +1500,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.TableFieldSchema o fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000008); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFieldsFieldBuilder() : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldsFieldBuilder() + : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -1392,65 +1554,75 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - mode_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - com.google.cloud.bigquery.storage.v1.TableFieldSchema m = - input.readMessage( - com.google.cloud.bigquery.storage.v1.TableFieldSchema.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 34 - case 50: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 56: { - maxLength_ = input.readInt64(); - bitField0_ |= 0x00000020; - break; - } // case 56 - case 64: { - precision_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 64 - case 72: { - scale_ = input.readInt64(); - bitField0_ |= 0x00000080; - break; - } // case 72 - case 82: { - defaultValueExpression_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + mode_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + com.google.cloud.bigquery.storage.v1.TableFieldSchema m = + input.readMessage( + com.google.cloud.bigquery.storage.v1.TableFieldSchema.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 34 + case 50: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 56: + { + maxLength_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 56 + case 64: + { + precision_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 64 + case 72: + { + scale_ = input.readInt64(); + bitField0_ |= 0x00000080; + break; + } // case 72 + case 82: + { + defaultValueExpression_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1460,10 +1632,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1471,13 +1646,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1486,6 +1661,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1493,15 +1670,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1509,6 +1685,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1516,18 +1694,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1535,6 +1717,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1544,6 +1727,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1551,12 +1736,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1566,22 +1753,33 @@ public Builder setNameBytes( private int type_ = 0; /** + * + * *
      * Required. The field data type.
      * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. The field data type.
      * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1592,24 +1790,37 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Required. The field data type.
      * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type getType() { - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type result = com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.forNumber(type_); - return result == null ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type result = + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.forNumber(type_); + return result == null + ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The field data type.
      * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -1623,11 +1834,16 @@ public Builder setType(com.google.cloud.bigquery.storage.v1.TableFieldSchema.Typ return this; } /** + * + * *
      * Required. The field data type.
      * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -1639,22 +1855,33 @@ public Builder clearType() { private int mode_ = 0; /** + * + * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ @@ -1665,24 +1892,37 @@ public Builder setModeValue(int value) { return this; } /** + * + * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mode. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode getMode() { - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode result = com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.forNumber(mode_); - return result == null ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode result = + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.forNumber(mode_); + return result == null + ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The mode to set. * @return This builder for chaining. */ @@ -1696,11 +1936,16 @@ public Builder setMode(com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mod return this; } /** + * + * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearMode() { @@ -1711,24 +1956,33 @@ public Builder clearMode() { } private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - fields_ = new java.util.ArrayList(fields_); + fields_ = + new java.util.ArrayList(fields_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableFieldSchema, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> fieldsBuilder_; + com.google.cloud.bigquery.storage.v1.TableFieldSchema, + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, + com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> + fieldsBuilder_; /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getFieldsList() { if (fieldsBuilder_ == null) { @@ -1738,12 +1992,16 @@ public java.util.List get } } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getFieldsCount() { if (fieldsBuilder_ == null) { @@ -1753,12 +2011,16 @@ public int getFieldsCount() { } } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.storage.v1.TableFieldSchema getFields(int index) { if (fieldsBuilder_ == null) { @@ -1768,12 +2030,16 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema getFields(int index } } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setFields( int index, com.google.cloud.bigquery.storage.v1.TableFieldSchema value) { @@ -1790,12 +2056,16 @@ public Builder setFields( return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setFields( int index, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder builderForValue) { @@ -1809,12 +2079,16 @@ public Builder setFields( return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addFields(com.google.cloud.bigquery.storage.v1.TableFieldSchema value) { if (fieldsBuilder_ == null) { @@ -1830,12 +2104,16 @@ public Builder addFields(com.google.cloud.bigquery.storage.v1.TableFieldSchema v return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addFields( int index, com.google.cloud.bigquery.storage.v1.TableFieldSchema value) { @@ -1852,12 +2130,16 @@ public Builder addFields( return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addFields( com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder builderForValue) { @@ -1871,12 +2153,16 @@ public Builder addFields( return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addFields( int index, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder builderForValue) { @@ -1890,19 +2176,23 @@ public Builder addFields( return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllFields( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -1910,12 +2200,16 @@ public Builder addAllFields( return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearFields() { if (fieldsBuilder_ == null) { @@ -1928,12 +2222,16 @@ public Builder clearFields() { return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeFields(int index) { if (fieldsBuilder_ == null) { @@ -1946,42 +2244,55 @@ public Builder removeFields(int index) { return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder getFieldsBuilder( int index) { return getFieldsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); } else { + return fields_.get(index); + } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -1989,52 +2300,68 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsO } } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder addFieldsBuilder() { - return getFieldsFieldBuilder().addBuilder( - com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder addFieldsBuilder( int index) { - return getFieldsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableFieldSchema, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1.TableFieldSchema, + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, + com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableFieldSchema, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder>( - fields_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + fieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.TableFieldSchema, + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, + com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder>( + fields_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; @@ -2042,18 +2369,20 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder addFieldsBu private java.lang.Object description_ = ""; /** + * + * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2062,20 +2391,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2083,28 +2413,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2114,17 +2451,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -2132,8 +2473,10 @@ public Builder setDescriptionBytes( return this; } - private long maxLength_ ; + private long maxLength_; /** + * + * *
      * Optional. Maximum length of values of this field for STRINGS or BYTES.
      *
@@ -2150,6 +2493,7 @@ public Builder setDescriptionBytes(
      * 
* * int64 max_length = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxLength. */ @java.lang.Override @@ -2157,6 +2501,8 @@ public long getMaxLength() { return maxLength_; } /** + * + * *
      * Optional. Maximum length of values of this field for STRINGS or BYTES.
      *
@@ -2173,6 +2519,7 @@ public long getMaxLength() {
      * 
* * int64 max_length = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The maxLength to set. * @return This builder for chaining. */ @@ -2184,6 +2531,8 @@ public Builder setMaxLength(long value) { return this; } /** + * + * *
      * Optional. Maximum length of values of this field for STRINGS or BYTES.
      *
@@ -2200,6 +2549,7 @@ public Builder setMaxLength(long value) {
      * 
* * int64 max_length = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMaxLength() { @@ -2209,8 +2559,10 @@ public Builder clearMaxLength() { return this; } - private long precision_ ; + private long precision_; /** + * + * *
      * Optional. Precision (maximum number of total digits in base 10) and scale
      * (maximum number of digits in the fractional part in base 10) constraints
@@ -2247,6 +2599,7 @@ public Builder clearMaxLength() {
      * 
* * int64 precision = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The precision. */ @java.lang.Override @@ -2254,6 +2607,8 @@ public long getPrecision() { return precision_; } /** + * + * *
      * Optional. Precision (maximum number of total digits in base 10) and scale
      * (maximum number of digits in the fractional part in base 10) constraints
@@ -2290,6 +2645,7 @@ public long getPrecision() {
      * 
* * int64 precision = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The precision to set. * @return This builder for chaining. */ @@ -2301,6 +2657,8 @@ public Builder setPrecision(long value) { return this; } /** + * + * *
      * Optional. Precision (maximum number of total digits in base 10) and scale
      * (maximum number of digits in the fractional part in base 10) constraints
@@ -2337,6 +2695,7 @@ public Builder setPrecision(long value) {
      * 
* * int64 precision = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPrecision() { @@ -2346,13 +2705,16 @@ public Builder clearPrecision() { return this; } - private long scale_ ; + private long scale_; /** + * + * *
      * Optional. See documentation for precision.
      * 
* * int64 scale = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The scale. */ @java.lang.Override @@ -2360,11 +2722,14 @@ public long getScale() { return scale_; } /** + * + * *
      * Optional. See documentation for precision.
      * 
* * int64 scale = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The scale to set. * @return This builder for chaining. */ @@ -2376,11 +2741,14 @@ public Builder setScale(long value) { return this; } /** + * + * *
      * Optional. See documentation for precision.
      * 
* * int64 scale = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearScale() { @@ -2392,19 +2760,21 @@ public Builder clearScale() { private java.lang.Object defaultValueExpression_ = ""; /** + * + * *
      * Optional. A SQL expression to specify the [default value]
      * (https://cloud.google.com/bigquery/docs/default-values) for this field.
      * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultValueExpression. */ public java.lang.String getDefaultValueExpression() { java.lang.Object ref = defaultValueExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultValueExpression_ = s; return s; @@ -2413,21 +2783,22 @@ public java.lang.String getDefaultValueExpression() { } } /** + * + * *
      * Optional. A SQL expression to specify the [default value]
      * (https://cloud.google.com/bigquery/docs/default-values) for this field.
      * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultValueExpression. */ - public com.google.protobuf.ByteString - getDefaultValueExpressionBytes() { + public com.google.protobuf.ByteString getDefaultValueExpressionBytes() { java.lang.Object ref = defaultValueExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultValueExpression_ = b; return b; } else { @@ -2435,30 +2806,37 @@ public java.lang.String getDefaultValueExpression() { } } /** + * + * *
      * Optional. A SQL expression to specify the [default value]
      * (https://cloud.google.com/bigquery/docs/default-values) for this field.
      * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The defaultValueExpression to set. * @return This builder for chaining. */ - public Builder setDefaultValueExpression( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultValueExpression(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } defaultValueExpression_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Optional. A SQL expression to specify the [default value]
      * (https://cloud.google.com/bigquery/docs/default-values) for this field.
      * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDefaultValueExpression() { @@ -2468,27 +2846,31 @@ public Builder clearDefaultValueExpression() { return this; } /** + * + * *
      * Optional. A SQL expression to specify the [default value]
      * (https://cloud.google.com/bigquery/docs/default-values) for this field.
      * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for defaultValueExpression to set. * @return This builder for chaining. */ - public Builder setDefaultValueExpressionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDefaultValueExpressionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); defaultValueExpression_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2498,12 +2880,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.TableFieldSchema) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.TableFieldSchema) private static final com.google.cloud.bigquery.storage.v1.TableFieldSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.TableFieldSchema(); } @@ -2512,27 +2894,27 @@ public static com.google.cloud.bigquery.storage.v1.TableFieldSchema getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableFieldSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableFieldSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2547,6 +2929,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.TableFieldSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchemaOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchemaOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchemaOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchemaOrBuilder.java index f5c8285ca7..2a97de0e17 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchemaOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchemaOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/table.proto package com.google.cloud.bigquery.storage.v1; -public interface TableFieldSchemaOrBuilder extends +public interface TableFieldSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.TableFieldSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -15,10 +33,13 @@ public interface TableFieldSchemaOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -26,119 +47,164 @@ public interface TableFieldSchemaOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The field data type.
    * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. The field data type.
    * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type getType(); /** + * + * *
    * Optional. The field mode. The default value is NULLABLE.
    * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
    * Optional. The field mode. The default value is NULLABLE.
    * 
* - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mode. */ com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode getMode(); /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getFieldsList(); + java.util.List getFieldsList(); /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.bigquery.storage.v1.TableFieldSchema getFields(int index); /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getFieldsCount(); /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( - int index); + com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index); /** + * + * *
    * Optional. The field description. The maximum length is 1,024 characters.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. The field description. The maximum length is 1,024 characters.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Optional. Maximum length of values of this field for STRINGS or BYTES.
    *
@@ -155,11 +221,14 @@ com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilde
    * 
* * int64 max_length = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxLength. */ long getMaxLength(); /** + * + * *
    * Optional. Precision (maximum number of total digits in base 10) and scale
    * (maximum number of digits in the fractional part in base 10) constraints
@@ -196,39 +265,48 @@ com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilde
    * 
* * int64 precision = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The precision. */ long getPrecision(); /** + * + * *
    * Optional. See documentation for precision.
    * 
* * int64 scale = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The scale. */ long getScale(); /** + * + * *
    * Optional. A SQL expression to specify the [default value]
    * (https://cloud.google.com/bigquery/docs/default-values) for this field.
    * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultValueExpression. */ java.lang.String getDefaultValueExpression(); /** + * + * *
    * Optional. A SQL expression to specify the [default value]
    * (https://cloud.google.com/bigquery/docs/default-values) for this field.
    * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultValueExpression. */ - com.google.protobuf.ByteString - getDefaultValueExpressionBytes(); + com.google.protobuf.ByteString getDefaultValueExpressionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableName.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableName.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableName.java diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableProto.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableProto.java new file mode 100644 index 0000000000..e5c177f885 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableProto.java @@ -0,0 +1,115 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/table.proto + +package com.google.cloud.bigquery.storage.v1; + +public final class TableProto { + private TableProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n,google/cloud/bigquery/storage/v1/table" + + ".proto\022 google.cloud.bigquery.storage.v1" + + "\032\037google/api/field_behavior.proto\"Q\n\013Tab" + + "leSchema\022B\n\006fields\030\001 \003(\01322.google.cloud." + + "bigquery.storage.v1.TableFieldSchema\"\265\005\n" + + "\020TableFieldSchema\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022K\n" + + "\004type\030\002 \001(\01627.google.cloud.bigquery.stor" + + "age.v1.TableFieldSchema.TypeB\004\342A\001\002\022K\n\004mo" + + "de\030\003 \001(\01627.google.cloud.bigquery.storage" + + ".v1.TableFieldSchema.ModeB\004\342A\001\001\022H\n\006field" + + "s\030\004 \003(\01322.google.cloud.bigquery.storage." + + "v1.TableFieldSchemaB\004\342A\001\001\022\031\n\013description" + + "\030\006 \001(\tB\004\342A\001\001\022\030\n\nmax_length\030\007 \001(\003B\004\342A\001\001\022\027" + + "\n\tprecision\030\010 \001(\003B\004\342A\001\001\022\023\n\005scale\030\t \001(\003B\004" + + "\342A\001\001\022&\n\030default_value_expression\030\n \001(\tB\004" + + "\342A\001\001\"\325\001\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n\006S" + + "TRING\020\001\022\t\n\005INT64\020\002\022\n\n\006DOUBLE\020\003\022\n\n\006STRUCT" + + "\020\004\022\t\n\005BYTES\020\005\022\010\n\004BOOL\020\006\022\r\n\tTIMESTAMP\020\007\022\010" + + "\n\004DATE\020\010\022\010\n\004TIME\020\t\022\014\n\010DATETIME\020\n\022\r\n\tGEOG" + + "RAPHY\020\013\022\013\n\007NUMERIC\020\014\022\016\n\nBIGNUMERIC\020\r\022\014\n\010" + + "INTERVAL\020\016\022\010\n\004JSON\020\017\"F\n\004Mode\022\024\n\020MODE_UNS" + + "PECIFIED\020\000\022\014\n\010NULLABLE\020\001\022\014\n\010REQUIRED\020\002\022\014" + + "\n\010REPEATED\020\003B\272\001\n$com.google.cloud.bigque" + + "ry.storage.v1B\nTableProtoP\001Z>cloud.googl" + + "e.com/go/bigquery/storage/apiv1/storagep" + + "b;storagepb\252\002 Google.Cloud.BigQuery.Stor" + + "age.V1\312\002 Google\\Cloud\\BigQuery\\Storage\\V" + + "1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor, + new java.lang.String[] { + "Fields", + }); + internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor, + new java.lang.String[] { + "Name", + "Type", + "Mode", + "Fields", + "Description", + "MaxLength", + "Precision", + "Scale", + "DefaultValueExpression", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchema.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchema.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchema.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchema.java index 2feba72b1b..3b0aa7d049 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchema.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchema.java @@ -1,9 +1,26 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/table.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Schema of a table. This schema is a subset of
  * google.cloud.bigquery.v2.TableSchema containing information necessary to
@@ -12,43 +29,48 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1.TableSchema}
  */
-public final class TableSchema extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TableSchema extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.TableSchema)
     TableSchemaOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TableSchema.newBuilder() to construct.
   private TableSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TableSchema() {
     fields_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TableSchema();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1.TableProto
+        .internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1.TableProto
+        .internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1.TableSchema.class, com.google.cloud.bigquery.storage.v1.TableSchema.Builder.class);
+            com.google.cloud.bigquery.storage.v1.TableSchema.class,
+            com.google.cloud.bigquery.storage.v1.TableSchema.Builder.class);
   }
 
   public static final int FIELDS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List fields_;
   /**
+   *
+   *
    * 
    * Describes the fields in a table.
    * 
@@ -60,6 +82,8 @@ public java.util.List get return fields_; } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -67,11 +91,13 @@ public java.util.List get * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -83,6 +109,8 @@ public int getFieldsCount() { return fields_.size(); } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -94,6 +122,8 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema getFields(int index return fields_.get(index); } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -107,6 +137,7 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +149,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < fields_.size(); i++) { output.writeMessage(1, fields_.get(i)); } @@ -133,8 +163,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, fields_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -144,15 +173,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.TableSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.TableSchema other = (com.google.cloud.bigquery.storage.v1.TableSchema) obj; + com.google.cloud.bigquery.storage.v1.TableSchema other = + (com.google.cloud.bigquery.storage.v1.TableSchema) obj; - if (!getFieldsList() - .equals(other.getFieldsList())) return false; + if (!getFieldsList().equals(other.getFieldsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,99 +202,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.TableSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.TableSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.TableSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.TableSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Schema of a table. This schema is a subset of
    * google.cloud.bigquery.v2.TableSchema containing information necessary to
@@ -274,33 +308,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1.TableSchema}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.TableSchema)
       com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1.TableProto
+          .internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1.TableProto
+          .internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1.TableSchema.class, com.google.cloud.bigquery.storage.v1.TableSchema.Builder.class);
+              com.google.cloud.bigquery.storage.v1.TableSchema.class,
+              com.google.cloud.bigquery.storage.v1.TableSchema.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.storage.v1.TableSchema.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -316,9 +349,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.storage.v1.TableProto
+          .internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor;
     }
 
     @java.lang.Override
@@ -337,14 +370,18 @@ public com.google.cloud.bigquery.storage.v1.TableSchema build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1.TableSchema buildPartial() {
-      com.google.cloud.bigquery.storage.v1.TableSchema result = new com.google.cloud.bigquery.storage.v1.TableSchema(this);
+      com.google.cloud.bigquery.storage.v1.TableSchema result =
+          new com.google.cloud.bigquery.storage.v1.TableSchema(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1.TableSchema result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.bigquery.storage.v1.TableSchema result) {
       if (fieldsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           fields_ = java.util.Collections.unmodifiableList(fields_);
@@ -364,38 +401,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.TableSchema resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1.TableSchema) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1.TableSchema)other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1.TableSchema) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -403,7 +441,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.TableSchema other) {
-      if (other == com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance())
+        return this;
       if (fieldsBuilder_ == null) {
         if (!other.fields_.isEmpty()) {
           if (fields_.isEmpty()) {
@@ -422,9 +461,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.TableSchema other)
             fieldsBuilder_ = null;
             fields_ = other.fields_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            fieldsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getFieldsFieldBuilder() : null;
+            fieldsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getFieldsFieldBuilder()
+                    : null;
           } else {
             fieldsBuilder_.addAllMessages(other.fields_);
           }
@@ -456,25 +496,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.bigquery.storage.v1.TableFieldSchema m =
-                  input.readMessage(
-                      com.google.cloud.bigquery.storage.v1.TableFieldSchema.parser(),
-                      extensionRegistry);
-              if (fieldsBuilder_ == null) {
-                ensureFieldsIsMutable();
-                fields_.add(m);
-              } else {
-                fieldsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.bigquery.storage.v1.TableFieldSchema m =
+                    input.readMessage(
+                        com.google.cloud.bigquery.storage.v1.TableFieldSchema.parser(),
+                        extensionRegistry);
+                if (fieldsBuilder_ == null) {
+                  ensureFieldsIsMutable();
+                  fields_.add(m);
+                } else {
+                  fieldsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -484,21 +526,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List fields_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureFieldsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        fields_ = new java.util.ArrayList(fields_);
+        fields_ =
+            new java.util.ArrayList(fields_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1.TableFieldSchema, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> fieldsBuilder_;
+            com.google.cloud.bigquery.storage.v1.TableFieldSchema,
+            com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder,
+            com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder>
+        fieldsBuilder_;
 
     /**
+     *
+     *
      * 
      * Describes the fields in a table.
      * 
@@ -513,6 +563,8 @@ public java.util.List get } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -527,6 +579,8 @@ public int getFieldsCount() { } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -541,6 +595,8 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema getFields(int index } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -562,6 +618,8 @@ public Builder setFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -580,6 +638,8 @@ public Builder setFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -600,6 +660,8 @@ public Builder addFields(com.google.cloud.bigquery.storage.v1.TableFieldSchema v return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -621,6 +683,8 @@ public Builder addFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -639,6 +703,8 @@ public Builder addFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -657,6 +723,8 @@ public Builder addFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -664,11 +732,11 @@ public Builder addFields( * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ public Builder addAllFields( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -676,6 +744,8 @@ public Builder addAllFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -693,6 +763,8 @@ public Builder clearFields() { return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -710,6 +782,8 @@ public Builder removeFields(int index) { return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -721,6 +795,8 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder getFieldsBu return getFieldsFieldBuilder().getBuilder(index); } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -730,19 +806,22 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder getFieldsBu public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); } else { + return fields_.get(index); + } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -750,6 +829,8 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsO } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -757,10 +838,12 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsO * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder addFieldsBuilder() { - return getFieldsFieldBuilder().addBuilder( - com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -769,37 +852,43 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder addFieldsBu */ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder addFieldsBuilder( int index) { - return getFieldsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); } /** + * + * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableFieldSchema, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1.TableFieldSchema, + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, + com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableFieldSchema, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder>( - fields_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + fieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.TableFieldSchema, + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, + com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder>( + fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -809,12 +898,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.TableSchema) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.TableSchema) private static final com.google.cloud.bigquery.storage.v1.TableSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.TableSchema(); } @@ -823,27 +912,27 @@ public static com.google.cloud.bigquery.storage.v1.TableSchema getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -858,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.TableSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchemaOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchemaOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchemaOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchemaOrBuilder.java index c709d5b562..b183817bfa 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchemaOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchemaOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/table.proto package com.google.cloud.bigquery.storage.v1; -public interface TableSchemaOrBuilder extends +public interface TableSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.TableSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ - java.util.List - getFieldsList(); + java.util.List getFieldsList(); /** + * + * *
    * Describes the fields in a table.
    * 
@@ -25,6 +44,8 @@ public interface TableSchemaOrBuilder extends */ com.google.cloud.bigquery.storage.v1.TableFieldSchema getFields(int index); /** + * + * *
    * Describes the fields in a table.
    * 
@@ -33,21 +54,24 @@ public interface TableSchemaOrBuilder extends */ int getFieldsCount(); /** + * + * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** + * + * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ - com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( - int index); + com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java index 0e0ce2fab6..75ad2b4198 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java @@ -1,56 +1,77 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/storage.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Information on if the current connection is being throttled.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ThrottleState} */ -public final class ThrottleState extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ThrottleState extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ThrottleState) ThrottleStateOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ThrottleState.newBuilder() to construct. private ThrottleState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ThrottleState() { - } + + private ThrottleState() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ThrottleState(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ThrottleState.class, com.google.cloud.bigquery.storage.v1.ThrottleState.Builder.class); + com.google.cloud.bigquery.storage.v1.ThrottleState.class, + com.google.cloud.bigquery.storage.v1.ThrottleState.Builder.class); } public static final int THROTTLE_PERCENT_FIELD_NUMBER = 1; private int throttlePercent_ = 0; /** + * + * *
    * How much this connection is being throttled. Zero means no throttling,
    * 100 means fully throttled.
    * 
* * int32 throttle_percent = 1; + * * @return The throttlePercent. */ @java.lang.Override @@ -59,6 +80,7 @@ public int getThrottlePercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -70,8 +92,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (throttlePercent_ != 0) { output.writeInt32(1, throttlePercent_); } @@ -85,8 +106,7 @@ public int getSerializedSize() { size = 0; if (throttlePercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, throttlePercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, throttlePercent_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -96,15 +116,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ThrottleState)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ThrottleState other = (com.google.cloud.bigquery.storage.v1.ThrottleState) obj; + com.google.cloud.bigquery.storage.v1.ThrottleState other = + (com.google.cloud.bigquery.storage.v1.ThrottleState) obj; - if (getThrottlePercent() - != other.getThrottlePercent()) return false; + if (getThrottlePercent() != other.getThrottlePercent()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -124,131 +144,135 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ThrottleState parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ThrottleState parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.ThrottleState parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ThrottleState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information on if the current connection is being throttled.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ThrottleState} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ThrottleState) com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ThrottleState.class, com.google.cloud.bigquery.storage.v1.ThrottleState.Builder.class); + com.google.cloud.bigquery.storage.v1.ThrottleState.class, + com.google.cloud.bigquery.storage.v1.ThrottleState.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.ThrottleState.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -258,9 +282,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto + .internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor; } @java.lang.Override @@ -279,8 +303,11 @@ public com.google.cloud.bigquery.storage.v1.ThrottleState build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.ThrottleState buildPartial() { - com.google.cloud.bigquery.storage.v1.ThrottleState result = new com.google.cloud.bigquery.storage.v1.ThrottleState(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.ThrottleState result = + new com.google.cloud.bigquery.storage.v1.ThrottleState(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -296,38 +323,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ThrottleState re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ThrottleState) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ThrottleState)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.ThrottleState) other); } else { super.mergeFrom(other); return this; @@ -335,7 +363,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ThrottleState other) { - if (other == com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance()) + return this; if (other.getThrottlePercent() != 0) { setThrottlePercent(other.getThrottlePercent()); } @@ -365,17 +394,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - throttlePercent_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + throttlePercent_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -385,16 +416,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int throttlePercent_ ; + private int throttlePercent_; /** + * + * *
      * How much this connection is being throttled. Zero means no throttling,
      * 100 means fully throttled.
      * 
* * int32 throttle_percent = 1; + * * @return The throttlePercent. */ @java.lang.Override @@ -402,12 +437,15 @@ public int getThrottlePercent() { return throttlePercent_; } /** + * + * *
      * How much this connection is being throttled. Zero means no throttling,
      * 100 means fully throttled.
      * 
* * int32 throttle_percent = 1; + * * @param value The throttlePercent to set. * @return This builder for chaining. */ @@ -419,12 +457,15 @@ public Builder setThrottlePercent(int value) { return this; } /** + * + * *
      * How much this connection is being throttled. Zero means no throttling,
      * 100 means fully throttled.
      * 
* * int32 throttle_percent = 1; + * * @return This builder for chaining. */ public Builder clearThrottlePercent() { @@ -433,9 +474,9 @@ public Builder clearThrottlePercent() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -445,12 +486,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ThrottleState) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ThrottleState) private static final com.google.cloud.bigquery.storage.v1.ThrottleState DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ThrottleState(); } @@ -459,27 +500,27 @@ public static com.google.cloud.bigquery.storage.v1.ThrottleState getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ThrottleState parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThrottleState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -494,6 +535,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ThrottleState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java new file mode 100644 index 0000000000..c49b3f7ea4 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java @@ -0,0 +1,39 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/storage.proto + +package com.google.cloud.bigquery.storage.v1; + +public interface ThrottleStateOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ThrottleState) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * How much this connection is being throttled. Zero means no throttling,
+   * 100 means fully throttled.
+   * 
+ * + * int32 throttle_percent = 1; + * + * @return The throttlePercent. + */ + int getThrottlePercent(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStream.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStream.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStream.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStream.java index 66246ffc20..e514f64232 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStream.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStream.java @@ -1,24 +1,42 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/stream.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * Information about a single stream that gets data inside the storage system.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.WriteStream} */ -public final class WriteStream extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WriteStream extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.WriteStream) WriteStreamOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WriteStream.newBuilder() to construct. private WriteStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WriteStream() { name_ = ""; type_ = 0; @@ -28,34 +46,38 @@ private WriteStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteStream(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.WriteStream.class, com.google.cloud.bigquery.storage.v1.WriteStream.Builder.class); + com.google.cloud.bigquery.storage.v1.WriteStream.class, + com.google.cloud.bigquery.storage.v1.WriteStream.Builder.class); } /** + * + * *
    * Type enum of the stream.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1.WriteStream.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unknown type.
      * 
@@ -64,6 +86,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Data will commit automatically and appear as soon as the write is
      * acknowledged.
@@ -73,6 +97,8 @@ public enum Type
      */
     COMMITTED(1),
     /**
+     *
+     *
      * 
      * Data is invisible until the stream is committed.
      * 
@@ -81,6 +107,8 @@ public enum Type */ PENDING(2), /** + * + * *
      * Data is only visible up to the offset to which it was flushed.
      * 
@@ -92,6 +120,8 @@ public enum Type ; /** + * + * *
      * Unknown type.
      * 
@@ -100,6 +130,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Data will commit automatically and appear as soon as the write is
      * acknowledged.
@@ -109,6 +141,8 @@ public enum Type
      */
     public static final int COMMITTED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Data is invisible until the stream is committed.
      * 
@@ -117,6 +151,8 @@ public enum Type */ public static final int PENDING_VALUE = 2; /** + * + * *
      * Data is only visible up to the offset to which it was flushed.
      * 
@@ -125,7 +161,6 @@ public enum Type */ public static final int BUFFERED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -150,50 +185,51 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return COMMITTED; - case 2: return PENDING; - case 3: return BUFFERED; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return COMMITTED; + case 2: + return PENDING; + case 3: + return BUFFERED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.bigquery.storage.v1.WriteStream.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -211,15 +247,18 @@ private Type(int value) { } /** + * + * *
    * Mode enum of the stream.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1.WriteStream.WriteMode} */ - public enum WriteMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum WriteMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unknown type.
      * 
@@ -228,6 +267,8 @@ public enum WriteMode */ WRITE_MODE_UNSPECIFIED(0), /** + * + * *
      * Insert new records into the table.
      * It is the default value if customers do not specify it.
@@ -240,6 +281,8 @@ public enum WriteMode
     ;
 
     /**
+     *
+     *
      * 
      * Unknown type.
      * 
@@ -248,6 +291,8 @@ public enum WriteMode */ public static final int WRITE_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Insert new records into the table.
      * It is the default value if customers do not specify it.
@@ -257,7 +302,6 @@ public enum WriteMode
      */
     public static final int INSERT_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -282,48 +326,47 @@ public static WriteMode valueOf(int value) {
      */
     public static WriteMode forNumber(int value) {
       switch (value) {
-        case 0: return WRITE_MODE_UNSPECIFIED;
-        case 1: return INSERT;
-        default: return null;
+        case 0:
+          return WRITE_MODE_UNSPECIFIED;
+        case 1:
+          return INSERT;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        WriteMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public WriteMode findValueByNumber(int number) {
-              return WriteMode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public WriteMode findValueByNumber(int number) {
+            return WriteMode.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.bigquery.storage.v1.WriteStream.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final WriteMode[] VALUES = values();
 
-    public static WriteMode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static WriteMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -341,15 +384,19 @@ private WriteMode(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Name of the stream, in the form
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -358,30 +405,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Name of the stream, in the form
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -392,38 +439,57 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** + * + * *
    * Immutable. Type of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Immutable. Type of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStream.Type getType() { - com.google.cloud.bigquery.storage.v1.WriteStream.Type result = com.google.cloud.bigquery.storage.v1.WriteStream.Type.forNumber(type_); - return result == null ? com.google.cloud.bigquery.storage.v1.WriteStream.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1.WriteStream.Type getType() { + com.google.cloud.bigquery.storage.v1.WriteStream.Type result = + com.google.cloud.bigquery.storage.v1.WriteStream.Type.forNumber(type_); + return result == null + ? com.google.cloud.bigquery.storage.v1.WriteStream.Type.UNRECOGNIZED + : result; } public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Create time of the stream. For the _default stream, this is
    * the creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -431,12 +497,16 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Create time of the stream. For the _default stream, this is
    * the creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -444,12 +514,15 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Create time of the stream. For the _default stream, this is
    * the creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -459,6 +532,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int COMMIT_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp commitTime_; /** + * + * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -466,7 +541,9 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * means it is not committed.
    * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -474,6 +551,8 @@ public boolean hasCommitTime() { return commitTime_ != null; } /** + * + * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -481,7 +560,9 @@ public boolean hasCommitTime() {
    * means it is not committed.
    * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The commitTime. */ @java.lang.Override @@ -489,6 +570,8 @@ public com.google.protobuf.Timestamp getCommitTime() { return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } /** + * + * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -496,7 +579,8 @@ public com.google.protobuf.Timestamp getCommitTime() {
    * means it is not committed.
    * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { @@ -506,6 +590,8 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { public static final int TABLE_SCHEMA_FIELD_NUMBER = 5; private com.google.cloud.bigquery.storage.v1.TableSchema tableSchema_; /** + * + * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -513,7 +599,10 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
    * The table schema could go out of date during the life time of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the tableSchema field is set. */ @java.lang.Override @@ -521,6 +610,8 @@ public boolean hasTableSchema() { return tableSchema_ != null; } /** + * + * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -528,14 +619,21 @@ public boolean hasTableSchema() {
    * The table schema could go out of date during the life time of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tableSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableSchema getTableSchema() { - return tableSchema_ == null ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : tableSchema_; + return tableSchema_ == null + ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() + : tableSchema_; } /** + * + * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -543,43 +641,65 @@ public com.google.cloud.bigquery.storage.v1.TableSchema getTableSchema() {
    * The table schema could go out of date during the life time of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getTableSchemaOrBuilder() { - return tableSchema_ == null ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : tableSchema_; + return tableSchema_ == null + ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() + : tableSchema_; } public static final int WRITE_MODE_FIELD_NUMBER = 7; private int writeMode_ = 0; /** + * + * *
    * Immutable. Mode of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for writeMode. */ - @java.lang.Override public int getWriteModeValue() { + @java.lang.Override + public int getWriteModeValue() { return writeMode_; } /** + * + * *
    * Immutable. Mode of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The writeMode. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode getWriteMode() { - com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode result = com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.forNumber(writeMode_); - return result == null ? com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode getWriteMode() { + com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode result = + com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.forNumber(writeMode_); + return result == null + ? com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.UNRECOGNIZED + : result; } public static final int LOCATION_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** + * + * *
    * Immutable. The geographic location where the stream's dataset resides. See
    * https://cloud.google.com/bigquery/docs/locations for supported
@@ -587,6 +707,7 @@ public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getTableSchemaO
    * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The location. */ @java.lang.Override @@ -595,14 +716,15 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * Immutable. The geographic location where the stream's dataset resides. See
    * https://cloud.google.com/bigquery/docs/locations for supported
@@ -610,16 +732,15 @@ public java.lang.String getLocation() {
    * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -628,6 +749,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -639,12 +761,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (type_ != com.google.cloud.bigquery.storage.v1.WriteStream.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.bigquery.storage.v1.WriteStream.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } if (createTime_ != null) { @@ -656,7 +778,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (tableSchema_ != null) { output.writeMessage(5, getTableSchema()); } - if (writeMode_ != com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.WRITE_MODE_UNSPECIFIED.getNumber()) { + if (writeMode_ + != com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.WRITE_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(7, writeMode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { @@ -674,25 +798,23 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (type_ != com.google.cloud.bigquery.storage.v1.WriteStream.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.cloud.bigquery.storage.v1.WriteStream.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (commitTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCommitTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCommitTime()); } if (tableSchema_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getTableSchema()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getTableSchema()); } - if (writeMode_ != com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.WRITE_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, writeMode_); + if (writeMode_ + != com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.WRITE_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, writeMode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, location_); @@ -705,34 +827,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.WriteStream)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.WriteStream other = (com.google.cloud.bigquery.storage.v1.WriteStream) obj; + com.google.cloud.bigquery.storage.v1.WriteStream other = + (com.google.cloud.bigquery.storage.v1.WriteStream) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (type_ != other.type_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasCommitTime() != other.hasCommitTime()) return false; if (hasCommitTime()) { - if (!getCommitTime() - .equals(other.getCommitTime())) return false; + if (!getCommitTime().equals(other.getCommitTime())) return false; } if (hasTableSchema() != other.hasTableSchema()) return false; if (hasTableSchema()) { - if (!getTableSchema() - .equals(other.getTableSchema())) return false; + if (!getTableSchema().equals(other.getTableSchema())) return false; } if (writeMode_ != other.writeMode_) return false; - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -769,132 +887,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.WriteStream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.WriteStream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.WriteStream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.WriteStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about a single stream that gets data inside the storage system.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.WriteStream} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.WriteStream) com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.WriteStream.class, com.google.cloud.bigquery.storage.v1.WriteStream.Builder.class); + com.google.cloud.bigquery.storage.v1.WriteStream.class, + com.google.cloud.bigquery.storage.v1.WriteStream.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.WriteStream.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -922,9 +1044,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StreamProto + .internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; } @java.lang.Override @@ -943,8 +1065,11 @@ public com.google.cloud.bigquery.storage.v1.WriteStream build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStream buildPartial() { - com.google.cloud.bigquery.storage.v1.WriteStream result = new com.google.cloud.bigquery.storage.v1.WriteStream(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1.WriteStream result = + new com.google.cloud.bigquery.storage.v1.WriteStream(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -958,19 +1083,14 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.WriteStream resu result.type_ = type_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null - ? commitTime_ - : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.tableSchema_ = tableSchemaBuilder_ == null - ? tableSchema_ - : tableSchemaBuilder_.build(); + result.tableSchema_ = + tableSchemaBuilder_ == null ? tableSchema_ : tableSchemaBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.writeMode_ = writeMode_; @@ -984,38 +1104,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.WriteStream resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.WriteStream) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.WriteStream)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.WriteStream) other); } else { super.mergeFrom(other); return this; @@ -1023,7 +1144,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.WriteStream other) { - if (other == com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1075,53 +1197,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getCommitTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getTableSchemaFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 56: { - writeMode_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 56 - case 66: { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getTableSchemaFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 56: + { + writeMode_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 56 + case 66: + { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1131,23 +1255,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1156,21 +1283,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1178,30 +1306,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1211,18 +1346,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1232,22 +1371,33 @@ public Builder setNameBytes( private int type_ = 0; /** + * + * *
      * Immutable. Type of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Immutable. Type of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1258,24 +1408,37 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Immutable. Type of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStream.Type getType() { - com.google.cloud.bigquery.storage.v1.WriteStream.Type result = com.google.cloud.bigquery.storage.v1.WriteStream.Type.forNumber(type_); - return result == null ? com.google.cloud.bigquery.storage.v1.WriteStream.Type.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1.WriteStream.Type result = + com.google.cloud.bigquery.storage.v1.WriteStream.Type.forNumber(type_); + return result == null + ? com.google.cloud.bigquery.storage.v1.WriteStream.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Immutable. Type of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -1289,11 +1452,16 @@ public Builder setType(com.google.cloud.bigquery.storage.v1.WriteStream.Type val return this; } /** + * + * *
      * Immutable. Type of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -1305,42 +1473,61 @@ public Builder clearType() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is
      * the creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is
      * the creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is
      * the creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1356,15 +1543,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is
      * the creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1375,18 +1565,22 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is
      * the creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1399,12 +1593,16 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is
      * the creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1417,12 +1615,16 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is
      * the creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1430,38 +1632,50 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is
      * the creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is
      * the creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1469,8 +1683,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp commitTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + commitTimeBuilder_; /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1478,13 +1697,18 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1492,17 +1716,24 @@ public boolean hasCommitTime() {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The commitTime. */ public com.google.protobuf.Timestamp getCommitTime() { if (commitTimeBuilder_ == null) { - return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; + return commitTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTime_; } else { return commitTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1510,7 +1741,9 @@ public com.google.protobuf.Timestamp getCommitTime() {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCommitTime(com.google.protobuf.Timestamp value) { if (commitTimeBuilder_ == null) { @@ -1526,6 +1759,8 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1533,10 +1768,11 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCommitTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (commitTimeBuilder_ == null) { commitTime_ = builderForValue.build(); } else { @@ -1547,6 +1783,8 @@ public Builder setCommitTime( return this; } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1554,13 +1792,15 @@ public Builder setCommitTime(
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) { if (commitTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - commitTime_ != null && - commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && commitTime_ != null + && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimeBuilder().mergeFrom(value); } else { commitTime_ = value; @@ -1573,6 +1813,8 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1580,7 +1822,9 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCommitTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1593,6 +1837,8 @@ public Builder clearCommitTime() { return this; } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1600,7 +1846,9 @@ public Builder clearCommitTime() {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() { bitField0_ |= 0x00000008; @@ -1608,6 +1856,8 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() { return getCommitTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1615,17 +1865,22 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { if (commitTimeBuilder_ != null) { return commitTimeBuilder_.getMessageOrBuilder(); } else { - return commitTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; + return commitTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTime_; } } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1633,17 +1888,22 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCommitTimeFieldBuilder() { if (commitTimeBuilder_ == null) { - commitTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCommitTime(), - getParentForChildren(), - isClean()); + commitTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCommitTime(), getParentForChildren(), isClean()); commitTime_ = null; } return commitTimeBuilder_; @@ -1651,8 +1911,13 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { private com.google.cloud.bigquery.storage.v1.TableSchema tableSchema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableSchema, com.google.cloud.bigquery.storage.v1.TableSchema.Builder, com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder> tableSchemaBuilder_; + com.google.cloud.bigquery.storage.v1.TableSchema, + com.google.cloud.bigquery.storage.v1.TableSchema.Builder, + com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder> + tableSchemaBuilder_; /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1660,13 +1925,18 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the tableSchema field is set. */ public boolean hasTableSchema() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1674,17 +1944,24 @@ public boolean hasTableSchema() {
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tableSchema. */ public com.google.cloud.bigquery.storage.v1.TableSchema getTableSchema() { if (tableSchemaBuilder_ == null) { - return tableSchema_ == null ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : tableSchema_; + return tableSchema_ == null + ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() + : tableSchema_; } else { return tableSchemaBuilder_.getMessage(); } } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1692,7 +1969,9 @@ public com.google.cloud.bigquery.storage.v1.TableSchema getTableSchema() {
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTableSchema(com.google.cloud.bigquery.storage.v1.TableSchema value) { if (tableSchemaBuilder_ == null) { @@ -1708,6 +1987,8 @@ public Builder setTableSchema(com.google.cloud.bigquery.storage.v1.TableSchema v return this; } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1715,7 +1996,9 @@ public Builder setTableSchema(com.google.cloud.bigquery.storage.v1.TableSchema v
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTableSchema( com.google.cloud.bigquery.storage.v1.TableSchema.Builder builderForValue) { @@ -1729,6 +2012,8 @@ public Builder setTableSchema( return this; } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1736,13 +2021,16 @@ public Builder setTableSchema(
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeTableSchema(com.google.cloud.bigquery.storage.v1.TableSchema value) { if (tableSchemaBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - tableSchema_ != null && - tableSchema_ != com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && tableSchema_ != null + && tableSchema_ + != com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance()) { getTableSchemaBuilder().mergeFrom(value); } else { tableSchema_ = value; @@ -1755,6 +2043,8 @@ public Builder mergeTableSchema(com.google.cloud.bigquery.storage.v1.TableSchema return this; } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1762,7 +2052,9 @@ public Builder mergeTableSchema(com.google.cloud.bigquery.storage.v1.TableSchema
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTableSchema() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1775,6 +2067,8 @@ public Builder clearTableSchema() { return this; } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1782,7 +2076,9 @@ public Builder clearTableSchema() {
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1.TableSchema.Builder getTableSchemaBuilder() { bitField0_ |= 0x00000010; @@ -1790,6 +2086,8 @@ public com.google.cloud.bigquery.storage.v1.TableSchema.Builder getTableSchemaBu return getTableSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1797,17 +2095,22 @@ public com.google.cloud.bigquery.storage.v1.TableSchema.Builder getTableSchemaBu
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getTableSchemaOrBuilder() { if (tableSchemaBuilder_ != null) { return tableSchemaBuilder_.getMessageOrBuilder(); } else { - return tableSchema_ == null ? - com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : tableSchema_; + return tableSchema_ == null + ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() + : tableSchema_; } } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1815,17 +2118,22 @@ public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getTableSchemaO
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableSchema, com.google.cloud.bigquery.storage.v1.TableSchema.Builder, com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1.TableSchema, + com.google.cloud.bigquery.storage.v1.TableSchema.Builder, + com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder> getTableSchemaFieldBuilder() { if (tableSchemaBuilder_ == null) { - tableSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableSchema, com.google.cloud.bigquery.storage.v1.TableSchema.Builder, com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder>( - getTableSchema(), - getParentForChildren(), - isClean()); + tableSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.TableSchema, + com.google.cloud.bigquery.storage.v1.TableSchema.Builder, + com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder>( + getTableSchema(), getParentForChildren(), isClean()); tableSchema_ = null; } return tableSchemaBuilder_; @@ -1833,22 +2141,33 @@ public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getTableSchemaO private int writeMode_ = 0; /** + * + * *
      * Immutable. Mode of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for writeMode. */ - @java.lang.Override public int getWriteModeValue() { + @java.lang.Override + public int getWriteModeValue() { return writeMode_; } /** + * + * *
      * Immutable. Mode of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for writeMode to set. * @return This builder for chaining. */ @@ -1859,24 +2178,37 @@ public Builder setWriteModeValue(int value) { return this; } /** + * + * *
      * Immutable. Mode of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The writeMode. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode getWriteMode() { - com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode result = com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.forNumber(writeMode_); - return result == null ? com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode result = + com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.forNumber(writeMode_); + return result == null + ? com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.UNRECOGNIZED + : result; } /** + * + * *
      * Immutable. Mode of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The writeMode to set. * @return This builder for chaining. */ @@ -1890,11 +2222,16 @@ public Builder setWriteMode(com.google.cloud.bigquery.storage.v1.WriteStream.Wri return this; } /** + * + * *
      * Immutable. Mode of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearWriteMode() { @@ -1906,6 +2243,8 @@ public Builder clearWriteMode() { private java.lang.Object location_ = ""; /** + * + * *
      * Immutable. The geographic location where the stream's dataset resides. See
      * https://cloud.google.com/bigquery/docs/locations for supported
@@ -1913,13 +2252,13 @@ public Builder clearWriteMode() {
      * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -1928,6 +2267,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Immutable. The geographic location where the stream's dataset resides. See
      * https://cloud.google.com/bigquery/docs/locations for supported
@@ -1935,15 +2276,14 @@ public java.lang.String getLocation() {
      * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -1951,6 +2291,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Immutable. The geographic location where the stream's dataset resides. See
      * https://cloud.google.com/bigquery/docs/locations for supported
@@ -1958,18 +2300,22 @@ public java.lang.String getLocation() {
      * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } location_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Immutable. The geographic location where the stream's dataset resides. See
      * https://cloud.google.com/bigquery/docs/locations for supported
@@ -1977,6 +2323,7 @@ public Builder setLocation(
      * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -1986,6 +2333,8 @@ public Builder clearLocation() { return this; } /** + * + * *
      * Immutable. The geographic location where the stream's dataset resides. See
      * https://cloud.google.com/bigquery/docs/locations for supported
@@ -1993,21 +2342,23 @@ public Builder clearLocation() {
      * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2017,12 +2368,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.WriteStream) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.WriteStream) private static final com.google.cloud.bigquery.storage.v1.WriteStream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.WriteStream(); } @@ -2031,27 +2382,27 @@ public static com.google.cloud.bigquery.storage.v1.WriteStream getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WriteStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2066,6 +2417,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.WriteStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamName.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamName.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamOrBuilder.java index e9255cbb96..3e95f61f3b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamOrBuilder.java @@ -1,84 +1,128 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/stream.proto package com.google.cloud.bigquery.storage.v1; -public interface WriteStreamOrBuilder extends +public interface WriteStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.WriteStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of the stream, in the form
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Name of the stream, in the form
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. Type of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Immutable. Type of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ com.google.cloud.bigquery.storage.v1.WriteStream.Type getType(); /** + * + * *
    * Output only. Create time of the stream. For the _default stream, this is
    * the creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Create time of the stream. For the _default stream, this is
    * the creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Create time of the stream. For the _default stream, this is
    * the creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -86,11 +130,15 @@ public interface WriteStreamOrBuilder extends
    * means it is not committed.
    * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** + * + * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -98,11 +146,15 @@ public interface WriteStreamOrBuilder extends
    * means it is not committed.
    * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** + * + * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -110,11 +162,14 @@ public interface WriteStreamOrBuilder extends
    * means it is not committed.
    * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder(); /** + * + * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -122,11 +177,16 @@ public interface WriteStreamOrBuilder extends
    * The table schema could go out of date during the life time of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the tableSchema field is set. */ boolean hasTableSchema(); /** + * + * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -134,11 +194,16 @@ public interface WriteStreamOrBuilder extends
    * The table schema could go out of date during the life time of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tableSchema. */ com.google.cloud.bigquery.storage.v1.TableSchema getTableSchema(); /** + * + * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -146,30 +211,44 @@ public interface WriteStreamOrBuilder extends
    * The table schema could go out of date during the life time of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getTableSchemaOrBuilder(); /** + * + * *
    * Immutable. Mode of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for writeMode. */ int getWriteModeValue(); /** + * + * *
    * Immutable. Mode of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The writeMode. */ com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode getWriteMode(); /** + * + * *
    * Immutable. The geographic location where the stream's dataset resides. See
    * https://cloud.google.com/bigquery/docs/locations for supported
@@ -177,10 +256,13 @@ public interface WriteStreamOrBuilder extends
    * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Immutable. The geographic location where the stream's dataset resides. See
    * https://cloud.google.com/bigquery/docs/locations for supported
@@ -188,8 +270,8 @@ public interface WriteStreamOrBuilder extends
    * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamView.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamView.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamView.java rename to proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamView.java index ff4682ff27..bc280fcb97 100644 --- a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamView.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamView.java @@ -1,9 +1,26 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/stream.proto package com.google.cloud.bigquery.storage.v1; /** + * + * *
  * WriteStreamView is a view enum that controls what details about a write
  * stream should be returned.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.bigquery.storage.v1.WriteStreamView}
  */
-public enum WriteStreamView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum WriteStreamView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default / unset value.
    * 
@@ -22,6 +40,8 @@ public enum WriteStreamView */ WRITE_STREAM_VIEW_UNSPECIFIED(0), /** + * + * *
    * The BASIC projection returns basic metadata about a write stream.  The
    * basic view does not include schema information.  This is the default view
@@ -32,6 +52,8 @@ public enum WriteStreamView
    */
   BASIC(1),
   /**
+   *
+   *
    * 
    * The FULL projection returns all available write stream metadata, including
    * the schema.  CreateWriteStream returns the full projection of write stream
@@ -45,6 +67,8 @@ public enum WriteStreamView
   ;
 
   /**
+   *
+   *
    * 
    * The default / unset value.
    * 
@@ -53,6 +77,8 @@ public enum WriteStreamView */ public static final int WRITE_STREAM_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The BASIC projection returns basic metadata about a write stream.  The
    * basic view does not include schema information.  This is the default view
@@ -63,6 +89,8 @@ public enum WriteStreamView
    */
   public static final int BASIC_VALUE = 1;
   /**
+   *
+   *
    * 
    * The FULL projection returns all available write stream metadata, including
    * the schema.  CreateWriteStream returns the full projection of write stream
@@ -73,7 +101,6 @@ public enum WriteStreamView
    */
   public static final int FULL_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -98,49 +125,49 @@ public static WriteStreamView valueOf(int value) {
    */
   public static WriteStreamView forNumber(int value) {
     switch (value) {
-      case 0: return WRITE_STREAM_VIEW_UNSPECIFIED;
-      case 1: return BASIC;
-      case 2: return FULL;
-      default: return null;
+      case 0:
+        return WRITE_STREAM_VIEW_UNSPECIFIED;
+      case 1:
+        return BASIC;
+      case 2:
+        return FULL;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      WriteStreamView> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public WriteStreamView findValueByNumber(int number) {
-            return WriteStreamView.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public WriteStreamView findValueByNumber(int number) {
+          return WriteStreamView.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.bigquery.storage.v1.StreamProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final WriteStreamView[] VALUES = values();
 
-  public static WriteStreamView valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static WriteStreamView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -156,4 +183,3 @@ private WriteStreamView(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.storage.v1.WriteStreamView)
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/annotations.proto b/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/annotations.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/annotations.proto
rename to proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/annotations.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/arrow.proto b/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/arrow.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/arrow.proto
rename to proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/arrow.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/avro.proto b/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/avro.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/avro.proto
rename to proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/avro.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/protobuf.proto b/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/protobuf.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/protobuf.proto
rename to proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/protobuf.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/storage.proto b/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/storage.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/storage.proto
rename to proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/storage.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/stream.proto b/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/stream.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/stream.proto
rename to proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/stream.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/table.proto b/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/table.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/table.proto
rename to proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/table.proto
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java
similarity index 62%
rename from owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java
rename to proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java
index a9be68794b..1be08d6cae 100644
--- a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java
+++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java
@@ -1,3 +1,18 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1beta1/arrow.proto
 
@@ -5,77 +20,86 @@
 
 public final class ArrowProto {
   private ArrowProto() {}
-  public static void registerAllExtensions(
-      com.google.protobuf.ExtensionRegistryLite registry) {
-  }
 
-  public static void registerAllExtensions(
-      com.google.protobuf.ExtensionRegistry registry) {
-    registerAllExtensions(
-        (com.google.protobuf.ExtensionRegistryLite) registry);
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
   }
-  public interface ArrowSchemaOrBuilder extends
+
+  public interface ArrowSchemaOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.ArrowSchema)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; + * * @return The serializedSchema. */ com.google.protobuf.ByteString getSerializedSchema(); } /** + * + * *
    * Arrow schema.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ArrowSchema} */ - public static final class ArrowSchema extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ArrowSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.ArrowSchema) ArrowSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArrowSchema.newBuilder() to construct. private ArrowSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArrowSchema() { serializedSchema_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArrowSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.class, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.class, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder.class); } public static final int SERIALIZED_SCHEMA_FIELD_NUMBER = 1; private com.google.protobuf.ByteString serializedSchema_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; + * * @return The serializedSchema. */ @java.lang.Override @@ -84,6 +108,7 @@ public com.google.protobuf.ByteString getSerializedSchema() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -95,8 +120,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!serializedSchema_.isEmpty()) { output.writeBytes(1, serializedSchema_); } @@ -110,8 +134,7 @@ public int getSerializedSize() { size = 0; if (!serializedSchema_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, serializedSchema_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, serializedSchema_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +144,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema other = (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) obj; + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema other = + (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) obj; - if (!getSerializedSchema() - .equals(other.getSerializedSchema())) return false; + if (!getSerializedSchema().equals(other.getSerializedSchema())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -149,89 +172,95 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -241,39 +270,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Arrow schema.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ArrowSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.ArrowSchema) com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.class, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.class, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -283,14 +315,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + .getDefaultInstance(); } @java.lang.Override @@ -304,13 +338,17 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema build() @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema result = new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema result = + new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.serializedSchema_ = serializedSchema_; @@ -321,46 +359,53 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.ArrowProto. public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema)other); + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + .getDefaultInstance()) return this; if (other.getSerializedSchema() != com.google.protobuf.ByteString.EMPTY) { setSerializedSchema(other.getSerializedSchema()); } @@ -390,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - serializedSchema_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + serializedSchema_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -410,15 +457,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.ByteString serializedSchema_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedSchema_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
        * IPC serialized Arrow schema.
        * 
* * bytes serialized_schema = 1; + * * @return The serializedSchema. */ @java.lang.Override @@ -426,27 +478,35 @@ public com.google.protobuf.ByteString getSerializedSchema() { return serializedSchema_; } /** + * + * *
        * IPC serialized Arrow schema.
        * 
* * bytes serialized_schema = 1; + * * @param value The serializedSchema to set. * @return This builder for chaining. */ public Builder setSerializedSchema(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } serializedSchema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * IPC serialized Arrow schema.
        * 
* * bytes serialized_schema = 1; + * * @return This builder for chaining. */ public Builder clearSerializedSchema() { @@ -455,6 +515,7 @@ public Builder clearSerializedSchema() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -467,41 +528,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.ArrowSchema) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.ArrowSchema) - private static final com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema(); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -513,84 +577,99 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ArrowRecordBatchOrBuilder extends + public interface ArrowRecordBatchOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * IPC serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; + * * @return The serializedRecordBatch. */ com.google.protobuf.ByteString getSerializedRecordBatch(); /** + * + * *
      * The count of rows in the returning block.
      * 
* * int64 row_count = 2; + * * @return The rowCount. */ long getRowCount(); } /** + * + * *
    * Arrow RecordBatch.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch} */ - public static final class ArrowRecordBatch extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ArrowRecordBatch extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch) ArrowRecordBatchOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArrowRecordBatch.newBuilder() to construct. private ArrowRecordBatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArrowRecordBatch() { serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArrowRecordBatch(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.class, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.class, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder.class); } public static final int SERIALIZED_RECORD_BATCH_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedRecordBatch_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * IPC serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; + * * @return The serializedRecordBatch. */ @java.lang.Override @@ -601,11 +680,14 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_ = 0L; /** + * + * *
      * The count of rows in the returning block.
      * 
* * int64 row_count = 2; + * * @return The rowCount. */ @java.lang.Override @@ -614,6 +696,7 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -625,8 +708,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!serializedRecordBatch_.isEmpty()) { output.writeBytes(1, serializedRecordBatch_); } @@ -643,12 +725,10 @@ public int getSerializedSize() { size = 0; if (!serializedRecordBatch_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, serializedRecordBatch_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, serializedRecordBatch_); } if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, rowCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -658,17 +738,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch other = (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) obj; + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch other = + (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) obj; - if (!getSerializedRecordBatch() - .equals(other.getSerializedRecordBatch())) return false; - if (getRowCount() - != other.getRowCount()) return false; + if (!getSerializedRecordBatch().equals(other.getSerializedRecordBatch())) return false; + if (getRowCount() != other.getRowCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -683,97 +762,102 @@ public int hashCode() { hash = (37 * hash) + SERIALIZED_RECORD_BATCH_FIELD_NUMBER; hash = (53 * hash) + getSerializedRecordBatch().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -783,39 +867,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Arrow RecordBatch.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch) com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.class, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.class, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder + .class); } - // Construct using com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -826,19 +914,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch build() { - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch result = buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -847,13 +938,17 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch bui @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch result = new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch result = + new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.serializedRecordBatch_ = serializedRecordBatch_; @@ -867,46 +962,54 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.ArrowProto. public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch)other); + if (other + instanceof com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) { + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + .getDefaultInstance()) return this; if (other.getSerializedRecordBatch() != com.google.protobuf.ByteString.EMPTY) { setSerializedRecordBatch(other.getSerializedRecordBatch()); } @@ -939,22 +1042,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - serializedRecordBatch_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + serializedRecordBatch_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -964,15 +1070,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.ByteString serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedRecordBatch_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
        * IPC serialized Arrow RecordBatch.
        * 
* * bytes serialized_record_batch = 1; + * * @return The serializedRecordBatch. */ @java.lang.Override @@ -980,27 +1091,35 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { return serializedRecordBatch_; } /** + * + * *
        * IPC serialized Arrow RecordBatch.
        * 
* * bytes serialized_record_batch = 1; + * * @param value The serializedRecordBatch to set. * @return This builder for chaining. */ public Builder setSerializedRecordBatch(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } serializedRecordBatch_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * IPC serialized Arrow RecordBatch.
        * 
* * bytes serialized_record_batch = 1; + * * @return This builder for chaining. */ public Builder clearSerializedRecordBatch() { @@ -1010,13 +1129,16 @@ public Builder clearSerializedRecordBatch() { return this; } - private long rowCount_ ; + private long rowCount_; /** + * + * *
        * The count of rows in the returning block.
        * 
* * int64 row_count = 2; + * * @return The rowCount. */ @java.lang.Override @@ -1024,11 +1146,14 @@ public long getRowCount() { return rowCount_; } /** + * + * *
        * The count of rows in the returning block.
        * 
* * int64 row_count = 2; + * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -1040,11 +1165,14 @@ public Builder setRowCount(long value) { return this; } /** + * + * *
        * The count of rows in the returning block.
        * 
* * int64 row_count = 2; + * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -1053,6 +1181,7 @@ public Builder clearRowCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1065,41 +1194,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch) - private static final com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch(); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowRecordBatch parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowRecordBatch parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1111,57 +1244,58 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n1google/cloud/bigquery/storage/v1beta1/" + - "arrow.proto\022%google.cloud.bigquery.stora" + - "ge.v1beta1\"(\n\013ArrowSchema\022\031\n\021serialized_" + - "schema\030\001 \001(\014\"F\n\020ArrowRecordBatch\022\037\n\027seri" + - "alized_record_batch\030\001 \001(\014\022\021\n\trow_count\030\002" + - " \001(\003B|\n)com.google.cloud.bigquery.storag" + - "e.v1beta1B\nArrowProtoZCcloud.google.com/" + - "go/bigquery/storage/apiv1beta1/storagepb" + - ";storagepbb\006proto3" + "\n1google/cloud/bigquery/storage/v1beta1/" + + "arrow.proto\022%google.cloud.bigquery.stora" + + "ge.v1beta1\"(\n\013ArrowSchema\022\031\n\021serialized_" + + "schema\030\001 \001(\014\"F\n\020ArrowRecordBatch\022\037\n\027seri" + + "alized_record_batch\030\001 \001(\014\022\021\n\trow_count\030\002" + + " \001(\003B|\n)com.google.cloud.bigquery.storag" + + "e.v1beta1B\nArrowProtoZCcloud.google.com/" + + "go/bigquery/storage/apiv1beta1/storagepb" + + ";storagepbb\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor, - new java.lang.String[] { "SerializedSchema", }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor, + new java.lang.String[] { + "SerializedSchema", + }); internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor, - new java.lang.String[] { "SerializedRecordBatch", "RowCount", }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor, + new java.lang.String[] { + "SerializedRecordBatch", "RowCount", + }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java rename to proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java index 4256172d10..1c5c6e1071 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java +++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java @@ -1,3 +1,18 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta1/avro.proto @@ -5,91 +20,103 @@ public final class AvroProto { private AvroProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } - public interface AvroSchemaOrBuilder extends + + public interface AvroSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.AvroSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html
      * 
* * string schema = 1; + * * @return The schema. */ java.lang.String getSchema(); /** + * + * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html
      * 
* * string schema = 1; + * * @return The bytes for schema. */ - com.google.protobuf.ByteString - getSchemaBytes(); + com.google.protobuf.ByteString getSchemaBytes(); } /** + * + * *
    * Avro schema.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.AvroSchema} */ - public static final class AvroSchema extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AvroSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.AvroSchema) AvroSchemaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvroSchema.newBuilder() to construct. private AvroSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AvroSchema() { schema_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AvroSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.class, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.class, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder.class); } public static final int SCHEMA_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object schema_ = ""; /** + * + * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html
      * 
* * string schema = 1; + * * @return The schema. */ @java.lang.Override @@ -98,30 +125,30 @@ public java.lang.String getSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; } } /** + * + * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html
      * 
* * string schema = 1; + * * @return The bytes for schema. */ @java.lang.Override - public com.google.protobuf.ByteString - getSchemaBytes() { + public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schema_ = b; return b; } else { @@ -130,6 +157,7 @@ public java.lang.String getSchema() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +169,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); } @@ -166,15 +193,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema other = (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) obj; + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema other = + (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) obj; - if (!getSchema() - .equals(other.getSchema())) return false; + if (!getSchema().equals(other.getSchema())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -194,89 +221,94 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -286,39 +318,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Avro schema.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.AvroSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.AvroSchema) com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.class, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.class, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -328,13 +362,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); } @@ -349,13 +384,17 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema result = new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema result = + new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.schema_ = schema_; @@ -366,46 +405,52 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.AvroProto.A public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance()) + return this; if (!other.getSchema().isEmpty()) { schema_ = other.schema_; bitField0_ |= 0x00000001; @@ -437,17 +482,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - schema_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + schema_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,23 +504,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object schema_ = ""; /** + * + * *
        * Json serialized schema, as described at
        * https://avro.apache.org/docs/1.8.1/spec.html
        * 
* * string schema = 1; + * * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; @@ -482,21 +532,22 @@ public java.lang.String getSchema() { } } /** + * + * *
        * Json serialized schema, as described at
        * https://avro.apache.org/docs/1.8.1/spec.html
        * 
* * string schema = 1; + * * @return The bytes for schema. */ - public com.google.protobuf.ByteString - getSchemaBytes() { + public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schema_ = b; return b; } else { @@ -504,30 +555,37 @@ public java.lang.String getSchema() { } } /** + * + * *
        * Json serialized schema, as described at
        * https://avro.apache.org/docs/1.8.1/spec.html
        * 
* * string schema = 1; + * * @param value The schema to set. * @return This builder for chaining. */ - public Builder setSchema( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSchema(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } schema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Json serialized schema, as described at
        * https://avro.apache.org/docs/1.8.1/spec.html
        * 
* * string schema = 1; + * * @return This builder for chaining. */ public Builder clearSchema() { @@ -537,24 +595,29 @@ public Builder clearSchema() { return this; } /** + * + * *
        * Json serialized schema, as described at
        * https://avro.apache.org/docs/1.8.1/spec.html
        * 
* * string schema = 1; + * * @param value The bytes for schema to set. * @return This builder for chaining. */ - public Builder setSchemaBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSchemaBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); schema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -567,41 +630,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.AvroSchema) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.AvroSchema) - private static final com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema(); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -613,84 +679,99 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AvroRowsOrBuilder extends + public interface AvroRowsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.AvroRows) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; + * * @return The serializedBinaryRows. */ com.google.protobuf.ByteString getSerializedBinaryRows(); /** + * + * *
      * The count of rows in the returning block.
      * 
* * int64 row_count = 2; + * * @return The rowCount. */ long getRowCount(); } /** + * + * *
    * Avro rows.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.AvroRows} */ - public static final class AvroRows extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AvroRows extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.AvroRows) AvroRowsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvroRows.newBuilder() to construct. private AvroRows(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AvroRows() { serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AvroRows(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.class, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.class, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder.class); } public static final int SERIALIZED_BINARY_ROWS_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedBinaryRows_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; + * * @return The serializedBinaryRows. */ @java.lang.Override @@ -701,11 +782,14 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_ = 0L; /** + * + * *
      * The count of rows in the returning block.
      * 
* * int64 row_count = 2; + * * @return The rowCount. */ @java.lang.Override @@ -714,6 +798,7 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -725,8 +810,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!serializedBinaryRows_.isEmpty()) { output.writeBytes(1, serializedBinaryRows_); } @@ -743,12 +827,10 @@ public int getSerializedSize() { size = 0; if (!serializedBinaryRows_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, serializedBinaryRows_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, serializedBinaryRows_); } if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, rowCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -758,17 +840,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows other = (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) obj; + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows other = + (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) obj; - if (!getSerializedBinaryRows() - .equals(other.getSerializedBinaryRows())) return false; - if (getRowCount() - != other.getRowCount()) return false; + if (!getSerializedBinaryRows().equals(other.getSerializedBinaryRows())) return false; + if (getRowCount() != other.getRowCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -783,97 +864,101 @@ public int hashCode() { hash = (37 * hash) + SERIALIZED_BINARY_ROWS_FIELD_NUMBER; hash = (53 * hash) + getSerializedBinaryRows().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -883,39 +968,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Avro rows.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.AvroRows} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.AvroRows) com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.class, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.class, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -926,13 +1013,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.getDefaultInstance(); } @@ -947,13 +1035,17 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows result = new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows result = + new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.serializedBinaryRows_ = serializedBinaryRows_; @@ -967,38 +1059,41 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.AvroProto.A public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) other); } else { super.mergeFrom(other); return this; @@ -1006,7 +1101,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.getDefaultInstance()) return this; + if (other + == com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.getDefaultInstance()) + return this; if (other.getSerializedBinaryRows() != com.google.protobuf.ByteString.EMPTY) { setSerializedBinaryRows(other.getSerializedBinaryRows()); } @@ -1039,22 +1136,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - serializedBinaryRows_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + serializedBinaryRows_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1064,15 +1164,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.ByteString serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedBinaryRows_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
        * Binary serialized rows in a block.
        * 
* * bytes serialized_binary_rows = 1; + * * @return The serializedBinaryRows. */ @java.lang.Override @@ -1080,27 +1185,35 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { return serializedBinaryRows_; } /** + * + * *
        * Binary serialized rows in a block.
        * 
* * bytes serialized_binary_rows = 1; + * * @param value The serializedBinaryRows to set. * @return This builder for chaining. */ public Builder setSerializedBinaryRows(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } serializedBinaryRows_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Binary serialized rows in a block.
        * 
* * bytes serialized_binary_rows = 1; + * * @return This builder for chaining. */ public Builder clearSerializedBinaryRows() { @@ -1110,13 +1223,16 @@ public Builder clearSerializedBinaryRows() { return this; } - private long rowCount_ ; + private long rowCount_; /** + * + * *
        * The count of rows in the returning block.
        * 
* * int64 row_count = 2; + * * @return The rowCount. */ @java.lang.Override @@ -1124,11 +1240,14 @@ public long getRowCount() { return rowCount_; } /** + * + * *
        * The count of rows in the returning block.
        * 
* * int64 row_count = 2; + * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -1140,11 +1259,14 @@ public Builder setRowCount(long value) { return this; } /** + * + * *
        * The count of rows in the returning block.
        * 
* * int64 row_count = 2; + * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -1153,6 +1275,7 @@ public Builder clearRowCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1165,41 +1288,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.AvroRows) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.AvroRows) - private static final com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows(); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroRows parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroRows parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1211,56 +1337,57 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n0google/cloud/bigquery/storage/v1beta1/" + - "avro.proto\022%google.cloud.bigquery.storag" + - "e.v1beta1\"\034\n\nAvroSchema\022\016\n\006schema\030\001 \001(\t\"" + - "=\n\010AvroRows\022\036\n\026serialized_binary_rows\030\001 " + - "\001(\014\022\021\n\trow_count\030\002 \001(\003B{\n)com.google.clo" + - "ud.bigquery.storage.v1beta1B\tAvroProtoZC" + - "cloud.google.com/go/bigquery/storage/api" + - "v1beta1/storagepb;storagepbb\006proto3" + "\n0google/cloud/bigquery/storage/v1beta1/" + + "avro.proto\022%google.cloud.bigquery.storag" + + "e.v1beta1\"\034\n\nAvroSchema\022\016\n\006schema\030\001 \001(\t\"" + + "=\n\010AvroRows\022\036\n\026serialized_binary_rows\030\001 " + + "\001(\014\022\021\n\trow_count\030\002 \001(\003B{\n)com.google.clo" + + "ud.bigquery.storage.v1beta1B\tAvroProtoZC" + + "cloud.google.com/go/bigquery/storage/api" + + "v1beta1/storagepb;storagepbb\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor, - new java.lang.String[] { "Schema", }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor, + new java.lang.String[] { + "Schema", + }); internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor, - new java.lang.String[] { "SerializedBinaryRows", "RowCount", }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor, + new java.lang.String[] { + "SerializedBinaryRows", "RowCount", + }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ProjectName.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ProjectName.java similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ProjectName.java rename to proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ProjectName.java diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java similarity index 81% rename from owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java rename to proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java index 9e6289461f..9c058789f6 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java +++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java @@ -1,3 +1,18 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta1/read_options.proto @@ -5,20 +20,21 @@ public final class ReadOptions { private ReadOptions() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } - public interface TableReadOptionsOrBuilder extends + + public interface TableReadOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.TableReadOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -70,11 +86,13 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * repeated string selected_fields = 1; + * * @return A list containing the selectedFields. */ - java.util.List - getSelectedFieldsList(); + java.util.List getSelectedFieldsList(); /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -126,10 +144,13 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * repeated string selected_fields = 1; + * * @return The count of selectedFields. */ int getSelectedFieldsCount(); /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -181,11 +202,14 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * repeated string selected_fields = 1; + * * @param index The index of the element to return. * @return The selectedFields at the given index. */ java.lang.String getSelectedFields(int index); /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -237,13 +261,15 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * repeated string selected_fields = 1; + * * @param index The index of the value to return. * @return The bytes of the selectedFields at the given index. */ - com.google.protobuf.ByteString - getSelectedFieldsBytes(int index); + com.google.protobuf.ByteString getSelectedFieldsBytes(int index); /** + * + * *
      * Optional. SQL text filtering statement, similar to a WHERE clause in
      * a SQL query. Aggregates are not supported.
@@ -258,10 +284,13 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * string row_restriction = 2; + * * @return The rowRestriction. */ java.lang.String getRowRestriction(); /** + * + * *
      * Optional. SQL text filtering statement, similar to a WHERE clause in
      * a SQL query. Aggregates are not supported.
@@ -276,58 +305,64 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * string row_restriction = 2; + * * @return The bytes for rowRestriction. */ - com.google.protobuf.ByteString - getRowRestrictionBytes(); + com.google.protobuf.ByteString getRowRestrictionBytes(); } /** + * + * *
    * Options dictating how we read a table.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.TableReadOptions} */ - public static final class TableReadOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TableReadOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.TableReadOptions) TableReadOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableReadOptions.newBuilder() to construct. private TableReadOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TableReadOptions() { - selectedFields_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); rowRestriction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableReadOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.ReadOptions.internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.ReadOptions + .internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.ReadOptions.internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.ReadOptions + .internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.class, com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.class, + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder.class); } public static final int SELECTED_FIELDS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -379,13 +414,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string selected_fields = 1; + * * @return A list containing the selectedFields. */ - public com.google.protobuf.ProtocolStringList - getSelectedFieldsList() { + public com.google.protobuf.ProtocolStringList getSelectedFieldsList() { return selectedFields_; } /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -437,12 +474,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string selected_fields = 1; + * * @return The count of selectedFields. */ public int getSelectedFieldsCount() { return selectedFields_.size(); } /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -494,6 +534,7 @@ public int getSelectedFieldsCount() {
      * 
* * repeated string selected_fields = 1; + * * @param index The index of the element to return. * @return The selectedFields at the given index. */ @@ -501,6 +542,8 @@ public java.lang.String getSelectedFields(int index) { return selectedFields_.get(index); } /** + * + * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -552,18 +595,21 @@ public java.lang.String getSelectedFields(int index) {
      * 
* * repeated string selected_fields = 1; + * * @param index The index of the value to return. * @return The bytes of the selectedFields at the given index. */ - public com.google.protobuf.ByteString - getSelectedFieldsBytes(int index) { + public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) { return selectedFields_.getByteString(index); } public static final int ROW_RESTRICTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object rowRestriction_ = ""; /** + * + * *
      * Optional. SQL text filtering statement, similar to a WHERE clause in
      * a SQL query. Aggregates are not supported.
@@ -578,6 +624,7 @@ public java.lang.String getSelectedFields(int index) {
      * 
* * string row_restriction = 2; + * * @return The rowRestriction. */ @java.lang.Override @@ -586,14 +633,15 @@ public java.lang.String getRowRestriction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rowRestriction_ = s; return s; } } /** + * + * *
      * Optional. SQL text filtering statement, similar to a WHERE clause in
      * a SQL query. Aggregates are not supported.
@@ -608,16 +656,15 @@ public java.lang.String getRowRestriction() {
      * 
* * string row_restriction = 2; + * * @return The bytes for rowRestriction. */ @java.lang.Override - public com.google.protobuf.ByteString - getRowRestrictionBytes() { + public com.google.protobuf.ByteString getRowRestrictionBytes() { java.lang.Object ref = rowRestriction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rowRestriction_ = b; return b; } else { @@ -626,6 +673,7 @@ public java.lang.String getRowRestriction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -637,8 +685,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < selectedFields_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selectedFields_.getRaw(i)); } @@ -673,17 +720,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions)) { + if (!(obj + instanceof com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions other = (com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions) obj; + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions other = + (com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions) obj; - if (!getSelectedFieldsList() - .equals(other.getSelectedFieldsList())) return false; - if (!getRowRestriction() - .equals(other.getRowRestriction())) return false; + if (!getSelectedFieldsList().equals(other.getSelectedFieldsList())) return false; + if (!getRowRestriction().equals(other.getRowRestriction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -707,89 +754,95 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -799,63 +852,69 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Options dictating how we read a table.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.TableReadOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.TableReadOptions) com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.ReadOptions.internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.ReadOptions + .internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.ReadOptions.internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.ReadOptions + .internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.class, com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.class, + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder + .class); } - // Construct using com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - selectedFields_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); rowRestriction_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.ReadOptions.internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.ReadOptions + .internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions build() { - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result = buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -864,13 +923,17 @@ public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions bu @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result = new com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result = + new com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { selectedFields_.makeImmutable(); @@ -885,46 +948,54 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.ReadOptions public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions)other); + if (other + instanceof com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions) { + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions + .getDefaultInstance()) return this; if (!other.selectedFields_.isEmpty()) { if (selectedFields_.isEmpty()) { selectedFields_ = other.selectedFields_; @@ -966,23 +1037,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSelectedFieldsIsMutable(); - selectedFields_.add(s); - break; - } // case 10 - case 18: { - rowRestriction_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSelectedFieldsIsMutable(); + selectedFields_.add(s); + break; + } // case 10 + case 18: + { + rowRestriction_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -992,10 +1066,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSelectedFieldsIsMutable() { if (!selectedFields_.isModifiable()) { selectedFields_ = new com.google.protobuf.LazyStringArrayList(selectedFields_); @@ -1003,6 +1079,8 @@ private void ensureSelectedFieldsIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1054,14 +1132,16 @@ private void ensureSelectedFieldsIsMutable() {
        * 
* * repeated string selected_fields = 1; + * * @return A list containing the selectedFields. */ - public com.google.protobuf.ProtocolStringList - getSelectedFieldsList() { + public com.google.protobuf.ProtocolStringList getSelectedFieldsList() { selectedFields_.makeImmutable(); return selectedFields_; } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1113,12 +1193,15 @@ private void ensureSelectedFieldsIsMutable() {
        * 
* * repeated string selected_fields = 1; + * * @return The count of selectedFields. */ public int getSelectedFieldsCount() { return selectedFields_.size(); } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1170,6 +1253,7 @@ public int getSelectedFieldsCount() {
        * 
* * repeated string selected_fields = 1; + * * @param index The index of the element to return. * @return The selectedFields at the given index. */ @@ -1177,6 +1261,8 @@ public java.lang.String getSelectedFields(int index) { return selectedFields_.get(index); } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1228,14 +1314,16 @@ public java.lang.String getSelectedFields(int index) {
        * 
* * repeated string selected_fields = 1; + * * @param index The index of the value to return. * @return The bytes of the selectedFields at the given index. */ - public com.google.protobuf.ByteString - getSelectedFieldsBytes(int index) { + public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) { return selectedFields_.getByteString(index); } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1287,13 +1375,15 @@ public java.lang.String getSelectedFields(int index) {
        * 
* * repeated string selected_fields = 1; + * * @param index The index to set the value at. * @param value The selectedFields to set. * @return This builder for chaining. */ - public Builder setSelectedFields( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelectedFields(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSelectedFieldsIsMutable(); selectedFields_.set(index, value); bitField0_ |= 0x00000001; @@ -1301,6 +1391,8 @@ public Builder setSelectedFields( return this; } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1352,12 +1444,14 @@ public Builder setSelectedFields(
        * 
* * repeated string selected_fields = 1; + * * @param value The selectedFields to add. * @return This builder for chaining. */ - public Builder addSelectedFields( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSelectedFields(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSelectedFieldsIsMutable(); selectedFields_.add(value); bitField0_ |= 0x00000001; @@ -1365,6 +1459,8 @@ public Builder addSelectedFields( return this; } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1416,19 +1512,20 @@ public Builder addSelectedFields(
        * 
* * repeated string selected_fields = 1; + * * @param values The selectedFields to add. * @return This builder for chaining. */ - public Builder addAllSelectedFields( - java.lang.Iterable values) { + public Builder addAllSelectedFields(java.lang.Iterable values) { ensureSelectedFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, selectedFields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, selectedFields_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1480,16 +1577,19 @@ public Builder addAllSelectedFields(
        * 
* * repeated string selected_fields = 1; + * * @return This builder for chaining. */ public Builder clearSelectedFields() { - selectedFields_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1541,12 +1641,14 @@ public Builder clearSelectedFields() {
        * 
* * repeated string selected_fields = 1; + * * @param value The bytes of the selectedFields to add. * @return This builder for chaining. */ - public Builder addSelectedFieldsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSelectedFieldsIsMutable(); selectedFields_.add(value); @@ -1557,6 +1659,8 @@ public Builder addSelectedFieldsBytes( private java.lang.Object rowRestriction_ = ""; /** + * + * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a SQL query. Aggregates are not supported.
@@ -1571,13 +1675,13 @@ public Builder addSelectedFieldsBytes(
        * 
* * string row_restriction = 2; + * * @return The rowRestriction. */ public java.lang.String getRowRestriction() { java.lang.Object ref = rowRestriction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rowRestriction_ = s; return s; @@ -1586,6 +1690,8 @@ public java.lang.String getRowRestriction() { } } /** + * + * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a SQL query. Aggregates are not supported.
@@ -1600,15 +1706,14 @@ public java.lang.String getRowRestriction() {
        * 
* * string row_restriction = 2; + * * @return The bytes for rowRestriction. */ - public com.google.protobuf.ByteString - getRowRestrictionBytes() { + public com.google.protobuf.ByteString getRowRestrictionBytes() { java.lang.Object ref = rowRestriction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rowRestriction_ = b; return b; } else { @@ -1616,6 +1721,8 @@ public java.lang.String getRowRestriction() { } } /** + * + * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a SQL query. Aggregates are not supported.
@@ -1630,18 +1737,22 @@ public java.lang.String getRowRestriction() {
        * 
* * string row_restriction = 2; + * * @param value The rowRestriction to set. * @return This builder for chaining. */ - public Builder setRowRestriction( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRowRestriction(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rowRestriction_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a SQL query. Aggregates are not supported.
@@ -1656,6 +1767,7 @@ public Builder setRowRestriction(
        * 
* * string row_restriction = 2; + * * @return This builder for chaining. */ public Builder clearRowRestriction() { @@ -1665,6 +1777,8 @@ public Builder clearRowRestriction() { return this; } /** + * + * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a SQL query. Aggregates are not supported.
@@ -1679,18 +1793,21 @@ public Builder clearRowRestriction() {
        * 
* * string row_restriction = 2; + * * @param value The bytes for rowRestriction to set. * @return This builder for chaining. */ - public Builder setRowRestrictionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRowRestrictionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rowRestriction_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1703,41 +1820,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.TableReadOptions) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.TableReadOptions) - private static final com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions(); } - public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableReadOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableReadOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1749,45 +1870,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n8google/cloud/bigquery/storage/v1beta1/" + - "read_options.proto\022%google.cloud.bigquer" + - "y.storage.v1beta1\"D\n\020TableReadOptions\022\027\n" + - "\017selected_fields\030\001 \003(\t\022\027\n\017row_restrictio" + - "n\030\002 \001(\tBp\n)com.google.cloud.bigquery.sto" + - "rage.v1beta1ZCcloud.google.com/go/bigque" + - "ry/storage/apiv1beta1/storagepb;storagep" + - "bb\006proto3" + "\n8google/cloud/bigquery/storage/v1beta1/" + + "read_options.proto\022%google.cloud.bigquer" + + "y.storage.v1beta1\"D\n\020TableReadOptions\022\027\n" + + "\017selected_fields\030\001 \003(\t\022\027\n\017row_restrictio" + + "n\030\002 \001(\tBp\n)com.google.cloud.bigquery.sto" + + "rage.v1beta1ZCcloud.google.com/go/bigque" + + "ry/storage/apiv1beta1/storagepb;storagep" + + "bb\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor, - new java.lang.String[] { "SelectedFields", "RowRestriction", }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor, + new java.lang.String[] { + "SelectedFields", "RowRestriction", + }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java rename to proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java index 98a145d2cb..8713b6a98f 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java +++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java @@ -1,3 +1,18 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta1/storage.proto @@ -5,25 +20,25 @@ public final class Storage { private Storage() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } /** + * + * *
    * Data format for input or output data.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1beta1.DataFormat} */ - public enum DataFormat - implements com.google.protobuf.ProtocolMessageEnum { + public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Data format is unspecified.
      * 
@@ -32,6 +47,8 @@ public enum DataFormat */ DATA_FORMAT_UNSPECIFIED(0), /** + * + * *
      * Avro is a standard open source row based file format.
      * See https://avro.apache.org/ for more details.
@@ -41,6 +58,8 @@ public enum DataFormat
      */
     AVRO(1),
     /**
+     *
+     *
      * 
      * Arrow is a standard open source column-based message format.
      * See https://arrow.apache.org/ for more details.
@@ -53,6 +72,8 @@ public enum DataFormat
     ;
 
     /**
+     *
+     *
      * 
      * Data format is unspecified.
      * 
@@ -61,6 +82,8 @@ public enum DataFormat */ public static final int DATA_FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Avro is a standard open source row based file format.
      * See https://avro.apache.org/ for more details.
@@ -70,6 +93,8 @@ public enum DataFormat
      */
     public static final int AVRO_VALUE = 1;
     /**
+     *
+     *
      * 
      * Arrow is a standard open source column-based message format.
      * See https://arrow.apache.org/ for more details.
@@ -79,7 +104,6 @@ public enum DataFormat
      */
     public static final int ARROW_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -104,49 +128,51 @@ public static DataFormat valueOf(int value) {
      */
     public static DataFormat forNumber(int value) {
       switch (value) {
-        case 0: return DATA_FORMAT_UNSPECIFIED;
-        case 1: return AVRO;
-        case 3: return ARROW;
-        default: return null;
+        case 0:
+          return DATA_FORMAT_UNSPECIFIED;
+        case 1:
+          return AVRO;
+        case 3:
+          return ARROW;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        DataFormat> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DataFormat findValueByNumber(int number) {
-              return DataFormat.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public DataFormat findValueByNumber(int number) {
+            return DataFormat.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1beta1.Storage.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1beta1.Storage.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final DataFormat[] VALUES = values();
 
-    public static DataFormat valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DataFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -164,15 +190,18 @@ private DataFormat(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Strategy for distributing data among multiple streams in a read session.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1beta1.ShardingStrategy} */ - public enum ShardingStrategy - implements com.google.protobuf.ProtocolMessageEnum { + public enum ShardingStrategy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Same as LIQUID.
      * 
@@ -181,6 +210,8 @@ public enum ShardingStrategy */ SHARDING_STRATEGY_UNSPECIFIED(0), /** + * + * *
      * Assigns data to each stream based on the client's read rate. The faster the
      * client reads from a stream, the more data is assigned to the stream. In
@@ -192,6 +223,8 @@ public enum ShardingStrategy
      */
     LIQUID(1),
     /**
+     *
+     *
      * 
      * Assigns data to each stream such that roughly the same number of rows can
      * be read from each stream. Because the server-side unit for assigning data
@@ -208,6 +241,8 @@ public enum ShardingStrategy
     ;
 
     /**
+     *
+     *
      * 
      * Same as LIQUID.
      * 
@@ -216,6 +251,8 @@ public enum ShardingStrategy */ public static final int SHARDING_STRATEGY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Assigns data to each stream based on the client's read rate. The faster the
      * client reads from a stream, the more data is assigned to the stream. In
@@ -227,6 +264,8 @@ public enum ShardingStrategy
      */
     public static final int LIQUID_VALUE = 1;
     /**
+     *
+     *
      * 
      * Assigns data to each stream such that roughly the same number of rows can
      * be read from each stream. Because the server-side unit for assigning data
@@ -240,7 +279,6 @@ public enum ShardingStrategy
      */
     public static final int BALANCED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -265,40 +303,45 @@ public static ShardingStrategy valueOf(int value) {
      */
     public static ShardingStrategy forNumber(int value) {
       switch (value) {
-        case 0: return SHARDING_STRATEGY_UNSPECIFIED;
-        case 1: return LIQUID;
-        case 2: return BALANCED;
-        default: return null;
+        case 0:
+          return SHARDING_STRATEGY_UNSPECIFIED;
+        case 1:
+          return LIQUID;
+        case 2:
+          return BALANCED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        ShardingStrategy> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ShardingStrategy findValueByNumber(int number) {
-              return ShardingStrategy.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ShardingStrategy findValueByNumber(int number) {
+                return ShardingStrategy.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1beta1.Storage.getDescriptor().getEnumTypes().get(1);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1beta1.Storage.getDescriptor()
+          .getEnumTypes()
+          .get(1);
     }
 
     private static final ShardingStrategy[] VALUES = values();
@@ -306,8 +349,7 @@ public ShardingStrategy findValueByNumber(int number) {
     public static ShardingStrategy valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -324,82 +366,96 @@ private ShardingStrategy(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.storage.v1beta1.ShardingStrategy)
   }
 
-  public interface StreamOrBuilder extends
+  public interface StreamOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.Stream)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } /** + * + * *
    * Information about a single data stream within a read session.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.Stream} */ - public static final class Stream extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Stream extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.Stream) StreamOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Stream.newBuilder() to construct. private Stream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Stream() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Stream(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Stream_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_Stream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.class, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -408,30 +464,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
      * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -440,6 +496,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -451,8 +508,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -476,15 +532,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.Stream)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream other = (com.google.cloud.bigquery.storage.v1beta1.Storage.Stream) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream other = + (com.google.cloud.bigquery.storage.v1beta1.Storage.Stream) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -504,89 +560,94 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -596,39 +657,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information about a single data stream within a read session.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.Stream} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.Stream) com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Stream_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_Stream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.class, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -638,9 +701,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor; } @java.lang.Override @@ -659,8 +722,11 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream result = new com.google.cloud.bigquery.storage.v1beta1.Storage.Stream(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.Stream(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -676,38 +742,41 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Str public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.Stream) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.Stream)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.Stream) other); } else { super.mergeFrom(other); return this; @@ -715,7 +784,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -747,17 +817,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -767,23 +839,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * Name of the stream, in the form
        * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
        * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -792,21 +867,22 @@ public java.lang.String getName() { } } /** + * + * *
        * Name of the stream, in the form
        * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
        * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -814,30 +890,37 @@ public java.lang.String getName() { } } /** + * + * *
        * Name of the stream, in the form
        * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Name of the stream, in the form
        * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -847,24 +930,29 @@ public Builder clearName() { return this; } /** + * + * *
        * Name of the stream, in the form
        * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
        * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -877,12 +965,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.Stream) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.Stream) private static final com.google.cloud.bigquery.storage.v1beta1.Storage.Stream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.Stream(); } @@ -891,27 +979,28 @@ public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Stream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Stream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -926,32 +1015,40 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface StreamPositionOrBuilder extends + public interface StreamPositionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.StreamPosition) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Identifier for a given Stream.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream stream = 1; + * * @return Whether the stream field is set. */ boolean hasStream(); /** + * + * *
      * Identifier for a given Stream.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream stream = 1; + * * @return The stream. */ com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream(); /** + * + * *
      * Identifier for a given Stream.
      * 
@@ -961,62 +1058,71 @@ public interface StreamPositionOrBuilder extends com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamOrBuilder(); /** + * + * *
      * Position in the stream.
      * 
* * int64 offset = 2; + * * @return The offset. */ long getOffset(); } /** + * + * *
    * Expresses a point within a given stream using an offset position.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.StreamPosition} */ - public static final class StreamPosition extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class StreamPosition extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.StreamPosition) StreamPositionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StreamPosition.newBuilder() to construct. private StreamPosition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StreamPosition() { - } + + private StreamPosition() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StreamPosition(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.class, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder.class); } public static final int STREAM_FIELD_NUMBER = 1; private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream stream_; /** + * + * *
      * Identifier for a given Stream.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream stream = 1; + * * @return Whether the stream field is set. */ @java.lang.Override @@ -1024,18 +1130,25 @@ public boolean hasStream() { return stream_ != null; } /** + * + * *
      * Identifier for a given Stream.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream stream = 1; + * * @return The stream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() { - return stream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; + return stream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : stream_; } /** + * + * *
      * Identifier for a given Stream.
      * 
@@ -1044,17 +1157,22 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() { */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamOrBuilder() { - return stream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; + return stream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : stream_; } public static final int OFFSET_FIELD_NUMBER = 2; private long offset_ = 0L; /** + * + * *
      * Position in the stream.
      * 
* * int64 offset = 2; + * * @return The offset. */ @java.lang.Override @@ -1063,6 +1181,7 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1074,8 +1193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (stream_ != null) { output.writeMessage(1, getStream()); } @@ -1092,12 +1210,10 @@ public int getSerializedSize() { size = 0; if (stream_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStream()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStream()); } if (offset_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, offset_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, offset_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1107,20 +1223,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition other = (com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition other = + (com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition) obj; if (hasStream() != other.hasStream()) return false; if (hasStream()) { - if (!getStream() - .equals(other.getStream())) return false; + if (!getStream().equals(other.getStream())) return false; } - if (getOffset() - != other.getOffset()) return false; + if (getOffset() != other.getOffset()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1137,97 +1252,102 @@ public int hashCode() { hash = (53 * hash) + getStream().hashCode(); } hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1237,39 +1357,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Expresses a point within a given stream using an offset position.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.StreamPosition} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.StreamPosition) com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.class, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1284,14 +1407,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition + .getDefaultInstance(); } @java.lang.Override @@ -1305,18 +1430,20 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition build() @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition result = new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.stream_ = streamBuilder_ == null - ? stream_ - : streamBuilder_.build(); + result.stream_ = streamBuilder_ == null ? stream_ : streamBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.offset_ = offset_; @@ -1327,46 +1454,53 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Str public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition)other); + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition + .getDefaultInstance()) return this; if (other.hasStream()) { mergeStream(other.getStream()); } @@ -1399,24 +1533,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStreamFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - offset_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getStreamFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + offset_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1426,38 +1561,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream stream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> streamBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + streamBuilder_; /** + * + * *
        * Identifier for a given Stream.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Stream stream = 1; + * * @return Whether the stream field is set. */ public boolean hasStream() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Identifier for a given Stream.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Stream stream = 1; + * * @return The stream. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() { if (streamBuilder_ == null) { - return stream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; + return stream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : stream_; } else { return streamBuilder_.getMessage(); } } /** + * + * *
        * Identifier for a given Stream.
        * 
@@ -1478,6 +1627,8 @@ public Builder setStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Strea return this; } /** + * + * *
        * Identifier for a given Stream.
        * 
@@ -1496,6 +1647,8 @@ public Builder setStream( return this; } /** + * + * *
        * Identifier for a given Stream.
        * 
@@ -1504,9 +1657,11 @@ public Builder setStream( */ public Builder mergeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) { if (streamBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - stream_ != null && - stream_ != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && stream_ != null + && stream_ + != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream + .getDefaultInstance()) { getStreamBuilder().mergeFrom(value); } else { stream_ = value; @@ -1519,6 +1674,8 @@ public Builder mergeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Str return this; } /** + * + * *
        * Identifier for a given Stream.
        * 
@@ -1536,6 +1693,8 @@ public Builder clearStream() { return this; } /** + * + * *
        * Identifier for a given Stream.
        * 
@@ -1548,21 +1707,27 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea return getStreamFieldBuilder().getBuilder(); } /** + * + * *
        * Identifier for a given Stream.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Stream stream = 1; */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder + getStreamOrBuilder() { if (streamBuilder_ != null) { return streamBuilder_.getMessageOrBuilder(); } else { - return stream_ == null ? - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; + return stream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : stream_; } } /** + * + * *
        * Identifier for a given Stream.
        * 
@@ -1570,26 +1735,32 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre * .google.cloud.bigquery.storage.v1beta1.Stream stream = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> getStreamFieldBuilder() { if (streamBuilder_ == null) { - streamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( - getStream(), - getParentForChildren(), - isClean()); + streamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( + getStream(), getParentForChildren(), isClean()); stream_ = null; } return streamBuilder_; } - private long offset_ ; + private long offset_; /** + * + * *
        * Position in the stream.
        * 
* * int64 offset = 2; + * * @return The offset. */ @java.lang.Override @@ -1597,11 +1768,14 @@ public long getOffset() { return offset_; } /** + * + * *
        * Position in the stream.
        * 
* * int64 offset = 2; + * * @param value The offset to set. * @return This builder for chaining. */ @@ -1613,11 +1787,14 @@ public Builder setOffset(long value) { return this; } /** + * + * *
        * Position in the stream.
        * 
* * int64 offset = 2; + * * @return This builder for chaining. */ public Builder clearOffset() { @@ -1626,6 +1803,7 @@ public Builder clearOffset() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1638,41 +1816,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.StreamPosition) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.StreamPosition) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamPosition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamPosition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1684,59 +1865,73 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ReadSessionOrBuilder extends + public interface ReadSessionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.ReadSession) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors.
      * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
      * Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors.
      * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
      * Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors.
@@ -1747,69 +1942,90 @@ public interface ReadSessionOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder();
 
     /**
+     *
+     *
      * 
      * Avro schema.
      * 
* * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; + * * @return Whether the avroSchema field is set. */ boolean hasAvroSchema(); /** + * + * *
      * Avro schema.
      * 
* * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; + * * @return The avroSchema. */ com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getAvroSchema(); /** + * + * *
      * Avro schema.
      * 
* * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; */ - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder(); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder + getAvroSchemaOrBuilder(); /** + * + * *
      * Arrow schema.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; + * * @return Whether the arrowSchema field is set. */ boolean hasArrowSchema(); /** + * + * *
      * Arrow schema.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; + * * @return The arrowSchema. */ com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrowSchema(); /** + * + * *
      * Arrow schema.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; */ - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder(); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder + getArrowSchemaOrBuilder(); /** + * + * *
      * Streams associated with this session.
      * 
* * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4; */ - java.util.List - getStreamsList(); + java.util.List getStreamsList(); /** + * + * *
      * Streams associated with this session.
      * 
@@ -1818,6 +2034,8 @@ public interface ReadSessionOrBuilder extends */ com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int index); /** + * + * *
      * Streams associated with this session.
      * 
@@ -1826,15 +2044,19 @@ public interface ReadSessionOrBuilder extends */ int getStreamsCount(); /** + * + * *
      * Streams associated with this session.
      * 
* * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4; */ - java.util.List + java.util.List getStreamsOrBuilderList(); /** + * + * *
      * Streams associated with this session.
      * 
@@ -1845,74 +2067,100 @@ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBu int index); /** + * + * *
      * Table that this ReadSession is reading from.
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; + * * @return Whether the tableReference field is set. */ boolean hasTableReference(); /** + * + * *
      * Table that this ReadSession is reading from.
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; + * * @return The tableReference. */ - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference getTableReference(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + getTableReference(); /** + * + * *
      * Table that this ReadSession is reading from.
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; */ - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder + getTableReferenceOrBuilder(); /** + * + * *
      * Any modifiers which are applied when reading from the specified table.
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; + * * @return Whether the tableModifiers field is set. */ boolean hasTableModifiers(); /** + * + * *
      * Any modifiers which are applied when reading from the specified table.
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; + * * @return The tableModifiers. */ - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers getTableModifiers(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + getTableModifiers(); /** + * + * *
      * Any modifiers which are applied when reading from the specified table.
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; */ - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder + getTableModifiersOrBuilder(); /** + * + * *
      * The strategy to use for distributing data among the streams.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9; + * * @return The enum numeric value on the wire for shardingStrategy. */ int getShardingStrategyValue(); /** + * + * *
      * The strategy to use for distributing data among the streams.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9; + * * @return The shardingStrategy. */ com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy(); @@ -1920,21 +2168,24 @@ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBu com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.SchemaCase getSchemaCase(); } /** + * + * *
    * Information returned from a `CreateReadSession` request.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ReadSession} */ - public static final class ReadSession extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ReadSession extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.ReadSession) ReadSessionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadSession.newBuilder() to construct. private ReadSession(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReadSession() { name_ = ""; streams_ = java.util.Collections.emptyList(); @@ -1943,34 +2194,39 @@ private ReadSession() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadSession(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.class, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder.class); } private int schemaCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object schema_; + public enum SchemaCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO_SCHEMA(5), ARROW_SCHEMA(6), SCHEMA_NOT_SET(0); private final int value; + private SchemaCase(int value) { this.value = value; } @@ -1986,33 +2242,40 @@ public static SchemaCase valueOf(int value) { public static SchemaCase forNumber(int value) { switch (value) { - case 5: return AVRO_SCHEMA; - case 6: return ARROW_SCHEMA; - case 0: return SCHEMA_NOT_SET; - default: return null; + case 5: + return AVRO_SCHEMA; + case 6: + return ARROW_SCHEMA; + case 0: + return SCHEMA_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SchemaCase - getSchemaCase() { - return SchemaCase.forNumber( - schemaCase_); + public SchemaCase getSchemaCase() { + return SchemaCase.forNumber(schemaCase_); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -2021,30 +2284,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2055,12 +2318,15 @@ public java.lang.String getName() { public static final int EXPIRE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp expireTime_; /** + * + * *
      * Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors.
      * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -2068,12 +2334,15 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
      * Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors.
      * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return The expireTime. */ @java.lang.Override @@ -2081,6 +2350,8 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
      * Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors.
@@ -2095,11 +2366,14 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
 
     public static final int AVRO_SCHEMA_FIELD_NUMBER = 5;
     /**
+     *
+     *
      * 
      * Avro schema.
      * 
* * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; + * * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -2107,21 +2381,26 @@ public boolean hasAvroSchema() { return schemaCase_ == 5; } /** + * + * *
      * Avro schema.
      * 
* * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; + * * @return The avroSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getAvroSchema() { if (schemaCase_ == 5) { - return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); } /** + * + * *
      * Avro schema.
      * 
@@ -2129,20 +2408,24 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getAvroSch * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder + getAvroSchemaOrBuilder() { if (schemaCase_ == 5) { - return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); } public static final int ARROW_SCHEMA_FIELD_NUMBER = 6; /** + * + * *
      * Arrow schema.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; + * * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -2150,21 +2433,26 @@ public boolean hasArrowSchema() { return schemaCase_ == 6; } /** + * + * *
      * Arrow schema.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; + * * @return The arrowSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrowSchema() { if (schemaCase_ == 6) { - return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); } /** + * + * *
      * Arrow schema.
      * 
@@ -2172,17 +2460,21 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrow * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder + getArrowSchemaOrBuilder() { if (schemaCase_ == 6) { - return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); } public static final int STREAMS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List streams_; /** + * + * *
      * Streams associated with this session.
      * 
@@ -2190,10 +2482,13 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4; */ @java.lang.Override - public java.util.List getStreamsList() { + public java.util.List + getStreamsList() { return streams_; } /** + * + * *
      * Streams associated with this session.
      * 
@@ -2201,11 +2496,14 @@ public java.util.List * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> getStreamsOrBuilderList() { return streams_; } /** + * + * *
      * Streams associated with this session.
      * 
@@ -2217,6 +2515,8 @@ public int getStreamsCount() { return streams_.size(); } /** + * + * *
      * Streams associated with this session.
      * 
@@ -2228,6 +2528,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i return streams_.get(index); } /** + * + * *
      * Streams associated with this session.
      * 
@@ -2241,13 +2543,17 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre } public static final int TABLE_REFERENCE_FIELD_NUMBER = 7; - private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference tableReference_; + private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + tableReference_; /** + * + * *
      * Table that this ReadSession is reading from.
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; + * * @return Whether the tableReference field is set. */ @java.lang.Override @@ -2255,18 +2561,27 @@ public boolean hasTableReference() { return tableReference_ != null; } /** + * + * *
      * Table that this ReadSession is reading from.
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; + * * @return The tableReference. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference getTableReference() { - return tableReference_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + getTableReference() { + return tableReference_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .getDefaultInstance() + : tableReference_; } /** + * + * *
      * Table that this ReadSession is reading from.
      * 
@@ -2274,18 +2589,26 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableRefere * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder() { - return tableReference_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder + getTableReferenceOrBuilder() { + return tableReference_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .getDefaultInstance() + : tableReference_; } public static final int TABLE_MODIFIERS_FIELD_NUMBER = 8; - private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers tableModifiers_; + private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + tableModifiers_; /** + * + * *
      * Any modifiers which are applied when reading from the specified table.
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; + * * @return Whether the tableModifiers field is set. */ @java.lang.Override @@ -2293,18 +2616,27 @@ public boolean hasTableModifiers() { return tableModifiers_ != null; } /** + * + * *
      * Any modifiers which are applied when reading from the specified table.
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; + * * @return The tableModifiers. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers getTableModifiers() { - return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance() : tableModifiers_; + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + getTableModifiers() { + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .getDefaultInstance() + : tableModifiers_; } /** + * + * *
      * Any modifiers which are applied when reading from the specified table.
      * 
@@ -2312,37 +2644,55 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifi * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder() { - return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance() : tableModifiers_; + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder + getTableModifiersOrBuilder() { + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .getDefaultInstance() + : tableModifiers_; } public static final int SHARDING_STRATEGY_FIELD_NUMBER = 9; private int shardingStrategy_ = 0; /** + * + * *
      * The strategy to use for distributing data among the streams.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9; + * * @return The enum numeric value on the wire for shardingStrategy. */ - @java.lang.Override public int getShardingStrategyValue() { + @java.lang.Override + public int getShardingStrategyValue() { return shardingStrategy_; } /** + * + * *
      * The strategy to use for distributing data among the streams.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9; + * * @return The shardingStrategy. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy() { - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber(shardingStrategy_); - return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy + getShardingStrategy() { + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber( + shardingStrategy_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2354,8 +2704,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2366,10 +2715,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(4, streams_.get(i)); } if (schemaCase_ == 5) { - output.writeMessage(5, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); + output.writeMessage( + 5, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); } if (schemaCase_ == 6) { - output.writeMessage(6, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); + output.writeMessage( + 6, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); } if (tableReference_ != null) { output.writeMessage(7, getTableReference()); @@ -2377,7 +2728,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (tableModifiers_ != null) { output.writeMessage(8, getTableModifiers()); } - if (shardingStrategy_ != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.SHARDING_STRATEGY_UNSPECIFIED.getNumber()) { + if (shardingStrategy_ + != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy + .SHARDING_STRATEGY_UNSPECIFIED + .getNumber()) { output.writeEnum(9, shardingStrategy_); } getUnknownFields().writeTo(output); @@ -2393,32 +2747,32 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpireTime()); } for (int i = 0; i < streams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, streams_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, streams_.get(i)); } if (schemaCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); } if (schemaCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); } if (tableReference_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getTableReference()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTableReference()); } if (tableModifiers_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getTableModifiers()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTableModifiers()); } - if (shardingStrategy_ != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.SHARDING_STRATEGY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, shardingStrategy_); + if (shardingStrategy_ + != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy + .SHARDING_STRATEGY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, shardingStrategy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2428,42 +2782,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession other = (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession other = + (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime() - .equals(other.getExpireTime())) return false; + if (!getExpireTime().equals(other.getExpireTime())) return false; } - if (!getStreamsList() - .equals(other.getStreamsList())) return false; + if (!getStreamsList().equals(other.getStreamsList())) return false; if (hasTableReference() != other.hasTableReference()) return false; if (hasTableReference()) { - if (!getTableReference() - .equals(other.getTableReference())) return false; + if (!getTableReference().equals(other.getTableReference())) return false; } if (hasTableModifiers() != other.hasTableModifiers()) return false; if (hasTableModifiers()) { - if (!getTableModifiers() - .equals(other.getTableModifiers())) return false; + if (!getTableModifiers().equals(other.getTableModifiers())) return false; } if (shardingStrategy_ != other.shardingStrategy_) return false; if (!getSchemaCase().equals(other.getSchemaCase())) return false; switch (schemaCase_) { case 5: - if (!getAvroSchema() - .equals(other.getAvroSchema())) return false; + if (!getAvroSchema().equals(other.getAvroSchema())) return false; break; case 6: - if (!getArrowSchema() - .equals(other.getArrowSchema())) return false; + if (!getArrowSchema().equals(other.getArrowSchema())) return false; break; case 0: default: @@ -2517,89 +2865,94 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2609,39 +2962,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information returned from a `CreateReadSession` request.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ReadSession} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.ReadSession) com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.class, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2682,13 +3037,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance(); } @@ -2703,15 +3059,19 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result = new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession(this); + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result) { if (streamsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -2723,40 +3083,37 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta } } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null - ? expireTime_ - : expireTimeBuilder_.build(); + result.expireTime_ = + expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.tableReference_ = tableReferenceBuilder_ == null - ? tableReference_ - : tableReferenceBuilder_.build(); + result.tableReference_ = + tableReferenceBuilder_ == null ? tableReference_ : tableReferenceBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.tableModifiers_ = tableModifiersBuilder_ == null - ? tableModifiers_ - : tableModifiersBuilder_.build(); + result.tableModifiers_ = + tableModifiersBuilder_ == null ? tableModifiers_ : tableModifiersBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { result.shardingStrategy_ = shardingStrategy_; } } - private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result) { + private void buildPartialOneofs( + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result) { result.schemaCase_ = schemaCase_; result.schema_ = this.schema_; - if (schemaCase_ == 5 && - avroSchemaBuilder_ != null) { + if (schemaCase_ == 5 && avroSchemaBuilder_ != null) { result.schema_ = avroSchemaBuilder_.build(); } - if (schemaCase_ == 6 && - arrowSchemaBuilder_ != null) { + if (schemaCase_ == 6 && arrowSchemaBuilder_ != null) { result.schema_ = arrowSchemaBuilder_.build(); } } @@ -2765,46 +3122,52 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta1.Storag public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -2831,9 +3194,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadS streamsBuilder_ = null; streams_ = other.streams_; bitField0_ = (bitField0_ & ~0x00000010); - streamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStreamsFieldBuilder() : null; + streamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStreamsFieldBuilder() + : null; } else { streamsBuilder_.addAllMessages(other.streams_); } @@ -2849,17 +3213,20 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadS setShardingStrategyValue(other.getShardingStrategyValue()); } switch (other.getSchemaCase()) { - case AVRO_SCHEMA: { - mergeAvroSchema(other.getAvroSchema()); - break; - } - case ARROW_SCHEMA: { - mergeArrowSchema(other.getArrowSchema()); - break; - } - case SCHEMA_NOT_SET: { - break; - } + case AVRO_SCHEMA: + { + mergeAvroSchema(other.getAvroSchema()); + break; + } + case ARROW_SCHEMA: + { + mergeArrowSchema(other.getArrowSchema()); + break; + } + case SCHEMA_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2887,70 +3254,71 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream m = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), - extensionRegistry); - if (streamsBuilder_ == null) { - ensureStreamsIsMutable(); - streams_.add(m); - } else { - streamsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - input.readMessage( - getAvroSchemaFieldBuilder().getBuilder(), - extensionRegistry); - schemaCase_ = 5; - break; - } // case 42 - case 50: { - input.readMessage( - getArrowSchemaFieldBuilder().getBuilder(), - extensionRegistry); - schemaCase_ = 6; - break; - } // case 50 - case 58: { - input.readMessage( - getTableReferenceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 58 - case 66: { - input.readMessage( - getTableModifiersFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 72: { - shardingStrategy_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 72 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: + { + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream m = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), + extensionRegistry); + if (streamsBuilder_ == null) { + ensureStreamsIsMutable(); + streams_.add(m); + } else { + streamsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: + { + input.readMessage(getAvroSchemaFieldBuilder().getBuilder(), extensionRegistry); + schemaCase_ = 5; + break; + } // case 42 + case 50: + { + input.readMessage(getArrowSchemaFieldBuilder().getBuilder(), extensionRegistry); + schemaCase_ = 6; + break; + } // case 50 + case 58: + { + input.readMessage( + getTableReferenceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: + { + input.readMessage( + getTableModifiersFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 72: + { + shardingStrategy_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 72 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2960,12 +3328,12 @@ public Builder mergeFrom( } // finally return this; } + private int schemaCase_ = 0; private java.lang.Object schema_; - public SchemaCase - getSchemaCase() { - return SchemaCase.forNumber( - schemaCase_); + + public SchemaCase getSchemaCase() { + return SchemaCase.forNumber(schemaCase_); } public Builder clearSchema() { @@ -2979,19 +3347,21 @@ public Builder clearSchema() { private java.lang.Object name_ = ""; /** + * + * *
        * Unique identifier for the session, in the form
        * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
        * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3000,21 +3370,22 @@ public java.lang.String getName() { } } /** + * + * *
        * Unique identifier for the session, in the form
        * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
        * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -3022,30 +3393,37 @@ public java.lang.String getName() { } } /** + * + * *
        * Unique identifier for the session, in the form
        * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Unique identifier for the session, in the form
        * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -3055,18 +3433,22 @@ public Builder clearName() { return this; } /** + * + * *
        * Unique identifier for the session, in the form
        * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
        * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3076,36 +3458,49 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expireTimeBuilder_; /** + * + * *
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
        * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
        * 
* * .google.protobuf.Timestamp expire_time = 2; + * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** + * + * *
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
@@ -3127,6 +3522,8 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
@@ -3134,8 +3531,7 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp expire_time = 2;
        */
-      public Builder setExpireTime(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (expireTimeBuilder_ == null) {
           expireTime_ = builderForValue.build();
         } else {
@@ -3146,6 +3542,8 @@ public Builder setExpireTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
@@ -3155,9 +3553,9 @@ public Builder setExpireTime(
        */
       public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
         if (expireTimeBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0) &&
-            expireTime_ != null &&
-            expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0)
+              && expireTime_ != null
+              && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getExpireTimeBuilder().mergeFrom(value);
           } else {
             expireTime_ = value;
@@ -3170,6 +3568,8 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
@@ -3188,6 +3588,8 @@ public Builder clearExpireTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
@@ -3201,6 +3603,8 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
         return getExpireTimeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
@@ -3212,11 +3616,14 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
         if (expireTimeBuilder_ != null) {
           return expireTimeBuilder_.getMessageOrBuilder();
         } else {
-          return expireTime_ == null ?
-              com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_;
+          return expireTime_ == null
+              ? com.google.protobuf.Timestamp.getDefaultInstance()
+              : expireTime_;
         }
       }
       /**
+       *
+       *
        * 
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
@@ -3225,27 +3632,36 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
        * .google.protobuf.Timestamp expire_time = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
           getExpireTimeFieldBuilder() {
         if (expireTimeBuilder_ == null) {
-          expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                  getExpireTime(),
-                  getParentForChildren(),
-                  isClean());
+          expireTimeBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
+                  getExpireTime(), getParentForChildren(), isClean());
           expireTime_ = null;
         }
         return expireTimeBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder> avroSchemaBuilder_;
+              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema,
+              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder,
+              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder>
+          avroSchemaBuilder_;
       /**
+       *
+       *
        * 
        * Avro schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; + * * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -3253,11 +3669,14 @@ public boolean hasAvroSchema() { return schemaCase_ == 5; } /** + * + * *
        * Avro schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; + * * @return The avroSchema. */ @java.lang.Override @@ -3266,22 +3685,27 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getAvroSch if (schemaCase_ == 5) { return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; } - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema + .getDefaultInstance(); } else { if (schemaCase_ == 5) { return avroSchemaBuilder_.getMessage(); } - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema + .getDefaultInstance(); } } /** + * + * *
        * Avro schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; */ - public Builder setAvroSchema(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema value) { + public Builder setAvroSchema( + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema value) { if (avroSchemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3295,6 +3719,8 @@ public Builder setAvroSchema(com.google.cloud.bigquery.storage.v1beta1.AvroProto return this; } /** + * + * *
        * Avro schema.
        * 
@@ -3313,18 +3739,26 @@ public Builder setAvroSchema( return this; } /** + * + * *
        * Avro schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; */ - public Builder mergeAvroSchema(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema value) { + public Builder mergeAvroSchema( + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema value) { if (avroSchemaBuilder_ == null) { - if (schemaCase_ == 5 && - schema_ != com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance()) { - schema_ = com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.newBuilder((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 5 + && schema_ + != com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema + .getDefaultInstance()) { + schema_ = + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.newBuilder( + (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -3340,6 +3774,8 @@ public Builder mergeAvroSchema(com.google.cloud.bigquery.storage.v1beta1.AvroPro return this; } /** + * + * *
        * Avro schema.
        * 
@@ -3363,16 +3799,21 @@ public Builder clearAvroSchema() { return this; } /** + * + * *
        * Avro schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; */ - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder getAvroSchemaBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder + getAvroSchemaBuilder() { return getAvroSchemaFieldBuilder().getBuilder(); } /** + * + * *
        * Avro schema.
        * 
@@ -3380,17 +3821,21 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder ge * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder + getAvroSchemaOrBuilder() { if ((schemaCase_ == 5) && (avroSchemaBuilder_ != null)) { return avroSchemaBuilder_.getMessageOrBuilder(); } else { if (schemaCase_ == 5) { return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; } - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema + .getDefaultInstance(); } } /** + * + * *
        * Avro schema.
        * 
@@ -3398,14 +3843,20 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder g * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder> getAvroSchemaFieldBuilder() { if (avroSchemaBuilder_ == null) { if (!(schemaCase_ == 5)) { - schema_ = com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); + schema_ = + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); } - avroSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder>( + avroSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder>( (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_, getParentForChildren(), isClean()); @@ -3417,13 +3868,19 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder g } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder> arrowSchemaBuilder_; + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder> + arrowSchemaBuilder_; /** + * + * *
        * Arrow schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; + * * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -3431,11 +3888,14 @@ public boolean hasArrowSchema() { return schemaCase_ == 6; } /** + * + * *
        * Arrow schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; + * * @return The arrowSchema. */ @java.lang.Override @@ -3444,22 +3904,27 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrow if (schemaCase_ == 6) { return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; } - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + .getDefaultInstance(); } else { if (schemaCase_ == 6) { return arrowSchemaBuilder_.getMessage(); } - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + .getDefaultInstance(); } } /** + * + * *
        * Arrow schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; */ - public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema value) { + public Builder setArrowSchema( + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema value) { if (arrowSchemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3473,6 +3938,8 @@ public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1beta1.ArrowPro return this; } /** + * + * *
        * Arrow schema.
        * 
@@ -3480,7 +3947,8 @@ public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1beta1.ArrowPro * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; */ public Builder setArrowSchema( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder + builderForValue) { if (arrowSchemaBuilder_ == null) { schema_ = builderForValue.build(); onChanged(); @@ -3491,18 +3959,26 @@ public Builder setArrowSchema( return this; } /** + * + * *
        * Arrow schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; */ - public Builder mergeArrowSchema(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema value) { + public Builder mergeArrowSchema( + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema value) { if (arrowSchemaBuilder_ == null) { - if (schemaCase_ == 6 && - schema_ != com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance()) { - schema_ = com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.newBuilder((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 6 + && schema_ + != com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + .getDefaultInstance()) { + schema_ = + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.newBuilder( + (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -3518,6 +3994,8 @@ public Builder mergeArrowSchema(com.google.cloud.bigquery.storage.v1beta1.ArrowP return this; } /** + * + * *
        * Arrow schema.
        * 
@@ -3541,16 +4019,21 @@ public Builder clearArrowSchema() { return this; } /** + * + * *
        * Arrow schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; */ - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder getArrowSchemaBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder + getArrowSchemaBuilder() { return getArrowSchemaFieldBuilder().getBuilder(); } /** + * + * *
        * Arrow schema.
        * 
@@ -3558,17 +4041,21 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder + getArrowSchemaOrBuilder() { if ((schemaCase_ == 6) && (arrowSchemaBuilder_ != null)) { return arrowSchemaBuilder_.getMessageOrBuilder(); } else { if (schemaCase_ == 6) { return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; } - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + .getDefaultInstance(); } } /** + * + * *
        * Arrow schema.
        * 
@@ -3576,14 +4063,21 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder> getArrowSchemaFieldBuilder() { if (arrowSchemaBuilder_ == null) { if (!(schemaCase_ == 6)) { - schema_ = com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); + schema_ = + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + .getDefaultInstance(); } - arrowSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder>( + arrowSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder>( (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_, getParentForChildren(), isClean()); @@ -3595,25 +4089,34 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder } private java.util.List streams_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureStreamsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - streams_ = new java.util.ArrayList(streams_); + streams_ = + new java.util.ArrayList( + streams_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> streamsBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + streamsBuilder_; /** + * + * *
        * Streams associated with this session.
        * 
* * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4; */ - public java.util.List getStreamsList() { + public java.util.List + getStreamsList() { if (streamsBuilder_ == null) { return java.util.Collections.unmodifiableList(streams_); } else { @@ -3621,6 +4124,8 @@ public java.util.List } } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3635,6 +4140,8 @@ public int getStreamsCount() { } } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3649,6 +4156,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i } } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3670,6 +4179,8 @@ public Builder setStreams( return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3677,7 +4188,8 @@ public Builder setStreams( * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4; */ public Builder setStreams( - int index, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder builderForValue) { + int index, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder builderForValue) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); streams_.set(index, builderForValue.build()); @@ -3688,6 +4200,8 @@ public Builder setStreams( return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3708,6 +4222,8 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.Stre return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3729,6 +4245,8 @@ public Builder addStreams( return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3747,6 +4265,8 @@ public Builder addStreams( return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3754,7 +4274,8 @@ public Builder addStreams( * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4; */ public Builder addStreams( - int index, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder builderForValue) { + int index, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder builderForValue) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); streams_.add(index, builderForValue.build()); @@ -3765,6 +4286,8 @@ public Builder addStreams( return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3772,11 +4295,11 @@ public Builder addStreams( * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4; */ public Builder addAllStreams( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, streams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, streams_); onChanged(); } else { streamsBuilder_.addAllMessages(values); @@ -3784,6 +4307,8 @@ public Builder addAllStreams( return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3801,6 +4326,8 @@ public Builder clearStreams() { return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3818,6 +4345,8 @@ public Builder removeStreams(int index) { return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3829,6 +4358,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea return getStreamsFieldBuilder().getBuilder(index); } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3838,19 +4369,23 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBuilder( int index) { if (streamsBuilder_ == null) { - return streams_.get(index); } else { + return streams_.get(index); + } else { return streamsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Streams associated with this session.
        * 
* * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4; */ - public java.util.List - getStreamsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + getStreamsOrBuilderList() { if (streamsBuilder_ != null) { return streamsBuilder_.getMessageOrBuilderList(); } else { @@ -3858,6 +4393,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre } } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3865,10 +4402,13 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4; */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder addStreamsBuilder() { - return getStreamsFieldBuilder().addBuilder( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()); + return getStreamsFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()); } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3877,72 +4417,96 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder addStrea */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder addStreamsBuilder( int index) { - return getStreamsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()); + return getStreamsFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()); } /** + * + * *
        * Streams associated with this session.
        * 
* * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4; */ - public java.util.List - getStreamsBuilderList() { + public java.util.List + getStreamsBuilderList() { return getStreamsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> getStreamsFieldBuilder() { if (streamsBuilder_ == null) { - streamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( - streams_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); + streamsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( + streams_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); streams_ = null; } return streamsBuilder_; } - private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference tableReference_; + private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + tableReference_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder> tableReferenceBuilder_; + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder> + tableReferenceBuilder_; /** + * + * *
        * Table that this ReadSession is reading from.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; + * * @return Whether the tableReference field is set. */ public boolean hasTableReference() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
        * Table that this ReadSession is reading from.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; + * * @return The tableReference. */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference getTableReference() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + getTableReference() { if (tableReferenceBuilder_ == null) { - return tableReference_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; + return tableReference_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .getDefaultInstance() + : tableReference_; } else { return tableReferenceBuilder_.getMessage(); } } /** + * + * *
        * Table that this ReadSession is reading from.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; */ - public Builder setTableReference(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference value) { + public Builder setTableReference( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference value) { if (tableReferenceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3956,6 +4520,8 @@ public Builder setTableReference(com.google.cloud.bigquery.storage.v1beta1.Table return this; } /** + * + * *
        * Table that this ReadSession is reading from.
        * 
@@ -3963,7 +4529,8 @@ public Builder setTableReference(com.google.cloud.bigquery.storage.v1beta1.Table * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; */ public Builder setTableReference( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder + builderForValue) { if (tableReferenceBuilder_ == null) { tableReference_ = builderForValue.build(); } else { @@ -3974,17 +4541,22 @@ public Builder setTableReference( return this; } /** + * + * *
        * Table that this ReadSession is reading from.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; */ - public Builder mergeTableReference(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference value) { + public Builder mergeTableReference( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference value) { if (tableReferenceBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - tableReference_ != null && - tableReference_ != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && tableReference_ != null + && tableReference_ + != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .getDefaultInstance()) { getTableReferenceBuilder().mergeFrom(value); } else { tableReference_ = value; @@ -3997,6 +4569,8 @@ public Builder mergeTableReference(com.google.cloud.bigquery.storage.v1beta1.Tab return this; } /** + * + * *
        * Table that this ReadSession is reading from.
        * 
@@ -4014,33 +4588,43 @@ public Builder clearTableReference() { return this; } /** + * + * *
        * Table that this ReadSession is reading from.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder getTableReferenceBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder + getTableReferenceBuilder() { bitField0_ |= 0x00000020; onChanged(); return getTableReferenceFieldBuilder().getBuilder(); } /** + * + * *
        * Table that this ReadSession is reading from.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder + getTableReferenceOrBuilder() { if (tableReferenceBuilder_ != null) { return tableReferenceBuilder_.getMessageOrBuilder(); } else { - return tableReference_ == null ? - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; + return tableReference_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .getDefaultInstance() + : tableReference_; } } /** + * + * *
        * Table that this ReadSession is reading from.
        * 
@@ -4048,56 +4632,78 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableRefere * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder> getTableReferenceFieldBuilder() { if (tableReferenceBuilder_ == null) { - tableReferenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder>( - getTableReference(), - getParentForChildren(), - isClean()); + tableReferenceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .Builder, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .TableReferenceOrBuilder>( + getTableReference(), getParentForChildren(), isClean()); tableReference_ = null; } return tableReferenceBuilder_; } - private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers tableModifiers_; + private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + tableModifiers_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder> tableModifiersBuilder_; + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder> + tableModifiersBuilder_; /** + * + * *
        * Any modifiers which are applied when reading from the specified table.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; + * * @return Whether the tableModifiers field is set. */ public boolean hasTableModifiers() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
        * Any modifiers which are applied when reading from the specified table.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; + * * @return The tableModifiers. */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers getTableModifiers() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + getTableModifiers() { if (tableModifiersBuilder_ == null) { - return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance() : tableModifiers_; + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .getDefaultInstance() + : tableModifiers_; } else { return tableModifiersBuilder_.getMessage(); } } /** + * + * *
        * Any modifiers which are applied when reading from the specified table.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; */ - public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers value) { + public Builder setTableModifiers( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers value) { if (tableModifiersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4111,6 +4717,8 @@ public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1beta1.Table return this; } /** + * + * *
        * Any modifiers which are applied when reading from the specified table.
        * 
@@ -4118,7 +4726,8 @@ public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1beta1.Table * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; */ public Builder setTableModifiers( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder + builderForValue) { if (tableModifiersBuilder_ == null) { tableModifiers_ = builderForValue.build(); } else { @@ -4129,17 +4738,22 @@ public Builder setTableModifiers( return this; } /** + * + * *
        * Any modifiers which are applied when reading from the specified table.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; */ - public Builder mergeTableModifiers(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers value) { + public Builder mergeTableModifiers( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers value) { if (tableModifiersBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - tableModifiers_ != null && - tableModifiers_ != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && tableModifiers_ != null + && tableModifiers_ + != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .getDefaultInstance()) { getTableModifiersBuilder().mergeFrom(value); } else { tableModifiers_ = value; @@ -4152,6 +4766,8 @@ public Builder mergeTableModifiers(com.google.cloud.bigquery.storage.v1beta1.Tab return this; } /** + * + * *
        * Any modifiers which are applied when reading from the specified table.
        * 
@@ -4169,33 +4785,43 @@ public Builder clearTableModifiers() { return this; } /** + * + * *
        * Any modifiers which are applied when reading from the specified table.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder getTableModifiersBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder + getTableModifiersBuilder() { bitField0_ |= 0x00000040; onChanged(); return getTableModifiersFieldBuilder().getBuilder(); } /** + * + * *
        * Any modifiers which are applied when reading from the specified table.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder + getTableModifiersOrBuilder() { if (tableModifiersBuilder_ != null) { return tableModifiersBuilder_.getMessageOrBuilder(); } else { - return tableModifiers_ == null ? - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance() : tableModifiers_; + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .getDefaultInstance() + : tableModifiers_; } } /** + * + * *
        * Any modifiers which are applied when reading from the specified table.
        * 
@@ -4203,14 +4829,19 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifi * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder> getTableModifiersFieldBuilder() { if (tableModifiersBuilder_ == null) { - tableModifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder>( - getTableModifiers(), - getParentForChildren(), - isClean()); + tableModifiersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .Builder, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .TableModifiersOrBuilder>( + getTableModifiers(), getParentForChildren(), isClean()); tableModifiers_ = null; } return tableModifiersBuilder_; @@ -4218,22 +4849,29 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifi private int shardingStrategy_ = 0; /** + * + * *
        * The strategy to use for distributing data among the streams.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9; + * * @return The enum numeric value on the wire for shardingStrategy. */ - @java.lang.Override public int getShardingStrategyValue() { + @java.lang.Override + public int getShardingStrategyValue() { return shardingStrategy_; } /** + * + * *
        * The strategy to use for distributing data among the streams.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9; + * * @param value The enum numeric value on the wire for shardingStrategy to set. * @return This builder for chaining. */ @@ -4244,28 +4882,40 @@ public Builder setShardingStrategyValue(int value) { return this; } /** + * + * *
        * The strategy to use for distributing data among the streams.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9; + * * @return The shardingStrategy. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy() { - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber(shardingStrategy_); - return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED : result; + public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy + getShardingStrategy() { + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber( + shardingStrategy_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED + : result; } /** + * + * *
        * The strategy to use for distributing data among the streams.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9; + * * @param value The shardingStrategy to set. * @return This builder for chaining. */ - public Builder setShardingStrategy(com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy value) { + public Builder setShardingStrategy( + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy value) { if (value == null) { throw new NullPointerException(); } @@ -4275,11 +4925,14 @@ public Builder setShardingStrategy(com.google.cloud.bigquery.storage.v1beta1.Sto return this; } /** + * + * *
        * The strategy to use for distributing data among the streams.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9; + * * @return This builder for chaining. */ public Builder clearShardingStrategy() { @@ -4288,6 +4941,7 @@ public Builder clearShardingStrategy() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4300,41 +4954,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.ReadSession) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.ReadSession) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadSession parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadSession parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4346,95 +5003,133 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CreateReadSessionRequestOrBuilder extends + public interface CreateReadSessionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.CreateReadSessionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Reference to the table to read.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tableReference field is set. */ boolean hasTableReference(); /** + * + * *
      * Required. Reference to the table to read.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tableReference. */ - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference getTableReference(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + getTableReference(); /** + * + * *
      * Required. Reference to the table to read.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder + getTableReferenceOrBuilder(); /** + * + * *
      * Required. String of the form `projects/{project_id}` indicating the
      * project this ReadSession is associated with. This is the project that will
      * be billed for usage.
      * 
* - * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * Required. String of the form `projects/{project_id}` indicating the
      * project this ReadSession is associated with. This is the project that will
      * be billed for usage.
      * 
* - * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * Any modifiers to the Table (e.g. snapshot timestamp).
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; + * * @return Whether the tableModifiers field is set. */ boolean hasTableModifiers(); /** + * + * *
      * Any modifiers to the Table (e.g. snapshot timestamp).
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; + * * @return The tableModifiers. */ - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers getTableModifiers(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + getTableModifiers(); /** + * + * *
      * Any modifiers to the Table (e.g. snapshot timestamp).
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; */ - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder + getTableModifiersOrBuilder(); /** + * + * *
      * Initial number of streams. If unset or 0, we will
      * provide a value of streams so as to produce reasonable throughput. Must be
@@ -4446,80 +5141,104 @@ public interface CreateReadSessionRequestOrBuilder extends
      * 
* * int32 requested_streams = 3; + * * @return The requestedStreams. */ int getRequestedStreams(); /** + * + * *
      * Read options for this session (e.g. column selection, filters).
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; + * * @return Whether the readOptions field is set. */ boolean hasReadOptions(); /** + * + * *
      * Read options for this session (e.g. column selection, filters).
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; + * * @return The readOptions. */ com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions getReadOptions(); /** + * + * *
      * Read options for this session (e.g. column selection, filters).
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; */ - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder getReadOptionsOrBuilder(); + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder + getReadOptionsOrBuilder(); /** + * + * *
      * Data output format. Currently default to Avro.
      * DATA_FORMAT_UNSPECIFIED not supported.
      * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; + * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** + * + * *
      * Data output format. Currently default to Avro.
      * DATA_FORMAT_UNSPECIFIED not supported.
      * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; + * * @return The format. */ com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat(); /** + * + * *
      * The strategy to use for distributing data among multiple streams. Currently
      * defaults to liquid sharding.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; + * * @return The enum numeric value on the wire for shardingStrategy. */ int getShardingStrategyValue(); /** + * + * *
      * The strategy to use for distributing data among multiple streams. Currently
      * defaults to liquid sharding.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; + * * @return The shardingStrategy. */ com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy(); } /** + * + * *
    * Creates a new read session, which may include additional options such as
    * requested parallelism, projection filters and constraints.
@@ -4527,15 +5246,16 @@ public interface CreateReadSessionRequestOrBuilder extends
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.CreateReadSessionRequest}
    */
-  public static final class CreateReadSessionRequest extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class CreateReadSessionRequest extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.CreateReadSessionRequest)
       CreateReadSessionRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use CreateReadSessionRequest.newBuilder() to construct.
     private CreateReadSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private CreateReadSessionRequest() {
       parent_ = "";
       format_ = 0;
@@ -4544,32 +5264,40 @@ private CreateReadSessionRequest() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new CreateReadSessionRequest();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1beta1.Storage
+          .internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1beta1.Storage
+          .internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.class, com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.Builder.class);
+              com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.class,
+              com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.Builder
+                  .class);
     }
 
     public static final int TABLE_REFERENCE_FIELD_NUMBER = 1;
-    private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference tableReference_;
+    private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference
+        tableReference_;
     /**
+     *
+     *
      * 
      * Required. Reference to the table to read.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tableReference field is set. */ @java.lang.Override @@ -4577,40 +5305,63 @@ public boolean hasTableReference() { return tableReference_ != null; } /** + * + * *
      * Required. Reference to the table to read.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tableReference. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference getTableReference() { - return tableReference_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + getTableReference() { + return tableReference_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .getDefaultInstance() + : tableReference_; } /** + * + * *
      * Required. Reference to the table to read.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder() { - return tableReference_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder + getTableReferenceOrBuilder() { + return tableReference_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .getDefaultInstance() + : tableReference_; } public static final int PARENT_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
      * Required. String of the form `projects/{project_id}` indicating the
      * project this ReadSession is associated with. This is the project that will
      * be billed for usage.
      * 
* - * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -4619,31 +5370,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * Required. String of the form `projects/{project_id}` indicating the
      * project this ReadSession is associated with. This is the project that will
      * be billed for usage.
      * 
* - * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -4652,13 +5405,17 @@ public java.lang.String getParent() { } public static final int TABLE_MODIFIERS_FIELD_NUMBER = 2; - private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers tableModifiers_; + private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + tableModifiers_; /** + * + * *
      * Any modifiers to the Table (e.g. snapshot timestamp).
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; + * * @return Whether the tableModifiers field is set. */ @java.lang.Override @@ -4666,18 +5423,27 @@ public boolean hasTableModifiers() { return tableModifiers_ != null; } /** + * + * *
      * Any modifiers to the Table (e.g. snapshot timestamp).
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; + * * @return The tableModifiers. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers getTableModifiers() { - return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance() : tableModifiers_; + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + getTableModifiers() { + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .getDefaultInstance() + : tableModifiers_; } /** + * + * *
      * Any modifiers to the Table (e.g. snapshot timestamp).
      * 
@@ -4685,13 +5451,19 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifi * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder() { - return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance() : tableModifiers_; + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder + getTableModifiersOrBuilder() { + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .getDefaultInstance() + : tableModifiers_; } public static final int REQUESTED_STREAMS_FIELD_NUMBER = 3; private int requestedStreams_ = 0; /** + * + * *
      * Initial number of streams. If unset or 0, we will
      * provide a value of streams so as to produce reasonable throughput. Must be
@@ -4703,6 +5475,7 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifi
      * 
* * int32 requested_streams = 3; + * * @return The requestedStreams. */ @java.lang.Override @@ -4713,11 +5486,14 @@ public int getRequestedStreams() { public static final int READ_OPTIONS_FIELD_NUMBER = 4; private com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions readOptions_; /** + * + * *
      * Read options for this session (e.g. column selection, filters).
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; + * * @return Whether the readOptions field is set. */ @java.lang.Override @@ -4725,18 +5501,26 @@ public boolean hasReadOptions() { return readOptions_ != null; } /** + * + * *
      * Read options for this session (e.g. column selection, filters).
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; + * * @return The readOptions. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions getReadOptions() { - return readOptions_ == null ? com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions + .getDefaultInstance() + : readOptions_; } /** + * + * *
      * Read options for this session (e.g. column selection, filters).
      * 
@@ -4744,67 +5528,96 @@ public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions ge * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { - return readOptions_ == null ? com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.getDefaultInstance() : readOptions_; + public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder + getReadOptionsOrBuilder() { + return readOptions_ == null + ? com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions + .getDefaultInstance() + : readOptions_; } public static final int FORMAT_FIELD_NUMBER = 5; private int format_ = 0; /** + * + * *
      * Data output format. Currently default to Avro.
      * DATA_FORMAT_UNSPECIFIED not supported.
      * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
      * Data output format. Currently default to Avro.
      * DATA_FORMAT_UNSPECIFIED not supported.
      * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; + * * @return The format. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat() { - com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat result = com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.forNumber(format_); - return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat() { + com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat result = + com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.forNumber(format_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.UNRECOGNIZED + : result; } public static final int SHARDING_STRATEGY_FIELD_NUMBER = 7; private int shardingStrategy_ = 0; /** + * + * *
      * The strategy to use for distributing data among multiple streams. Currently
      * defaults to liquid sharding.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; + * * @return The enum numeric value on the wire for shardingStrategy. */ - @java.lang.Override public int getShardingStrategyValue() { + @java.lang.Override + public int getShardingStrategyValue() { return shardingStrategy_; } /** - *
+     *
+     *
+     * 
      * The strategy to use for distributing data among multiple streams. Currently
      * defaults to liquid sharding.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; + * * @return The shardingStrategy. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy() { - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber(shardingStrategy_); - return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy + getShardingStrategy() { + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber( + shardingStrategy_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4816,8 +5629,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (tableReference_ != null) { output.writeMessage(1, getTableReference()); } @@ -4830,13 +5642,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (readOptions_ != null) { output.writeMessage(4, getReadOptions()); } - if (format_ != com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.DATA_FORMAT_UNSPECIFIED.getNumber()) { + if (format_ + != com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.DATA_FORMAT_UNSPECIFIED + .getNumber()) { output.writeEnum(5, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, parent_); } - if (shardingStrategy_ != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.SHARDING_STRATEGY_UNSPECIFIED.getNumber()) { + if (shardingStrategy_ + != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy + .SHARDING_STRATEGY_UNSPECIFIED + .getNumber()) { output.writeEnum(7, shardingStrategy_); } getUnknownFields().writeTo(output); @@ -4849,31 +5666,30 @@ public int getSerializedSize() { size = 0; if (tableReference_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTableReference()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTableReference()); } if (tableModifiers_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTableModifiers()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTableModifiers()); } if (requestedStreams_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, requestedStreams_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, requestedStreams_); } if (readOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getReadOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadOptions()); } - if (format_ != com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.DATA_FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, format_); + if (format_ + != com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.DATA_FORMAT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, parent_); } - if (shardingStrategy_ != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.SHARDING_STRATEGY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, shardingStrategy_); + if (shardingStrategy_ + != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy + .SHARDING_STRATEGY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, shardingStrategy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4883,31 +5699,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest)) { + if (!(obj + instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest other = (com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest other = + (com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest) obj; if (hasTableReference() != other.hasTableReference()) return false; if (hasTableReference()) { - if (!getTableReference() - .equals(other.getTableReference())) return false; + if (!getTableReference().equals(other.getTableReference())) return false; } - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTableModifiers() != other.hasTableModifiers()) return false; if (hasTableModifiers()) { - if (!getTableModifiers() - .equals(other.getTableModifiers())) return false; + if (!getTableModifiers().equals(other.getTableModifiers())) return false; } - if (getRequestedStreams() - != other.getRequestedStreams()) return false; + if (getRequestedStreams() != other.getRequestedStreams()) return false; if (hasReadOptions() != other.hasReadOptions()) return false; if (hasReadOptions()) { - if (!getReadOptions() - .equals(other.getReadOptions())) return false; + if (!getReadOptions().equals(other.getReadOptions())) return false; } if (format_ != other.format_) return false; if (shardingStrategy_ != other.shardingStrategy_) return false; @@ -4947,90 +5760,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5040,6 +5864,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Creates a new read session, which may include additional options such as
      * requested parallelism, projection filters and constraints.
@@ -5047,33 +5873,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.CreateReadSessionRequest}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.CreateReadSessionRequest)
         com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequestOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.bigquery.storage.v1beta1.Storage
+            .internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_fieldAccessorTable
+        return com.google.cloud.bigquery.storage.v1beta1.Storage
+            .internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.class, com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.Builder.class);
+                com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.class,
+                com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5101,19 +5929,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.bigquery.storage.v1beta1.Storage
+            .internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest getDefaultInstanceForType() {
-        return com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.getDefaultInstance();
+      public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest
+          getDefaultInstanceForType() {
+        return com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest build() {
-        com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest result = buildPartial();
+        com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -5121,35 +5952,37 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionReques
       }
 
       @java.lang.Override
-      public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest buildPartial() {
-        com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest result = new com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+      public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest
+          buildPartial() {
+        com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest result =
+            new com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest result) {
+      private void buildPartial0(
+          com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.tableReference_ = tableReferenceBuilder_ == null
-              ? tableReference_
-              : tableReferenceBuilder_.build();
+          result.tableReference_ =
+              tableReferenceBuilder_ == null ? tableReference_ : tableReferenceBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
           result.parent_ = parent_;
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.tableModifiers_ = tableModifiersBuilder_ == null
-              ? tableModifiers_
-              : tableModifiersBuilder_.build();
+          result.tableModifiers_ =
+              tableModifiersBuilder_ == null ? tableModifiers_ : tableModifiersBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
           result.requestedStreams_ = requestedStreams_;
         }
         if (((from_bitField0_ & 0x00000010) != 0)) {
-          result.readOptions_ = readOptionsBuilder_ == null
-              ? readOptions_
-              : readOptionsBuilder_.build();
+          result.readOptions_ =
+              readOptionsBuilder_ == null ? readOptions_ : readOptionsBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000020) != 0)) {
           result.format_ = format_;
@@ -5163,46 +5996,54 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Cre
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest) {
-          return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest)other);
+        if (other
+            instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest) {
+          return mergeFrom(
+              (com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest other) {
-        if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest other) {
+        if (other
+            == com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest
+                .getDefaultInstance()) return this;
         if (other.hasTableReference()) {
           mergeTableReference(other.getTableReference());
         }
@@ -5252,53 +6093,57 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                input.readMessage(
-                    getTableReferenceFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                input.readMessage(
-                    getTableModifiersFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-              case 24: {
-                requestedStreams_ = input.readInt32();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 24
-              case 34: {
-                input.readMessage(
-                    getReadOptionsFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 34
-              case 40: {
-                format_ = input.readEnum();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 40
-              case 50: {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 50
-              case 56: {
-                shardingStrategy_ = input.readEnum();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 56
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  input.readMessage(
+                      getTableReferenceFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  input.readMessage(
+                      getTableModifiersFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 18
+              case 24:
+                {
+                  requestedStreams_ = input.readInt32();
+                  bitField0_ |= 0x00000008;
+                  break;
+                } // case 24
+              case 34:
+                {
+                  input.readMessage(getReadOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000010;
+                  break;
+                } // case 34
+              case 40:
+                {
+                  format_ = input.readEnum();
+                  bitField0_ |= 0x00000020;
+                  break;
+                } // case 40
+              case 50:
+                {
+                  parent_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 50
+              case 56:
+                {
+                  shardingStrategy_ = input.readEnum();
+                  bitField0_ |= 0x00000040;
+                  break;
+                } // case 56
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5308,45 +6153,69 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference tableReference_;
+      private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference
+          tableReference_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder> tableReferenceBuilder_;
+              com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference,
+              com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder,
+              com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder>
+          tableReferenceBuilder_;
       /**
+       *
+       *
        * 
        * Required. Reference to the table to read.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tableReference field is set. */ public boolean hasTableReference() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Required. Reference to the table to read.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tableReference. */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference getTableReference() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + getTableReference() { if (tableReferenceBuilder_ == null) { - return tableReference_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; + return tableReference_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .getDefaultInstance() + : tableReference_; } else { return tableReferenceBuilder_.getMessage(); } } /** + * + * *
        * Required. Reference to the table to read.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTableReference(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference value) { + public Builder setTableReference( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference value) { if (tableReferenceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5360,14 +6229,19 @@ public Builder setTableReference(com.google.cloud.bigquery.storage.v1beta1.Table return this; } /** + * + * *
        * Required. Reference to the table to read.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTableReference( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder + builderForValue) { if (tableReferenceBuilder_ == null) { tableReference_ = builderForValue.build(); } else { @@ -5378,17 +6252,24 @@ public Builder setTableReference( return this; } /** + * + * *
        * Required. Reference to the table to read.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeTableReference(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference value) { + public Builder mergeTableReference( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference value) { if (tableReferenceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - tableReference_ != null && - tableReference_ != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && tableReference_ != null + && tableReference_ + != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .getDefaultInstance()) { getTableReferenceBuilder().mergeFrom(value); } else { tableReference_ = value; @@ -5401,11 +6282,15 @@ public Builder mergeTableReference(com.google.cloud.bigquery.storage.v1beta1.Tab return this; } /** + * + * *
        * Required. Reference to the table to read.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTableReference() { bitField0_ = (bitField0_ & ~0x00000001); @@ -5418,48 +6303,69 @@ public Builder clearTableReference() { return this; } /** + * + * *
        * Required. Reference to the table to read.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder getTableReferenceBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder + getTableReferenceBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTableReferenceFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Reference to the table to read.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder + getTableReferenceOrBuilder() { if (tableReferenceBuilder_ != null) { return tableReferenceBuilder_.getMessageOrBuilder(); } else { - return tableReference_ == null ? - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; + return tableReference_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .getDefaultInstance() + : tableReference_; } } /** + * + * *
        * Required. Reference to the table to read.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder> getTableReferenceFieldBuilder() { if (tableReferenceBuilder_ == null) { - tableReferenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder>( - getTableReference(), - getParentForChildren(), - isClean()); + tableReferenceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .Builder, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .TableReferenceOrBuilder>( + getTableReference(), getParentForChildren(), isClean()); tableReference_ = null; } return tableReferenceBuilder_; @@ -5467,20 +6373,24 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableRefere private java.lang.Object parent_ = ""; /** + * + * *
        * Required. String of the form `projects/{project_id}` indicating the
        * project this ReadSession is associated with. This is the project that will
        * be billed for usage.
        * 
* - * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -5489,22 +6399,25 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. String of the form `projects/{project_id}` indicating the
        * project this ReadSession is associated with. This is the project that will
        * be billed for usage.
        * 
* - * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -5512,32 +6425,43 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. String of the form `projects/{project_id}` indicating the
        * project this ReadSession is associated with. This is the project that will
        * be billed for usage.
        * 
* - * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Required. String of the form `projects/{project_id}` indicating the
        * project this ReadSession is associated with. This is the project that will
        * be billed for usage.
        * 
* - * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -5547,19 +6471,25 @@ public Builder clearParent() { return this; } /** + * + * *
        * Required. String of the form `projects/{project_id}` indicating the
        * project this ReadSession is associated with. This is the project that will
        * be billed for usage.
        * 
* - * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000002; @@ -5567,43 +6497,60 @@ public Builder setParentBytes( return this; } - private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers tableModifiers_; + private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + tableModifiers_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder> tableModifiersBuilder_; + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder> + tableModifiersBuilder_; /** + * + * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; + * * @return Whether the tableModifiers field is set. */ public boolean hasTableModifiers() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; + * * @return The tableModifiers. */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers getTableModifiers() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + getTableModifiers() { if (tableModifiersBuilder_ == null) { - return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance() : tableModifiers_; + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .getDefaultInstance() + : tableModifiers_; } else { return tableModifiersBuilder_.getMessage(); } } /** + * + * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; */ - public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers value) { + public Builder setTableModifiers( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers value) { if (tableModifiersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5617,6 +6564,8 @@ public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1beta1.Table return this; } /** + * + * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
@@ -5624,7 +6573,8 @@ public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1beta1.Table * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; */ public Builder setTableModifiers( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder + builderForValue) { if (tableModifiersBuilder_ == null) { tableModifiers_ = builderForValue.build(); } else { @@ -5635,17 +6585,22 @@ public Builder setTableModifiers( return this; } /** + * + * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; */ - public Builder mergeTableModifiers(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers value) { + public Builder mergeTableModifiers( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers value) { if (tableModifiersBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - tableModifiers_ != null && - tableModifiers_ != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && tableModifiers_ != null + && tableModifiers_ + != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .getDefaultInstance()) { getTableModifiersBuilder().mergeFrom(value); } else { tableModifiers_ = value; @@ -5658,6 +6613,8 @@ public Builder mergeTableModifiers(com.google.cloud.bigquery.storage.v1beta1.Tab return this; } /** + * + * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
@@ -5675,33 +6632,43 @@ public Builder clearTableModifiers() { return this; } /** + * + * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder getTableModifiersBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder + getTableModifiersBuilder() { bitField0_ |= 0x00000004; onChanged(); return getTableModifiersFieldBuilder().getBuilder(); } /** + * + * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder + getTableModifiersOrBuilder() { if (tableModifiersBuilder_ != null) { return tableModifiersBuilder_.getMessageOrBuilder(); } else { - return tableModifiers_ == null ? - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance() : tableModifiers_; + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .getDefaultInstance() + : tableModifiers_; } } /** + * + * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
@@ -5709,21 +6676,28 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifi * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder> getTableModifiersFieldBuilder() { if (tableModifiersBuilder_ == null) { - tableModifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder>( - getTableModifiers(), - getParentForChildren(), - isClean()); + tableModifiersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .Builder, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .TableModifiersOrBuilder>( + getTableModifiers(), getParentForChildren(), isClean()); tableModifiers_ = null; } return tableModifiersBuilder_; } - private int requestedStreams_ ; + private int requestedStreams_; /** + * + * *
        * Initial number of streams. If unset or 0, we will
        * provide a value of streams so as to produce reasonable throughput. Must be
@@ -5735,6 +6709,7 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifi
        * 
* * int32 requested_streams = 3; + * * @return The requestedStreams. */ @java.lang.Override @@ -5742,6 +6717,8 @@ public int getRequestedStreams() { return requestedStreams_; } /** + * + * *
        * Initial number of streams. If unset or 0, we will
        * provide a value of streams so as to produce reasonable throughput. Must be
@@ -5753,6 +6730,7 @@ public int getRequestedStreams() {
        * 
* * int32 requested_streams = 3; + * * @param value The requestedStreams to set. * @return This builder for chaining. */ @@ -5764,6 +6742,8 @@ public Builder setRequestedStreams(int value) { return this; } /** + * + * *
        * Initial number of streams. If unset or 0, we will
        * provide a value of streams so as to produce reasonable throughput. Must be
@@ -5775,6 +6755,7 @@ public Builder setRequestedStreams(int value) {
        * 
* * int32 requested_streams = 3; + * * @return This builder for chaining. */ public Builder clearRequestedStreams() { @@ -5786,41 +6767,57 @@ public Builder clearRequestedStreams() { private com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions readOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions, com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder, com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder> readOptionsBuilder_; + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions, + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder, + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder> + readOptionsBuilder_; /** + * + * *
        * Read options for this session (e.g. column selection, filters).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; + * * @return Whether the readOptions field is set. */ public boolean hasReadOptions() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
        * Read options for this session (e.g. column selection, filters).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; + * * @return The readOptions. */ - public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions getReadOptions() { + public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions + getReadOptions() { if (readOptionsBuilder_ == null) { - return readOptions_ == null ? com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions + .getDefaultInstance() + : readOptions_; } else { return readOptionsBuilder_.getMessage(); } } /** + * + * *
        * Read options for this session (e.g. column selection, filters).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; */ - public Builder setReadOptions(com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions value) { + public Builder setReadOptions( + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions value) { if (readOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5834,6 +6831,8 @@ public Builder setReadOptions(com.google.cloud.bigquery.storage.v1beta1.ReadOpti return this; } /** + * + * *
        * Read options for this session (e.g. column selection, filters).
        * 
@@ -5841,7 +6840,8 @@ public Builder setReadOptions(com.google.cloud.bigquery.storage.v1beta1.ReadOpti * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; */ public Builder setReadOptions( - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder + builderForValue) { if (readOptionsBuilder_ == null) { readOptions_ = builderForValue.build(); } else { @@ -5852,17 +6852,22 @@ public Builder setReadOptions( return this; } /** + * + * *
        * Read options for this session (e.g. column selection, filters).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; */ - public Builder mergeReadOptions(com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions value) { + public Builder mergeReadOptions( + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions value) { if (readOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - readOptions_ != null && - readOptions_ != com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && readOptions_ != null + && readOptions_ + != com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions + .getDefaultInstance()) { getReadOptionsBuilder().mergeFrom(value); } else { readOptions_ = value; @@ -5875,6 +6880,8 @@ public Builder mergeReadOptions(com.google.cloud.bigquery.storage.v1beta1.ReadOp return this; } /** + * + * *
        * Read options for this session (e.g. column selection, filters).
        * 
@@ -5892,33 +6899,43 @@ public Builder clearReadOptions() { return this; } /** + * + * *
        * Read options for this session (e.g. column selection, filters).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; */ - public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder getReadOptionsBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder + getReadOptionsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getReadOptionsFieldBuilder().getBuilder(); } /** + * + * *
        * Read options for this session (e.g. column selection, filters).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; */ - public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder + getReadOptionsOrBuilder() { if (readOptionsBuilder_ != null) { return readOptionsBuilder_.getMessageOrBuilder(); } else { - return readOptions_ == null ? - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions + .getDefaultInstance() + : readOptions_; } } /** + * + * *
        * Read options for this session (e.g. column selection, filters).
        * 
@@ -5926,14 +6943,17 @@ public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrB * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions, com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder, com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions, + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder, + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder> getReadOptionsFieldBuilder() { if (readOptionsBuilder_ == null) { - readOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions, com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder, com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder>( - getReadOptions(), - getParentForChildren(), - isClean()); + readOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions, + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder, + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder>( + getReadOptions(), getParentForChildren(), isClean()); readOptions_ = null; } return readOptionsBuilder_; @@ -5941,24 +6961,31 @@ public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrB private int format_ = 0; /** + * + * *
        * Data output format. Currently default to Avro.
        * DATA_FORMAT_UNSPECIFIED not supported.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
        * Data output format. Currently default to Avro.
        * DATA_FORMAT_UNSPECIFIED not supported.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; + * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ @@ -5969,26 +6996,35 @@ public Builder setFormatValue(int value) { return this; } /** + * + * *
        * Data output format. Currently default to Avro.
        * DATA_FORMAT_UNSPECIFIED not supported.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; + * * @return The format. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat() { - com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat result = com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.forNumber(format_); - return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat result = + com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.forNumber(format_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.UNRECOGNIZED + : result; } /** + * + * *
        * Data output format. Currently default to Avro.
        * DATA_FORMAT_UNSPECIFIED not supported.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; + * * @param value The format to set. * @return This builder for chaining. */ @@ -6002,12 +7038,15 @@ public Builder setFormat(com.google.cloud.bigquery.storage.v1beta1.Storage.DataF return this; } /** + * + * *
        * Data output format. Currently default to Avro.
        * DATA_FORMAT_UNSPECIFIED not supported.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; + * * @return This builder for chaining. */ public Builder clearFormat() { @@ -6019,24 +7058,31 @@ public Builder clearFormat() { private int shardingStrategy_ = 0; /** + * + * *
        * The strategy to use for distributing data among multiple streams. Currently
        * defaults to liquid sharding.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; + * * @return The enum numeric value on the wire for shardingStrategy. */ - @java.lang.Override public int getShardingStrategyValue() { + @java.lang.Override + public int getShardingStrategyValue() { return shardingStrategy_; } /** + * + * *
        * The strategy to use for distributing data among multiple streams. Currently
        * defaults to liquid sharding.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; + * * @param value The enum numeric value on the wire for shardingStrategy to set. * @return This builder for chaining. */ @@ -6047,30 +7093,42 @@ public Builder setShardingStrategyValue(int value) { return this; } /** + * + * *
        * The strategy to use for distributing data among multiple streams. Currently
        * defaults to liquid sharding.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; + * * @return The shardingStrategy. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy() { - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber(shardingStrategy_); - return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED : result; + public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy + getShardingStrategy() { + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber( + shardingStrategy_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED + : result; } /** + * + * *
        * The strategy to use for distributing data among multiple streams. Currently
        * defaults to liquid sharding.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; + * * @param value The shardingStrategy to set. * @return This builder for chaining. */ - public Builder setShardingStrategy(com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy value) { + public Builder setShardingStrategy( + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy value) { if (value == null) { throw new NullPointerException(); } @@ -6080,12 +7138,15 @@ public Builder setShardingStrategy(com.google.cloud.bigquery.storage.v1beta1.Sto return this; } /** + * + * *
        * The strategy to use for distributing data among multiple streams. Currently
        * defaults to liquid sharding.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; + * * @return This builder for chaining. */ public Builder clearShardingStrategy() { @@ -6094,6 +7155,7 @@ public Builder clearShardingStrategy() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6106,41 +7168,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.CreateReadSessionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.CreateReadSessionRequest) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateReadSessionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateReadSessionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6152,98 +7218,122 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ReadRowsRequestOrBuilder extends + public interface ReadRowsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.ReadRowsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Identifier of the position in the stream to start reading from.
      * The offset requested must be less than the last row read from ReadRows.
      * Requesting a larger offset is undefined.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the readPosition field is set. */ boolean hasReadPosition(); /** + * + * *
      * Required. Identifier of the position in the stream to start reading from.
      * The offset requested must be less than the last row read from ReadRows.
      * Requesting a larger offset is undefined.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The readPosition. */ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition getReadPosition(); /** + * + * *
      * Required. Identifier of the position in the stream to start reading from.
      * The offset requested must be less than the last row read from ReadRows.
      * Requesting a larger offset is undefined.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder getReadPositionOrBuilder(); + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder + getReadPositionOrBuilder(); } /** + * + * *
    * Requesting row data via `ReadRows` must provide Stream position information.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ReadRowsRequest} */ - public static final class ReadRowsRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ReadRowsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.ReadRowsRequest) ReadRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadRowsRequest.newBuilder() to construct. private ReadRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadRowsRequest() { - } + + private ReadRowsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.class, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.Builder.class); } public static final int READ_POSITION_FIELD_NUMBER = 1; private com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition readPosition_; /** + * + * *
      * Required. Identifier of the position in the stream to start reading from.
      * The offset requested must be less than the last row read from ReadRows.
      * Requesting a larger offset is undefined.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the readPosition field is set. */ @java.lang.Override @@ -6251,34 +7341,49 @@ public boolean hasReadPosition() { return readPosition_ != null; } /** + * + * *
      * Required. Identifier of the position in the stream to start reading from.
      * The offset requested must be less than the last row read from ReadRows.
      * Requesting a larger offset is undefined.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The readPosition. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition getReadPosition() { - return readPosition_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance() : readPosition_; + return readPosition_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance() + : readPosition_; } /** + * + * *
      * Required. Identifier of the position in the stream to start reading from.
      * The offset requested must be less than the last row read from ReadRows.
      * Requesting a larger offset is undefined.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder getReadPositionOrBuilder() { - return readPosition_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance() : readPosition_; + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder + getReadPositionOrBuilder() { + return readPosition_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance() + : readPosition_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6290,8 +7395,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (readPosition_ != null) { output.writeMessage(1, getReadPosition()); } @@ -6305,8 +7409,7 @@ public int getSerializedSize() { size = 0; if (readPosition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getReadPosition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadPosition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6316,17 +7419,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest other = (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest other = + (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest) obj; if (hasReadPosition() != other.hasReadPosition()) return false; if (hasReadPosition()) { - if (!getReadPosition() - .equals(other.getReadPosition())) return false; + if (!getReadPosition().equals(other.getReadPosition())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6349,89 +7452,95 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6441,39 +7550,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Requesting row data via `ReadRows` must provide Stream position information.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ReadRowsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.ReadRowsRequest) com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.class, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -6487,14 +7599,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest + .getDefaultInstance(); } @java.lang.Override @@ -6508,18 +7622,21 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest build() @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest result = new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.readPosition_ = readPositionBuilder_ == null - ? readPosition_ - : readPositionBuilder_.build(); + result.readPosition_ = + readPositionBuilder_ == null ? readPosition_ : readPositionBuilder_.build(); } } @@ -6527,46 +7644,53 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Rea public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest + .getDefaultInstance()) return this; if (other.hasReadPosition()) { mergeReadPosition(other.getReadPosition()); } @@ -6596,19 +7720,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getReadPositionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getReadPositionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6618,51 +7742,73 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition readPosition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder> readPositionBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder> + readPositionBuilder_; /** + * + * *
        * Required. Identifier of the position in the stream to start reading from.
        * The offset requested must be less than the last row read from ReadRows.
        * Requesting a larger offset is undefined.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the readPosition field is set. */ public boolean hasReadPosition() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Required. Identifier of the position in the stream to start reading from.
        * The offset requested must be less than the last row read from ReadRows.
        * Requesting a larger offset is undefined.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The readPosition. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition getReadPosition() { if (readPositionBuilder_ == null) { - return readPosition_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance() : readPosition_; + return readPosition_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition + .getDefaultInstance() + : readPosition_; } else { return readPositionBuilder_.getMessage(); } } /** + * + * *
        * Required. Identifier of the position in the stream to start reading from.
        * The offset requested must be less than the last row read from ReadRows.
        * Requesting a larger offset is undefined.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setReadPosition(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition value) { + public Builder setReadPosition( + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition value) { if (readPositionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6676,16 +7822,21 @@ public Builder setReadPosition(com.google.cloud.bigquery.storage.v1beta1.Storage return this; } /** + * + * *
        * Required. Identifier of the position in the stream to start reading from.
        * The offset requested must be less than the last row read from ReadRows.
        * Requesting a larger offset is undefined.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setReadPosition( - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder + builderForValue) { if (readPositionBuilder_ == null) { readPosition_ = builderForValue.build(); } else { @@ -6696,19 +7847,26 @@ public Builder setReadPosition( return this; } /** + * + * *
        * Required. Identifier of the position in the stream to start reading from.
        * The offset requested must be less than the last row read from ReadRows.
        * Requesting a larger offset is undefined.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeReadPosition(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition value) { + public Builder mergeReadPosition( + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition value) { if (readPositionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - readPosition_ != null && - readPosition_ != com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && readPosition_ != null + && readPosition_ + != com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition + .getDefaultInstance()) { getReadPositionBuilder().mergeFrom(value); } else { readPosition_ = value; @@ -6721,13 +7879,17 @@ public Builder mergeReadPosition(com.google.cloud.bigquery.storage.v1beta1.Stora return this; } /** + * + * *
        * Required. Identifier of the position in the stream to start reading from.
        * The offset requested must be less than the last row read from ReadRows.
        * Requesting a larger offset is undefined.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearReadPosition() { bitField0_ = (bitField0_ & ~0x00000001); @@ -6740,58 +7902,78 @@ public Builder clearReadPosition() { return this; } /** + * + * *
        * Required. Identifier of the position in the stream to start reading from.
        * The offset requested must be less than the last row read from ReadRows.
        * Requesting a larger offset is undefined.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder getReadPositionBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder + getReadPositionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getReadPositionFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Identifier of the position in the stream to start reading from.
        * The offset requested must be less than the last row read from ReadRows.
        * Requesting a larger offset is undefined.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder getReadPositionOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder + getReadPositionOrBuilder() { if (readPositionBuilder_ != null) { return readPositionBuilder_.getMessageOrBuilder(); } else { - return readPosition_ == null ? - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance() : readPosition_; + return readPosition_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition + .getDefaultInstance() + : readPosition_; } } /** + * + * *
        * Required. Identifier of the position in the stream to start reading from.
        * The offset requested must be less than the last row read from ReadRows.
        * Requesting a larger offset is undefined.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder> getReadPositionFieldBuilder() { if (readPositionBuilder_ == null) { - readPositionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder>( - getReadPosition(), - getParentForChildren(), - isClean()); + readPositionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder>( + getReadPosition(), getParentForChildren(), isClean()); readPosition_ = null; } return readPositionBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6804,41 +7986,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.ReadRowsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.ReadRowsRequest) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6850,17 +8035,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface StreamStatusOrBuilder extends + public interface StreamStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.StreamStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Number of estimated rows in the current stream. May change over time as
      * different readers in the stream progress at rates which are relatively fast
@@ -6868,11 +8056,14 @@ public interface StreamStatusOrBuilder extends
      * 
* * int64 estimated_row_count = 1; + * * @return The estimatedRowCount. */ long getEstimatedRowCount(); /** + * + * *
      * A value in the range [0.0, 1.0] that represents the fraction of rows
      * assigned to this stream that have been processed by the server. In the
@@ -6884,29 +8075,38 @@ public interface StreamStatusOrBuilder extends
      * 
* * float fraction_consumed = 2; + * * @return The fractionConsumed. */ float getFractionConsumed(); /** + * + * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; + * * @return Whether the progress field is set. */ boolean hasProgress(); /** + * + * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; + * * @return The progress. */ com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getProgress(); /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -6916,6 +8116,8 @@ public interface StreamStatusOrBuilder extends com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder getProgressOrBuilder(); /** + * + * *
      * Whether this stream can be split. For sessions that use the LIQUID sharding
      * strategy, this value is always false. For BALANCED sessions, this value is
@@ -6925,52 +8127,58 @@ public interface StreamStatusOrBuilder extends
      * 
* * bool is_splittable = 3; + * * @return The isSplittable. */ boolean getIsSplittable(); } /** + * + * *
    * Progress information for a given Stream.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.StreamStatus} */ - public static final class StreamStatus extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class StreamStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.StreamStatus) StreamStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StreamStatus.newBuilder() to construct. private StreamStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StreamStatus() { - } + + private StreamStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StreamStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.class, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder.class); } public static final int ESTIMATED_ROW_COUNT_FIELD_NUMBER = 1; private long estimatedRowCount_ = 0L; /** + * + * *
      * Number of estimated rows in the current stream. May change over time as
      * different readers in the stream progress at rates which are relatively fast
@@ -6978,6 +8186,7 @@ protected java.lang.Object newInstance(
      * 
* * int64 estimated_row_count = 1; + * * @return The estimatedRowCount. */ @java.lang.Override @@ -6988,6 +8197,8 @@ public long getEstimatedRowCount() { public static final int FRACTION_CONSUMED_FIELD_NUMBER = 2; private float fractionConsumed_ = 0F; /** + * + * *
      * A value in the range [0.0, 1.0] that represents the fraction of rows
      * assigned to this stream that have been processed by the server. In the
@@ -6999,6 +8210,7 @@ public long getEstimatedRowCount() {
      * 
* * float fraction_consumed = 2; + * * @return The fractionConsumed. */ @java.lang.Override @@ -7009,11 +8221,14 @@ public float getFractionConsumed() { public static final int PROGRESS_FIELD_NUMBER = 4; private com.google.cloud.bigquery.storage.v1beta1.Storage.Progress progress_; /** + * + * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; + * * @return Whether the progress field is set. */ @java.lang.Override @@ -7021,18 +8236,25 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; + * * @return The progress. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getProgress() { - return progress_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance() + : progress_; } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -7040,13 +8262,18 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getProgress() * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder getProgressOrBuilder() { - return progress_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance() : progress_; + public com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder + getProgressOrBuilder() { + return progress_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance() + : progress_; } public static final int IS_SPLITTABLE_FIELD_NUMBER = 3; private boolean isSplittable_ = false; /** + * + * *
      * Whether this stream can be split. For sessions that use the LIQUID sharding
      * strategy, this value is always false. For BALANCED sessions, this value is
@@ -7056,6 +8283,7 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder getPr
      * 
* * bool is_splittable = 3; + * * @return The isSplittable. */ @java.lang.Override @@ -7064,6 +8292,7 @@ public boolean getIsSplittable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7075,8 +8304,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (estimatedRowCount_ != 0L) { output.writeInt64(1, estimatedRowCount_); } @@ -7099,20 +8327,16 @@ public int getSerializedSize() { size = 0; if (estimatedRowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, estimatedRowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, estimatedRowCount_); } if (java.lang.Float.floatToRawIntBits(fractionConsumed_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, fractionConsumed_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, fractionConsumed_); } if (isSplittable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, isSplittable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, isSplittable_); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getProgress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProgress()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7122,25 +8346,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus other = (com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus other = + (com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus) obj; - if (getEstimatedRowCount() - != other.getEstimatedRowCount()) return false; + if (getEstimatedRowCount() != other.getEstimatedRowCount()) return false; if (java.lang.Float.floatToIntBits(getFractionConsumed()) - != java.lang.Float.floatToIntBits( - other.getFractionConsumed())) return false; + != java.lang.Float.floatToIntBits(other.getFractionConsumed())) return false; if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress() - .equals(other.getProgress())) return false; + if (!getProgress().equals(other.getProgress())) return false; } - if (getIsSplittable() - != other.getIsSplittable()) return false; + if (getIsSplittable() != other.getIsSplittable()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7153,107 +8374,109 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ESTIMATED_ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEstimatedRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedRowCount()); hash = (37 * hash) + FRACTION_CONSUMED_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getFractionConsumed()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getFractionConsumed()); if (hasProgress()) { hash = (37 * hash) + PROGRESS_FIELD_NUMBER; hash = (53 * hash) + getProgress().hashCode(); } hash = (37 * hash) + IS_SPLITTABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsSplittable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsSplittable()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7263,39 +8486,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Progress information for a given Stream.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.StreamStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.StreamStatus) com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.class, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -7312,13 +8537,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance(); } @@ -7333,13 +8559,17 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus result = new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.estimatedRowCount_ = estimatedRowCount_; @@ -7348,9 +8578,7 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Str result.fractionConsumed_ = fractionConsumed_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.progress_ = progressBuilder_ == null - ? progress_ - : progressBuilder_.build(); + result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.isSplittable_ = isSplittable_; @@ -7361,46 +8589,52 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Str public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance()) + return this; if (other.getEstimatedRowCount() != 0L) { setEstimatedRowCount(other.getEstimatedRowCount()); } @@ -7439,34 +8673,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - estimatedRowCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 21: { - fractionConsumed_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 21 - case 24: { - isSplittable_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 24 - case 34: { - input.readMessage( - getProgressFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + estimatedRowCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 21: + { + fractionConsumed_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + case 24: + { + isSplittable_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 24 + case 34: + { + input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7476,10 +8713,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long estimatedRowCount_ ; + private long estimatedRowCount_; /** + * + * *
        * Number of estimated rows in the current stream. May change over time as
        * different readers in the stream progress at rates which are relatively fast
@@ -7487,6 +8727,7 @@ public Builder mergeFrom(
        * 
* * int64 estimated_row_count = 1; + * * @return The estimatedRowCount. */ @java.lang.Override @@ -7494,6 +8735,8 @@ public long getEstimatedRowCount() { return estimatedRowCount_; } /** + * + * *
        * Number of estimated rows in the current stream. May change over time as
        * different readers in the stream progress at rates which are relatively fast
@@ -7501,6 +8744,7 @@ public long getEstimatedRowCount() {
        * 
* * int64 estimated_row_count = 1; + * * @param value The estimatedRowCount to set. * @return This builder for chaining. */ @@ -7512,6 +8756,8 @@ public Builder setEstimatedRowCount(long value) { return this; } /** + * + * *
        * Number of estimated rows in the current stream. May change over time as
        * different readers in the stream progress at rates which are relatively fast
@@ -7519,6 +8765,7 @@ public Builder setEstimatedRowCount(long value) {
        * 
* * int64 estimated_row_count = 1; + * * @return This builder for chaining. */ public Builder clearEstimatedRowCount() { @@ -7528,8 +8775,10 @@ public Builder clearEstimatedRowCount() { return this; } - private float fractionConsumed_ ; + private float fractionConsumed_; /** + * + * *
        * A value in the range [0.0, 1.0] that represents the fraction of rows
        * assigned to this stream that have been processed by the server. In the
@@ -7541,6 +8790,7 @@ public Builder clearEstimatedRowCount() {
        * 
* * float fraction_consumed = 2; + * * @return The fractionConsumed. */ @java.lang.Override @@ -7548,6 +8798,8 @@ public float getFractionConsumed() { return fractionConsumed_; } /** + * + * *
        * A value in the range [0.0, 1.0] that represents the fraction of rows
        * assigned to this stream that have been processed by the server. In the
@@ -7559,6 +8811,7 @@ public float getFractionConsumed() {
        * 
* * float fraction_consumed = 2; + * * @param value The fractionConsumed to set. * @return This builder for chaining. */ @@ -7570,6 +8823,8 @@ public Builder setFractionConsumed(float value) { return this; } /** + * + * *
        * A value in the range [0.0, 1.0] that represents the fraction of rows
        * assigned to this stream that have been processed by the server. In the
@@ -7581,6 +8836,7 @@ public Builder setFractionConsumed(float value) {
        * 
* * float fraction_consumed = 2; + * * @return This builder for chaining. */ public Builder clearFractionConsumed() { @@ -7592,34 +8848,47 @@ public Builder clearFractionConsumed() { private com.google.cloud.bigquery.storage.v1beta1.Storage.Progress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress, com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder> progressBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress, + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder> + progressBuilder_; /** + * + * *
        * Represents the progress of the current stream.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; + * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * Represents the progress of the current stream.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; + * * @return The progress. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getProgress() { if (progressBuilder_ == null) { - return progress_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance() + : progress_; } else { return progressBuilder_.getMessage(); } } /** + * + * *
        * Represents the progress of the current stream.
        * 
@@ -7640,6 +8909,8 @@ public Builder setProgress(com.google.cloud.bigquery.storage.v1beta1.Storage.Pro return this; } /** + * + * *
        * Represents the progress of the current stream.
        * 
@@ -7658,17 +8929,22 @@ public Builder setProgress( return this; } /** + * + * *
        * Represents the progress of the current stream.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; */ - public Builder mergeProgress(com.google.cloud.bigquery.storage.v1beta1.Storage.Progress value) { + public Builder mergeProgress( + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress value) { if (progressBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - progress_ != null && - progress_ != com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && progress_ != null + && progress_ + != com.google.cloud.bigquery.storage.v1beta1.Storage.Progress + .getDefaultInstance()) { getProgressBuilder().mergeFrom(value); } else { progress_ = value; @@ -7681,6 +8957,8 @@ public Builder mergeProgress(com.google.cloud.bigquery.storage.v1beta1.Storage.P return this; } /** + * + * *
        * Represents the progress of the current stream.
        * 
@@ -7698,33 +8976,42 @@ public Builder clearProgress() { return this; } /** + * + * *
        * Represents the progress of the current stream.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder getProgressBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder + getProgressBuilder() { bitField0_ |= 0x00000004; onChanged(); return getProgressFieldBuilder().getBuilder(); } /** + * + * *
        * Represents the progress of the current stream.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder getProgressOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder + getProgressOrBuilder() { if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null ? - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance() + : progress_; } } /** + * + * *
        * Represents the progress of the current stream.
        * 
@@ -7732,21 +9019,26 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder getPr * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress, com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress, + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder> getProgressFieldBuilder() { if (progressBuilder_ == null) { - progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress, com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder>( - getProgress(), - getParentForChildren(), - isClean()); + progressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress, + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder>( + getProgress(), getParentForChildren(), isClean()); progress_ = null; } return progressBuilder_; } - private boolean isSplittable_ ; + private boolean isSplittable_; /** + * + * *
        * Whether this stream can be split. For sessions that use the LIQUID sharding
        * strategy, this value is always false. For BALANCED sessions, this value is
@@ -7756,6 +9048,7 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder getPr
        * 
* * bool is_splittable = 3; + * * @return The isSplittable. */ @java.lang.Override @@ -7763,6 +9056,8 @@ public boolean getIsSplittable() { return isSplittable_; } /** + * + * *
        * Whether this stream can be split. For sessions that use the LIQUID sharding
        * strategy, this value is always false. For BALANCED sessions, this value is
@@ -7772,6 +9067,7 @@ public boolean getIsSplittable() {
        * 
* * bool is_splittable = 3; + * * @param value The isSplittable to set. * @return This builder for chaining. */ @@ -7783,6 +9079,8 @@ public Builder setIsSplittable(boolean value) { return this; } /** + * + * *
        * Whether this stream can be split. For sessions that use the LIQUID sharding
        * strategy, this value is always false. For BALANCED sessions, this value is
@@ -7792,6 +9090,7 @@ public Builder setIsSplittable(boolean value) {
        * 
* * bool is_splittable = 3; + * * @return This builder for chaining. */ public Builder clearIsSplittable() { @@ -7800,6 +9099,7 @@ public Builder clearIsSplittable() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7812,41 +9112,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.StreamStatus) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.StreamStatus) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7858,17 +9161,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ProgressOrBuilder extends + public interface ProgressOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.Progress) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The fraction of rows assigned to the stream that have been processed by the
      * server so far, not including the rows in the current response message.
@@ -7884,59 +9190,64 @@ public interface ProgressOrBuilder extends
      * 
* * float at_response_start = 1; + * * @return The atResponseStart. */ float getAtResponseStart(); /** + * + * *
      * Similar to `at_response_start`, except that this value includes the rows in
      * the current response.
      * 
* * float at_response_end = 2; + * * @return The atResponseEnd. */ float getAtResponseEnd(); } - /** - * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.Progress} - */ - public static final class Progress extends - com.google.protobuf.GeneratedMessageV3 implements + /** Protobuf type {@code google.cloud.bigquery.storage.v1beta1.Progress} */ + public static final class Progress extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.Progress) ProgressOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Progress.newBuilder() to construct. private Progress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Progress() { - } + + private Progress() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Progress(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Progress_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.class, com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder.class); } public static final int AT_RESPONSE_START_FIELD_NUMBER = 1; private float atResponseStart_ = 0F; /** + * + * *
      * The fraction of rows assigned to the stream that have been processed by the
      * server so far, not including the rows in the current response message.
@@ -7952,6 +9263,7 @@ protected java.lang.Object newInstance(
      * 
* * float at_response_start = 1; + * * @return The atResponseStart. */ @java.lang.Override @@ -7962,12 +9274,15 @@ public float getAtResponseStart() { public static final int AT_RESPONSE_END_FIELD_NUMBER = 2; private float atResponseEnd_ = 0F; /** + * + * *
      * Similar to `at_response_start`, except that this value includes the rows in
      * the current response.
      * 
* * float at_response_end = 2; + * * @return The atResponseEnd. */ @java.lang.Override @@ -7976,6 +9291,7 @@ public float getAtResponseEnd() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7987,8 +9303,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Float.floatToRawIntBits(atResponseStart_) != 0) { output.writeFloat(1, atResponseStart_); } @@ -8005,12 +9320,10 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(atResponseStart_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, atResponseStart_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, atResponseStart_); } if (java.lang.Float.floatToRawIntBits(atResponseEnd_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, atResponseEnd_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, atResponseEnd_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -8020,19 +9333,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.Progress)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress other = (com.google.cloud.bigquery.storage.v1beta1.Storage.Progress) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress other = + (com.google.cloud.bigquery.storage.v1beta1.Storage.Progress) obj; if (java.lang.Float.floatToIntBits(getAtResponseStart()) - != java.lang.Float.floatToIntBits( - other.getAtResponseStart())) return false; + != java.lang.Float.floatToIntBits(other.getAtResponseStart())) return false; if (java.lang.Float.floatToIntBits(getAtResponseEnd()) - != java.lang.Float.floatToIntBits( - other.getAtResponseEnd())) return false; + != java.lang.Float.floatToIntBits(other.getAtResponseEnd())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -8045,100 +9357,103 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AT_RESPONSE_START_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getAtResponseStart()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getAtResponseStart()); hash = (37 * hash) + AT_RESPONSE_END_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getAtResponseEnd()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getAtResponseEnd()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.Progress prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8147,36 +9462,34 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.Progress} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.bigquery.storage.v1beta1.Progress} */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.Progress) com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Progress_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.class, com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -8187,13 +9500,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance(); } @@ -8208,13 +9522,17 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress result = new com.google.cloud.bigquery.storage.v1beta1.Storage.Progress(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.Progress(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Progress result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.atResponseStart_ = atResponseStart_; @@ -8228,38 +9546,41 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Pro public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.Progress) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.Progress)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.Progress) other); } else { super.mergeFrom(other); return this; @@ -8267,7 +9588,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.Progress other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance()) return this; + if (other + == com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance()) + return this; if (other.getAtResponseStart() != 0F) { setAtResponseStart(other.getAtResponseStart()); } @@ -8300,22 +9623,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: { - atResponseStart_ = input.readFloat(); - bitField0_ |= 0x00000001; - break; - } // case 13 - case 21: { - atResponseEnd_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 21 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 13: + { + atResponseStart_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 21: + { + atResponseEnd_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8325,10 +9651,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private float atResponseStart_ ; + private float atResponseStart_; /** + * + * *
        * The fraction of rows assigned to the stream that have been processed by the
        * server so far, not including the rows in the current response message.
@@ -8344,6 +9673,7 @@ public Builder mergeFrom(
        * 
* * float at_response_start = 1; + * * @return The atResponseStart. */ @java.lang.Override @@ -8351,6 +9681,8 @@ public float getAtResponseStart() { return atResponseStart_; } /** + * + * *
        * The fraction of rows assigned to the stream that have been processed by the
        * server so far, not including the rows in the current response message.
@@ -8366,6 +9698,7 @@ public float getAtResponseStart() {
        * 
* * float at_response_start = 1; + * * @param value The atResponseStart to set. * @return This builder for chaining. */ @@ -8377,6 +9710,8 @@ public Builder setAtResponseStart(float value) { return this; } /** + * + * *
        * The fraction of rows assigned to the stream that have been processed by the
        * server so far, not including the rows in the current response message.
@@ -8392,6 +9727,7 @@ public Builder setAtResponseStart(float value) {
        * 
* * float at_response_start = 1; + * * @return This builder for chaining. */ public Builder clearAtResponseStart() { @@ -8401,14 +9737,17 @@ public Builder clearAtResponseStart() { return this; } - private float atResponseEnd_ ; + private float atResponseEnd_; /** + * + * *
        * Similar to `at_response_start`, except that this value includes the rows in
        * the current response.
        * 
* * float at_response_end = 2; + * * @return The atResponseEnd. */ @java.lang.Override @@ -8416,12 +9755,15 @@ public float getAtResponseEnd() { return atResponseEnd_; } /** + * + * *
        * Similar to `at_response_start`, except that this value includes the rows in
        * the current response.
        * 
* * float at_response_end = 2; + * * @param value The atResponseEnd to set. * @return This builder for chaining. */ @@ -8433,12 +9775,15 @@ public Builder setAtResponseEnd(float value) { return this; } /** + * + * *
        * Similar to `at_response_start`, except that this value includes the rows in
        * the current response.
        * 
* * float at_response_end = 2; + * * @return This builder for chaining. */ public Builder clearAtResponseEnd() { @@ -8447,6 +9792,7 @@ public Builder clearAtResponseEnd() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8459,12 +9805,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.Progress) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.Progress) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.Progress DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.Progress + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.Progress(); } @@ -8473,27 +9820,28 @@ public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Progress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Progress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8508,72 +9856,81 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ThrottleStatusOrBuilder extends + public interface ThrottleStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.ThrottleStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * How much this connection is being throttled.
      * 0 is no throttling, 100 is completely throttled.
      * 
* * int32 throttle_percent = 1; + * * @return The throttlePercent. */ int getThrottlePercent(); } /** + * + * *
    * Information on if the current connection is being throttled.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ThrottleStatus} */ - public static final class ThrottleStatus extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ThrottleStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.ThrottleStatus) ThrottleStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ThrottleStatus.newBuilder() to construct. private ThrottleStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ThrottleStatus() { - } + + private ThrottleStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ThrottleStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.class, com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder.class); } public static final int THROTTLE_PERCENT_FIELD_NUMBER = 1; private int throttlePercent_ = 0; /** + * + * *
      * How much this connection is being throttled.
      * 0 is no throttling, 100 is completely throttled.
      * 
* * int32 throttle_percent = 1; + * * @return The throttlePercent. */ @java.lang.Override @@ -8582,6 +9939,7 @@ public int getThrottlePercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8593,8 +9951,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (throttlePercent_ != 0) { output.writeInt32(1, throttlePercent_); } @@ -8608,8 +9965,7 @@ public int getSerializedSize() { size = 0; if (throttlePercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, throttlePercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, throttlePercent_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -8619,15 +9975,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus other = (com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus other = + (com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus) obj; - if (getThrottlePercent() - != other.getThrottlePercent()) return false; + if (getThrottlePercent() != other.getThrottlePercent()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -8647,89 +10003,95 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8739,39 +10101,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information on if the current connection is being throttled.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ThrottleStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.ThrottleStatus) com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.class, com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -8781,14 +10146,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus + .getDefaultInstance(); } @java.lang.Override @@ -8802,13 +10169,17 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus build() @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus result = new com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.throttlePercent_ = throttlePercent_; @@ -8819,46 +10190,53 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Thr public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus)other); + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus + .getDefaultInstance()) return this; if (other.getThrottlePercent() != 0) { setThrottlePercent(other.getThrottlePercent()); } @@ -8888,17 +10266,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - throttlePercent_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + throttlePercent_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8908,16 +10288,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int throttlePercent_ ; + private int throttlePercent_; /** + * + * *
        * How much this connection is being throttled.
        * 0 is no throttling, 100 is completely throttled.
        * 
* * int32 throttle_percent = 1; + * * @return The throttlePercent. */ @java.lang.Override @@ -8925,12 +10309,15 @@ public int getThrottlePercent() { return throttlePercent_; } /** + * + * *
        * How much this connection is being throttled.
        * 0 is no throttling, 100 is completely throttled.
        * 
* * int32 throttle_percent = 1; + * * @param value The throttlePercent to set. * @return This builder for chaining. */ @@ -8942,12 +10329,15 @@ public Builder setThrottlePercent(int value) { return this; } /** + * + * *
        * How much this connection is being throttled.
        * 0 is no throttling, 100 is completely throttled.
        * 
* * int32 throttle_percent = 1; + * * @return This builder for chaining. */ public Builder clearThrottlePercent() { @@ -8956,6 +10346,7 @@ public Builder clearThrottlePercent() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8968,41 +10359,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.ThrottleStatus) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.ThrottleStatus) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ThrottleStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThrottleStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9014,35 +10408,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ReadRowsResponseOrBuilder extends + public interface ReadRowsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.ReadRowsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Serialized row data in AVRO format.
      * 
* * .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; + * * @return Whether the avroRows field is set. */ boolean hasAvroRows(); /** + * + * *
      * Serialized row data in AVRO format.
      * 
* * .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; + * * @return The avroRows. */ com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows getAvroRows(); /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -9052,33 +10455,44 @@ public interface ReadRowsResponseOrBuilder extends com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder getAvroRowsOrBuilder(); /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * * @return Whether the arrowRecordBatch field is set. */ boolean hasArrowRecordBatch(); /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * * @return The arrowRecordBatch. */ com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch getArrowRecordBatch(); /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; */ - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBuilder getArrowRecordBatchOrBuilder(); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBuilder + getArrowRecordBatchOrBuilder(); /** + * + * *
      * Number of serialized rows in the rows block. This value is recorded here,
      * in addition to the row_count values in the output-specific messages in
@@ -9087,29 +10501,38 @@ public interface ReadRowsResponseOrBuilder extends
      * 
* * int64 row_count = 6; + * * @return The rowCount. */ long getRowCount(); /** + * + * *
      * Estimated stream statistics.
      * 
* * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
      * Estimated stream statistics.
      * 
* * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; + * * @return The status. */ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus getStatus(); /** + * + * *
      * Estimated stream statistics.
      * 
@@ -9119,26 +10542,34 @@ public interface ReadRowsResponseOrBuilder extends com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder getStatusOrBuilder(); /** + * + * *
      * Throttling status. If unset, the latest response still describes
      * the current throttling status.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5; + * * @return Whether the throttleStatus field is set. */ boolean hasThrottleStatus(); /** + * + * *
      * Throttling status. If unset, the latest response still describes
      * the current throttling status.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5; + * * @return The throttleStatus. */ com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus getThrottleStatus(); /** + * + * *
      * Throttling status. If unset, the latest response still describes
      * the current throttling status.
@@ -9146,67 +10577,100 @@ public interface ReadRowsResponseOrBuilder extends
      *
      * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
      */
-    com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder getThrottleStatusOrBuilder();
+    com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder
+        getThrottleStatusOrBuilder();
 
     /**
+     *
+     *
      * 
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ boolean hasAvroSchema(); /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getAvroSchema(); /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder(); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder + getAvroSchemaOrBuilder(); /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ boolean hasArrowSchema(); /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrowSchema(); /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder(); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder + getArrowSchemaOrBuilder(); com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.RowsCase getRowsCase(); com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.SchemaCase getSchemaCase(); } /** + * + * *
    * Response from calling `ReadRows` may include row data, progress and
    * throttling information.
@@ -9214,48 +10678,53 @@ public interface ReadRowsResponseOrBuilder extends
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ReadRowsResponse}
    */
-  public static final class ReadRowsResponse extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ReadRowsResponse extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.ReadRowsResponse)
       ReadRowsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ReadRowsResponse.newBuilder() to construct.
     private ReadRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private ReadRowsResponse() {
-    }
+
+    private ReadRowsResponse() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ReadRowsResponse();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1beta1.Storage
+          .internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1beta1.Storage
+          .internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.class, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.Builder.class);
+              com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.class,
+              com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.Builder.class);
     }
 
     private int rowsCase_ = 0;
+
     @SuppressWarnings("serial")
     private java.lang.Object rows_;
+
     public enum RowsCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       AVRO_ROWS(3),
       ARROW_RECORD_BATCH(4),
       ROWS_NOT_SET(0);
       private final int value;
+
       private RowsCase(int value) {
         this.value = value;
       }
@@ -9271,33 +10740,40 @@ public static RowsCase valueOf(int value) {
 
       public static RowsCase forNumber(int value) {
         switch (value) {
-          case 3: return AVRO_ROWS;
-          case 4: return ARROW_RECORD_BATCH;
-          case 0: return ROWS_NOT_SET;
-          default: return null;
+          case 3:
+            return AVRO_ROWS;
+          case 4:
+            return ARROW_RECORD_BATCH;
+          case 0:
+            return ROWS_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public RowsCase
-    getRowsCase() {
-      return RowsCase.forNumber(
-          rowsCase_);
+    public RowsCase getRowsCase() {
+      return RowsCase.forNumber(rowsCase_);
     }
 
     private int schemaCase_ = 0;
+
     @SuppressWarnings("serial")
     private java.lang.Object schema_;
+
     public enum SchemaCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       AVRO_SCHEMA(7),
       ARROW_SCHEMA(8),
       SCHEMA_NOT_SET(0);
       private final int value;
+
       private SchemaCase(int value) {
         this.value = value;
       }
@@ -9313,30 +10789,36 @@ public static SchemaCase valueOf(int value) {
 
       public static SchemaCase forNumber(int value) {
         switch (value) {
-          case 7: return AVRO_SCHEMA;
-          case 8: return ARROW_SCHEMA;
-          case 0: return SCHEMA_NOT_SET;
-          default: return null;
+          case 7:
+            return AVRO_SCHEMA;
+          case 8:
+            return ARROW_SCHEMA;
+          case 0:
+            return SCHEMA_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public SchemaCase
-    getSchemaCase() {
-      return SchemaCase.forNumber(
-          schemaCase_);
+    public SchemaCase getSchemaCase() {
+      return SchemaCase.forNumber(schemaCase_);
     }
 
     public static final int AVRO_ROWS_FIELD_NUMBER = 3;
     /**
+     *
+     *
      * 
      * Serialized row data in AVRO format.
      * 
* * .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; + * * @return Whether the avroRows field is set. */ @java.lang.Override @@ -9344,21 +10826,26 @@ public boolean hasAvroRows() { return rowsCase_ == 3; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
* * .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; + * * @return The avroRows. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows getAvroRows() { if (rowsCase_ == 3) { - return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_; + return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_; } return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.getDefaultInstance(); } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -9366,20 +10853,24 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows getAvroRows( * .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder getAvroRowsOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder + getAvroRowsOrBuilder() { if (rowsCase_ == 3) { - return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_; + return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_; } return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.getDefaultInstance(); } public static final int ARROW_RECORD_BATCH_FIELD_NUMBER = 4; /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * * @return Whether the arrowRecordBatch field is set. */ @java.lang.Override @@ -9387,21 +10878,28 @@ public boolean hasArrowRecordBatch() { return rowsCase_ == 4; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * * @return The arrowRecordBatch. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch getArrowRecordBatch() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + getArrowRecordBatch() { if (rowsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_; + return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_; } - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + .getDefaultInstance(); } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -9409,16 +10907,20 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch get * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBuilder getArrowRecordBatchOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBuilder + getArrowRecordBatchOrBuilder() { if (rowsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_; + return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_; } - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + .getDefaultInstance(); } public static final int ROW_COUNT_FIELD_NUMBER = 6; private long rowCount_ = 0L; /** + * + * *
      * Number of serialized rows in the rows block. This value is recorded here,
      * in addition to the row_count values in the output-specific messages in
@@ -9427,6 +10929,7 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBu
      * 
* * int64 row_count = 6; + * * @return The rowCount. */ @java.lang.Override @@ -9437,11 +10940,14 @@ public long getRowCount() { public static final int STATUS_FIELD_NUMBER = 2; private com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus status_; /** + * + * *
      * Estimated stream statistics.
      * 
* * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; + * * @return Whether the status field is set. */ @java.lang.Override @@ -9449,18 +10955,25 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
      * Estimated stream statistics.
      * 
* * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; + * * @return The status. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus getStatus() { - return status_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance() + : status_; } /** + * + * *
      * Estimated stream statistics.
      * 
@@ -9468,19 +10981,25 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus getStatus( * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder getStatusOrBuilder() { - return status_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance() : status_; + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder + getStatusOrBuilder() { + return status_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance() + : status_; } public static final int THROTTLE_STATUS_FIELD_NUMBER = 5; private com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus throttleStatus_; /** + * + * *
      * Throttling status. If unset, the latest response still describes
      * the current throttling status.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5; + * * @return Whether the throttleStatus field is set. */ @java.lang.Override @@ -9488,19 +11007,26 @@ public boolean hasThrottleStatus() { return throttleStatus_ != null; } /** + * + * *
      * Throttling status. If unset, the latest response still describes
      * the current throttling status.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5; + * * @return The throttleStatus. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus getThrottleStatus() { - return throttleStatus_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.getDefaultInstance() : throttleStatus_; + return throttleStatus_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.getDefaultInstance() + : throttleStatus_; } /** + * + * *
      * Throttling status. If unset, the latest response still describes
      * the current throttling status.
@@ -9509,17 +11035,25 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus getThrot
      * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
      */
     @java.lang.Override
-    public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder getThrottleStatusOrBuilder() {
-      return throttleStatus_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.getDefaultInstance() : throttleStatus_;
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder
+        getThrottleStatusOrBuilder() {
+      return throttleStatus_ == null
+          ? com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.getDefaultInstance()
+          : throttleStatus_;
     }
 
     public static final int AVRO_SCHEMA_FIELD_NUMBER = 7;
     /**
+     *
+     *
      * 
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -9527,42 +11061,57 @@ public boolean hasAvroSchema() { return schemaCase_ == 7; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getAvroSchema() { if (schemaCase_ == 7) { - return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder + getAvroSchemaOrBuilder() { if (schemaCase_ == 7) { - return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); } public static final int ARROW_SCHEMA_FIELD_NUMBER = 8; /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -9570,36 +11119,47 @@ public boolean hasArrowSchema() { return schemaCase_ == 8; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrowSchema() { if (schemaCase_ == 8) { - return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder + getArrowSchemaOrBuilder() { if (schemaCase_ == 8) { - return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9611,16 +11171,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (status_ != null) { output.writeMessage(2, getStatus()); } if (rowsCase_ == 3) { - output.writeMessage(3, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_); + output.writeMessage( + 3, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_); } if (rowsCase_ == 4) { - output.writeMessage(4, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_); + output.writeMessage( + 4, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_); } if (throttleStatus_ != null) { output.writeMessage(5, getThrottleStatus()); @@ -9629,10 +11190,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeInt64(6, rowCount_); } if (schemaCase_ == 7) { - output.writeMessage(7, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); + output.writeMessage( + 7, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); } if (schemaCase_ == 8) { - output.writeMessage(8, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); + output.writeMessage( + 8, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); } getUnknownFields().writeTo(output); } @@ -9644,32 +11207,33 @@ public int getSerializedSize() { size = 0; if (status_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus()); } if (rowsCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_); } if (rowsCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_); } if (throttleStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getThrottleStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getThrottleStatus()); } if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(6, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, rowCount_); } if (schemaCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); } if (schemaCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -9679,34 +11243,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse other = (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse other = + (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse) obj; - if (getRowCount() - != other.getRowCount()) return false; + if (getRowCount() != other.getRowCount()) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus() - .equals(other.getStatus())) return false; + if (!getStatus().equals(other.getStatus())) return false; } if (hasThrottleStatus() != other.hasThrottleStatus()) return false; if (hasThrottleStatus()) { - if (!getThrottleStatus() - .equals(other.getThrottleStatus())) return false; + if (!getThrottleStatus().equals(other.getThrottleStatus())) return false; } if (!getRowsCase().equals(other.getRowsCase())) return false; switch (rowsCase_) { case 3: - if (!getAvroRows() - .equals(other.getAvroRows())) return false; + if (!getAvroRows().equals(other.getAvroRows())) return false; break; case 4: - if (!getArrowRecordBatch() - .equals(other.getArrowRecordBatch())) return false; + if (!getArrowRecordBatch().equals(other.getArrowRecordBatch())) return false; break; case 0: default: @@ -9714,12 +11274,10 @@ public boolean equals(final java.lang.Object obj) { if (!getSchemaCase().equals(other.getSchemaCase())) return false; switch (schemaCase_) { case 7: - if (!getAvroSchema() - .equals(other.getAvroSchema())) return false; + if (!getAvroSchema().equals(other.getAvroSchema())) return false; break; case 8: - if (!getArrowSchema() - .equals(other.getArrowSchema())) return false; + if (!getArrowSchema().equals(other.getArrowSchema())) return false; break; case 0: default: @@ -9736,8 +11294,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); @@ -9776,89 +11333,95 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9868,6 +11431,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Response from calling `ReadRows` may include row data, progress and
      * throttling information.
@@ -9875,33 +11440,34 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ReadRowsResponse}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.ReadRowsResponse)
         com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponseOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.bigquery.storage.v1beta1.Storage
+            .internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_fieldAccessorTable
+        return com.google.cloud.bigquery.storage.v1beta1.Storage
+            .internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.class, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.Builder.class);
+                com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.class,
+                com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.Builder.class);
       }
 
-      // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -9937,14 +11503,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.bigquery.storage.v1beta1.Storage
+            .internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse getDefaultInstanceForType() {
-        return com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.getDefaultInstance();
+      public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse
+          getDefaultInstanceForType() {
+        return com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -9958,49 +11526,47 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse build(
 
       @java.lang.Override
       public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse buildPartial() {
-        com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse result = new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse result =
+            new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         buildPartialOneofs(result);
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse result) {
+      private void buildPartial0(
+          com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000004) != 0)) {
           result.rowCount_ = rowCount_;
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
-          result.status_ = statusBuilder_ == null
-              ? status_
-              : statusBuilder_.build();
+          result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000010) != 0)) {
-          result.throttleStatus_ = throttleStatusBuilder_ == null
-              ? throttleStatus_
-              : throttleStatusBuilder_.build();
+          result.throttleStatus_ =
+              throttleStatusBuilder_ == null ? throttleStatus_ : throttleStatusBuilder_.build();
         }
       }
 
-      private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse result) {
+      private void buildPartialOneofs(
+          com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse result) {
         result.rowsCase_ = rowsCase_;
         result.rows_ = this.rows_;
-        if (rowsCase_ == 3 &&
-            avroRowsBuilder_ != null) {
+        if (rowsCase_ == 3 && avroRowsBuilder_ != null) {
           result.rows_ = avroRowsBuilder_.build();
         }
-        if (rowsCase_ == 4 &&
-            arrowRecordBatchBuilder_ != null) {
+        if (rowsCase_ == 4 && arrowRecordBatchBuilder_ != null) {
           result.rows_ = arrowRecordBatchBuilder_.build();
         }
         result.schemaCase_ = schemaCase_;
         result.schema_ = this.schema_;
-        if (schemaCase_ == 7 &&
-            avroSchemaBuilder_ != null) {
+        if (schemaCase_ == 7 && avroSchemaBuilder_ != null) {
           result.schema_ = avroSchemaBuilder_.build();
         }
-        if (schemaCase_ == 8 &&
-            arrowSchemaBuilder_ != null) {
+        if (schemaCase_ == 8 && arrowSchemaBuilder_ != null) {
           result.schema_ = arrowSchemaBuilder_.build();
         }
       }
@@ -10009,46 +11575,53 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta1.Storag
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse) {
-          return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse)other);
+          return mergeFrom(
+              (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse other) {
-        if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse other) {
+        if (other
+            == com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse
+                .getDefaultInstance()) return this;
         if (other.getRowCount() != 0L) {
           setRowCount(other.getRowCount());
         }
@@ -10059,30 +11632,36 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadR
           mergeThrottleStatus(other.getThrottleStatus());
         }
         switch (other.getRowsCase()) {
-          case AVRO_ROWS: {
-            mergeAvroRows(other.getAvroRows());
-            break;
-          }
-          case ARROW_RECORD_BATCH: {
-            mergeArrowRecordBatch(other.getArrowRecordBatch());
-            break;
-          }
-          case ROWS_NOT_SET: {
-            break;
-          }
+          case AVRO_ROWS:
+            {
+              mergeAvroRows(other.getAvroRows());
+              break;
+            }
+          case ARROW_RECORD_BATCH:
+            {
+              mergeArrowRecordBatch(other.getArrowRecordBatch());
+              break;
+            }
+          case ROWS_NOT_SET:
+            {
+              break;
+            }
         }
         switch (other.getSchemaCase()) {
-          case AVRO_SCHEMA: {
-            mergeAvroSchema(other.getAvroSchema());
-            break;
-          }
-          case ARROW_SCHEMA: {
-            mergeArrowSchema(other.getArrowSchema());
-            break;
-          }
-          case SCHEMA_NOT_SET: {
-            break;
-          }
+          case AVRO_SCHEMA:
+            {
+              mergeAvroSchema(other.getAvroSchema());
+              break;
+            }
+          case ARROW_SCHEMA:
+            {
+              mergeArrowSchema(other.getArrowSchema());
+              break;
+            }
+          case SCHEMA_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -10110,59 +11689,57 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 18: {
-                input.readMessage(
-                    getStatusFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 18
-              case 26: {
-                input.readMessage(
-                    getAvroRowsFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                rowsCase_ = 3;
-                break;
-              } // case 26
-              case 34: {
-                input.readMessage(
-                    getArrowRecordBatchFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                rowsCase_ = 4;
-                break;
-              } // case 34
-              case 42: {
-                input.readMessage(
-                    getThrottleStatusFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-              case 48: {
-                rowCount_ = input.readInt64();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 48
-              case 58: {
-                input.readMessage(
-                    getAvroSchemaFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                schemaCase_ = 7;
-                break;
-              } // case 58
-              case 66: {
-                input.readMessage(
-                    getArrowSchemaFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                schemaCase_ = 8;
-                break;
-              } // case 66
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 18:
+                {
+                  input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000008;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  input.readMessage(getAvroRowsFieldBuilder().getBuilder(), extensionRegistry);
+                  rowsCase_ = 3;
+                  break;
+                } // case 26
+              case 34:
+                {
+                  input.readMessage(
+                      getArrowRecordBatchFieldBuilder().getBuilder(), extensionRegistry);
+                  rowsCase_ = 4;
+                  break;
+                } // case 34
+              case 42:
+                {
+                  input.readMessage(
+                      getThrottleStatusFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000010;
+                  break;
+                } // case 42
+              case 48:
+                {
+                  rowCount_ = input.readInt64();
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 48
+              case 58:
+                {
+                  input.readMessage(getAvroSchemaFieldBuilder().getBuilder(), extensionRegistry);
+                  schemaCase_ = 7;
+                  break;
+                } // case 58
+              case 66:
+                {
+                  input.readMessage(getArrowSchemaFieldBuilder().getBuilder(), extensionRegistry);
+                  schemaCase_ = 8;
+                  break;
+                } // case 66
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10172,12 +11749,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int rowsCase_ = 0;
       private java.lang.Object rows_;
-      public RowsCase
-          getRowsCase() {
-        return RowsCase.forNumber(
-            rowsCase_);
+
+      public RowsCase getRowsCase() {
+        return RowsCase.forNumber(rowsCase_);
       }
 
       public Builder clearRows() {
@@ -10189,10 +11766,9 @@ public Builder clearRows() {
 
       private int schemaCase_ = 0;
       private java.lang.Object schema_;
-      public SchemaCase
-          getSchemaCase() {
-        return SchemaCase.forNumber(
-            schemaCase_);
+
+      public SchemaCase getSchemaCase() {
+        return SchemaCase.forNumber(schemaCase_);
       }
 
       public Builder clearSchema() {
@@ -10205,13 +11781,19 @@ public Builder clearSchema() {
       private int bitField0_;
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder> avroRowsBuilder_;
+              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows,
+              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder,
+              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder>
+          avroRowsBuilder_;
       /**
+       *
+       *
        * 
        * Serialized row data in AVRO format.
        * 
* * .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; + * * @return Whether the avroRows field is set. */ @java.lang.Override @@ -10219,11 +11801,14 @@ public boolean hasAvroRows() { return rowsCase_ == 3; } /** + * + * *
        * Serialized row data in AVRO format.
        * 
* * .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; + * * @return The avroRows. */ @java.lang.Override @@ -10241,13 +11826,16 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows getAvroRows( } } /** + * + * *
        * Serialized row data in AVRO format.
        * 
* * .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; */ - public Builder setAvroRows(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows value) { + public Builder setAvroRows( + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows value) { if (avroRowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10261,6 +11849,8 @@ public Builder setAvroRows(com.google.cloud.bigquery.storage.v1beta1.AvroProto.A return this; } /** + * + * *
        * Serialized row data in AVRO format.
        * 
@@ -10279,18 +11869,26 @@ public Builder setAvroRows( return this; } /** + * + * *
        * Serialized row data in AVRO format.
        * 
* * .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; */ - public Builder mergeAvroRows(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows value) { + public Builder mergeAvroRows( + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows value) { if (avroRowsBuilder_ == null) { - if (rowsCase_ == 3 && - rows_ != com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.getDefaultInstance()) { - rows_ = com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.newBuilder((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_) - .mergeFrom(value).buildPartial(); + if (rowsCase_ == 3 + && rows_ + != com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows + .getDefaultInstance()) { + rows_ = + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.newBuilder( + (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_) + .mergeFrom(value) + .buildPartial(); } else { rows_ = value; } @@ -10306,6 +11904,8 @@ public Builder mergeAvroRows(com.google.cloud.bigquery.storage.v1beta1.AvroProto return this; } /** + * + * *
        * Serialized row data in AVRO format.
        * 
@@ -10329,16 +11929,21 @@ public Builder clearAvroRows() { return this; } /** + * + * *
        * Serialized row data in AVRO format.
        * 
* * .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; */ - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder getAvroRowsBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder + getAvroRowsBuilder() { return getAvroRowsFieldBuilder().getBuilder(); } /** + * + * *
        * Serialized row data in AVRO format.
        * 
@@ -10346,7 +11951,8 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder getA * .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder getAvroRowsOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder + getAvroRowsOrBuilder() { if ((rowsCase_ == 3) && (avroRowsBuilder_ != null)) { return avroRowsBuilder_.getMessageOrBuilder(); } else { @@ -10357,6 +11963,8 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder get } } /** + * + * *
        * Serialized row data in AVRO format.
        * 
@@ -10364,14 +11972,20 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder get * .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder> getAvroRowsFieldBuilder() { if (avroRowsBuilder_ == null) { if (!(rowsCase_ == 3)) { - rows_ = com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.getDefaultInstance(); + rows_ = + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.getDefaultInstance(); } - avroRowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder>( + avroRowsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder>( (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_, getParentForChildren(), isClean()); @@ -10383,13 +11997,20 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder get } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBuilder> arrowRecordBatchBuilder_; + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBuilder> + arrowRecordBatchBuilder_; /** + * + * *
        * Serialized row data in Arrow RecordBatch format.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * + * * @return Whether the arrowRecordBatch field is set. */ @java.lang.Override @@ -10397,35 +12018,46 @@ public boolean hasArrowRecordBatch() { return rowsCase_ == 4; } /** + * + * *
        * Serialized row data in Arrow RecordBatch format.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * + * * @return The arrowRecordBatch. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch getArrowRecordBatch() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + getArrowRecordBatch() { if (arrowRecordBatchBuilder_ == null) { if (rowsCase_ == 4) { return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_; } - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + .getDefaultInstance(); } else { if (rowsCase_ == 4) { return arrowRecordBatchBuilder_.getMessage(); } - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + .getDefaultInstance(); } } /** + * + * *
        * Serialized row data in Arrow RecordBatch format.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * */ - public Builder setArrowRecordBatch(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch value) { + public Builder setArrowRecordBatch( + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch value) { if (arrowRecordBatchBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10439,14 +12071,18 @@ public Builder setArrowRecordBatch(com.google.cloud.bigquery.storage.v1beta1.Arr return this; } /** + * + * *
        * Serialized row data in Arrow RecordBatch format.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * */ public Builder setArrowRecordBatch( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder + builderForValue) { if (arrowRecordBatchBuilder_ == null) { rows_ = builderForValue.build(); onChanged(); @@ -10457,18 +12093,28 @@ public Builder setArrowRecordBatch( return this; } /** + * + * *
        * Serialized row data in Arrow RecordBatch format.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * */ - public Builder mergeArrowRecordBatch(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch value) { + public Builder mergeArrowRecordBatch( + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch value) { if (arrowRecordBatchBuilder_ == null) { - if (rowsCase_ == 4 && - rows_ != com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.getDefaultInstance()) { - rows_ = com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.newBuilder((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_) - .mergeFrom(value).buildPartial(); + if (rowsCase_ == 4 + && rows_ + != com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + .getDefaultInstance()) { + rows_ = + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.newBuilder( + (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) + rows_) + .mergeFrom(value) + .buildPartial(); } else { rows_ = value; } @@ -10484,11 +12130,14 @@ public Builder mergeArrowRecordBatch(com.google.cloud.bigquery.storage.v1beta1.A return this; } /** + * + * *
        * Serialized row data in Arrow RecordBatch format.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * */ public Builder clearArrowRecordBatch() { if (arrowRecordBatchBuilder_ == null) { @@ -10507,49 +12156,68 @@ public Builder clearArrowRecordBatch() { return this; } /** + * + * *
        * Serialized row data in Arrow RecordBatch format.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * */ - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder getArrowRecordBatchBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder + getArrowRecordBatchBuilder() { return getArrowRecordBatchFieldBuilder().getBuilder(); } /** + * + * *
        * Serialized row data in Arrow RecordBatch format.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBuilder getArrowRecordBatchOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBuilder + getArrowRecordBatchOrBuilder() { if ((rowsCase_ == 4) && (arrowRecordBatchBuilder_ != null)) { return arrowRecordBatchBuilder_.getMessageOrBuilder(); } else { if (rowsCase_ == 4) { return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_; } - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + .getDefaultInstance(); } } /** + * + * *
        * Serialized row data in Arrow RecordBatch format.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBuilder> getArrowRecordBatchFieldBuilder() { if (arrowRecordBatchBuilder_ == null) { if (!(rowsCase_ == 4)) { - rows_ = com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.getDefaultInstance(); + rows_ = + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch + .getDefaultInstance(); } - arrowRecordBatchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBuilder>( + arrowRecordBatchBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBuilder>( (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_, getParentForChildren(), isClean()); @@ -10560,8 +12228,10 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBu return arrowRecordBatchBuilder_; } - private long rowCount_ ; + private long rowCount_; /** + * + * *
        * Number of serialized rows in the rows block. This value is recorded here,
        * in addition to the row_count values in the output-specific messages in
@@ -10570,6 +12240,7 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBu
        * 
* * int64 row_count = 6; + * * @return The rowCount. */ @java.lang.Override @@ -10577,6 +12248,8 @@ public long getRowCount() { return rowCount_; } /** + * + * *
        * Number of serialized rows in the rows block. This value is recorded here,
        * in addition to the row_count values in the output-specific messages in
@@ -10585,6 +12258,7 @@ public long getRowCount() {
        * 
* * int64 row_count = 6; + * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -10596,6 +12270,8 @@ public Builder setRowCount(long value) { return this; } /** + * + * *
        * Number of serialized rows in the rows block. This value is recorded here,
        * in addition to the row_count values in the output-specific messages in
@@ -10604,6 +12280,7 @@ public Builder setRowCount(long value) {
        * 
* * int64 row_count = 6; + * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -10615,41 +12292,55 @@ public Builder clearRowCount() { private com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder> statusBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder> + statusBuilder_; /** + * + * *
        * Estimated stream statistics.
        * 
* * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; + * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * Estimated stream statistics.
        * 
* * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; + * * @return The status. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus getStatus() { if (statusBuilder_ == null) { - return status_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance() + : status_; } else { return statusBuilder_.getMessage(); } } /** + * + * *
        * Estimated stream statistics.
        * 
* * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; */ - public Builder setStatus(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus value) { + public Builder setStatus( + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10663,6 +12354,8 @@ public Builder setStatus(com.google.cloud.bigquery.storage.v1beta1.Storage.Strea return this; } /** + * + * *
        * Estimated stream statistics.
        * 
@@ -10681,17 +12374,22 @@ public Builder setStatus( return this; } /** + * + * *
        * Estimated stream statistics.
        * 
* * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; */ - public Builder mergeStatus(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus value) { + public Builder mergeStatus( + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus value) { if (statusBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - status_ != null && - status_ != com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && status_ != null + && status_ + != com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus + .getDefaultInstance()) { getStatusBuilder().mergeFrom(value); } else { status_ = value; @@ -10704,6 +12402,8 @@ public Builder mergeStatus(com.google.cloud.bigquery.storage.v1beta1.Storage.Str return this; } /** + * + * *
        * Estimated stream statistics.
        * 
@@ -10721,33 +12421,42 @@ public Builder clearStatus() { return this; } /** + * + * *
        * Estimated stream statistics.
        * 
* * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder getStatusBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder + getStatusBuilder() { bitField0_ |= 0x00000008; onChanged(); return getStatusFieldBuilder().getBuilder(); } /** + * + * *
        * Estimated stream statistics.
        * 
* * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder getStatusOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder + getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance() + : status_; } } /** + * + * *
        * Estimated stream statistics.
        * 
@@ -10755,14 +12464,17 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder g * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder>( + getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; @@ -10770,36 +12482,50 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder g private com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus throttleStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus, com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder> throttleStatusBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus, + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder> + throttleStatusBuilder_; /** + * + * *
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5; + * * @return Whether the throttleStatus field is set. */ public boolean hasThrottleStatus() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5; + * * @return The throttleStatus. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus getThrottleStatus() { if (throttleStatusBuilder_ == null) { - return throttleStatus_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.getDefaultInstance() : throttleStatus_; + return throttleStatus_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus + .getDefaultInstance() + : throttleStatus_; } else { return throttleStatusBuilder_.getMessage(); } } /** + * + * *
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -10807,7 +12533,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus getThrot
        *
        * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
        */
-      public Builder setThrottleStatus(com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus value) {
+      public Builder setThrottleStatus(
+          com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus value) {
         if (throttleStatusBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -10821,6 +12548,8 @@ public Builder setThrottleStatus(com.google.cloud.bigquery.storage.v1beta1.Stora
         return this;
       }
       /**
+       *
+       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -10829,7 +12558,8 @@ public Builder setThrottleStatus(com.google.cloud.bigquery.storage.v1beta1.Stora
        * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
        */
       public Builder setThrottleStatus(
-          com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder builderForValue) {
+          com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder
+              builderForValue) {
         if (throttleStatusBuilder_ == null) {
           throttleStatus_ = builderForValue.build();
         } else {
@@ -10840,6 +12570,8 @@ public Builder setThrottleStatus(
         return this;
       }
       /**
+       *
+       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -10847,11 +12579,14 @@ public Builder setThrottleStatus(
        *
        * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
        */
-      public Builder mergeThrottleStatus(com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus value) {
+      public Builder mergeThrottleStatus(
+          com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus value) {
         if (throttleStatusBuilder_ == null) {
-          if (((bitField0_ & 0x00000010) != 0) &&
-            throttleStatus_ != null &&
-            throttleStatus_ != com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000010) != 0)
+              && throttleStatus_ != null
+              && throttleStatus_
+                  != com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus
+                      .getDefaultInstance()) {
             getThrottleStatusBuilder().mergeFrom(value);
           } else {
             throttleStatus_ = value;
@@ -10864,6 +12599,8 @@ public Builder mergeThrottleStatus(com.google.cloud.bigquery.storage.v1beta1.Sto
         return this;
       }
       /**
+       *
+       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -10882,6 +12619,8 @@ public Builder clearThrottleStatus() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -10889,12 +12628,15 @@ public Builder clearThrottleStatus() {
        *
        * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
        */
-      public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder getThrottleStatusBuilder() {
+      public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder
+          getThrottleStatusBuilder() {
         bitField0_ |= 0x00000010;
         onChanged();
         return getThrottleStatusFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -10902,15 +12644,20 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder
        *
        * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
        */
-      public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder getThrottleStatusOrBuilder() {
+      public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder
+          getThrottleStatusOrBuilder() {
         if (throttleStatusBuilder_ != null) {
           return throttleStatusBuilder_.getMessageOrBuilder();
         } else {
-          return throttleStatus_ == null ?
-              com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.getDefaultInstance() : throttleStatus_;
+          return throttleStatus_ == null
+              ? com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus
+                  .getDefaultInstance()
+              : throttleStatus_;
         }
       }
       /**
+       *
+       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -10919,27 +12666,38 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder
        * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus, com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder> 
+              com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus,
+              com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder,
+              com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder>
           getThrottleStatusFieldBuilder() {
         if (throttleStatusBuilder_ == null) {
-          throttleStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus, com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder>(
-                  getThrottleStatus(),
-                  getParentForChildren(),
-                  isClean());
+          throttleStatusBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus,
+                  com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder,
+                  com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder>(
+                  getThrottleStatus(), getParentForChildren(), isClean());
           throttleStatus_ = null;
         }
         return throttleStatusBuilder_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder> avroSchemaBuilder_;
+              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema,
+              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder,
+              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder>
+          avroSchemaBuilder_;
       /**
+       *
+       *
        * 
        * Output only. Avro schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -10947,11 +12705,16 @@ public boolean hasAvroSchema() { return schemaCase_ == 7; } /** + * + * *
        * Output only. Avro schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ @java.lang.Override @@ -10960,22 +12723,29 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getAvroSch if (schemaCase_ == 7) { return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; } - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema + .getDefaultInstance(); } else { if (schemaCase_ == 7) { return avroSchemaBuilder_.getMessage(); } - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema + .getDefaultInstance(); } } /** + * + * *
        * Output only. Avro schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAvroSchema(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema value) { + public Builder setAvroSchema( + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema value) { if (avroSchemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10989,11 +12759,15 @@ public Builder setAvroSchema(com.google.cloud.bigquery.storage.v1beta1.AvroProto return this; } /** + * + * *
        * Output only. Avro schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAvroSchema( com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder builderForValue) { @@ -11007,18 +12781,28 @@ public Builder setAvroSchema( return this; } /** + * + * *
        * Output only. Avro schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeAvroSchema(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema value) { + public Builder mergeAvroSchema( + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema value) { if (avroSchemaBuilder_ == null) { - if (schemaCase_ == 7 && - schema_ != com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance()) { - schema_ = com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.newBuilder((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 7 + && schema_ + != com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema + .getDefaultInstance()) { + schema_ = + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.newBuilder( + (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -11034,11 +12818,15 @@ public Builder mergeAvroSchema(com.google.cloud.bigquery.storage.v1beta1.AvroPro return this; } /** + * + * *
        * Output only. Avro schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAvroSchema() { if (avroSchemaBuilder_ == null) { @@ -11057,49 +12845,70 @@ public Builder clearAvroSchema() { return this; } /** + * + * *
        * Output only. Avro schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder getAvroSchemaBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder + getAvroSchemaBuilder() { return getAvroSchemaFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Avro schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder + getAvroSchemaOrBuilder() { if ((schemaCase_ == 7) && (avroSchemaBuilder_ != null)) { return avroSchemaBuilder_.getMessageOrBuilder(); } else { if (schemaCase_ == 7) { return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; } - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema + .getDefaultInstance(); } } /** + * + * *
        * Output only. Avro schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder> getAvroSchemaFieldBuilder() { if (avroSchemaBuilder_ == null) { if (!(schemaCase_ == 7)) { - schema_ = com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); + schema_ = + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); } - avroSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder>( + avroSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder>( (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_, getParentForChildren(), isClean()); @@ -11111,13 +12920,21 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder g } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder> arrowSchemaBuilder_; + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder> + arrowSchemaBuilder_; /** + * + * *
        * Output only. Arrow schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -11125,11 +12942,16 @@ public boolean hasArrowSchema() { return schemaCase_ == 8; } /** + * + * *
        * Output only. Arrow schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ @java.lang.Override @@ -11138,22 +12960,29 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrow if (schemaCase_ == 8) { return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; } - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + .getDefaultInstance(); } else { if (schemaCase_ == 8) { return arrowSchemaBuilder_.getMessage(); } - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + .getDefaultInstance(); } } /** + * + * *
        * Output only. Arrow schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema value) { + public Builder setArrowSchema( + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema value) { if (arrowSchemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11167,14 +12996,19 @@ public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1beta1.ArrowPro return this; } /** + * + * *
        * Output only. Arrow schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setArrowSchema( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder + builderForValue) { if (arrowSchemaBuilder_ == null) { schema_ = builderForValue.build(); onChanged(); @@ -11185,18 +13019,28 @@ public Builder setArrowSchema( return this; } /** + * + * *
        * Output only. Arrow schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeArrowSchema(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema value) { + public Builder mergeArrowSchema( + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema value) { if (arrowSchemaBuilder_ == null) { - if (schemaCase_ == 8 && - schema_ != com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance()) { - schema_ = com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.newBuilder((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 8 + && schema_ + != com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + .getDefaultInstance()) { + schema_ = + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.newBuilder( + (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -11212,11 +13056,15 @@ public Builder mergeArrowSchema(com.google.cloud.bigquery.storage.v1beta1.ArrowP return this; } /** + * + * *
        * Output only. Arrow schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearArrowSchema() { if (arrowSchemaBuilder_ == null) { @@ -11235,49 +13083,71 @@ public Builder clearArrowSchema() { return this; } /** + * + * *
        * Output only. Arrow schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder getArrowSchemaBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder + getArrowSchemaBuilder() { return getArrowSchemaFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Arrow schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder + getArrowSchemaOrBuilder() { if ((schemaCase_ == 8) && (arrowSchemaBuilder_ != null)) { return arrowSchemaBuilder_.getMessageOrBuilder(); } else { if (schemaCase_ == 8) { return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; } - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + .getDefaultInstance(); } } /** + * + * *
        * Output only. Arrow schema.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder> getArrowSchemaFieldBuilder() { if (arrowSchemaBuilder_ == null) { if (!(schemaCase_ == 8)) { - schema_ = com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); + schema_ = + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema + .getDefaultInstance(); } - arrowSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder>( + arrowSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder>( (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_, getParentForChildren(), isClean()); @@ -11287,6 +13157,7 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder onChanged(); return arrowSchemaBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11299,41 +13170,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.ReadRowsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.ReadRowsResponse) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11345,47 +13219,64 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface BatchCreateReadSessionStreamsRequestOrBuilder extends + public interface BatchCreateReadSessionStreamsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Must be a non-expired session obtained from a call to
      * CreateReadSession. Only the name field needs to be set.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the session field is set. */ boolean hasSession(); /** + * + * *
      * Required. Must be a non-expired session obtained from a call to
      * CreateReadSession. Only the name field needs to be set.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The session. */ com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession getSession(); /** + * + * *
      * Required. Must be a non-expired session obtained from a call to
      * CreateReadSession. Only the name field needs to be set.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder getSessionOrBuilder(); /** + * + * *
      * Required. Number of new streams requested. Must be positive.
      * Number of added streams may be less than this, see CreateReadSessionRequest
@@ -11393,59 +13284,73 @@ public interface BatchCreateReadSessionStreamsRequestOrBuilder extends
      * 
* * int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requestedStreams. */ int getRequestedStreams(); } /** + * + * *
    * Information needed to request additional streams for an established read
    * session.
    * 
* - * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest} + * Protobuf type {@code + * google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest} */ - public static final class BatchCreateReadSessionStreamsRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BatchCreateReadSessionStreamsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest) BatchCreateReadSessionStreamsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateReadSessionStreamsRequest.newBuilder() to construct. - private BatchCreateReadSessionStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchCreateReadSessionStreamsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateReadSessionStreamsRequest() { - } + + private BatchCreateReadSessionStreamsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateReadSessionStreamsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest.class, com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + .class, + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + .Builder.class); } public static final int SESSION_FIELD_NUMBER = 1; private com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession session_; /** + * + * *
      * Required. Must be a non-expired session obtained from a call to
      * CreateReadSession. Only the name field needs to be set.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the session field is set. */ @java.lang.Override @@ -11453,34 +13358,50 @@ public boolean hasSession() { return session_ != null; } /** + * + * *
      * Required. Must be a non-expired session obtained from a call to
      * CreateReadSession. Only the name field needs to be set.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The session. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession getSession() { - return session_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() : session_; + return session_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() + : session_; } /** + * + * *
      * Required. Must be a non-expired session obtained from a call to
      * CreateReadSession. Only the name field needs to be set.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder getSessionOrBuilder() { - return session_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() : session_; + public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder + getSessionOrBuilder() { + return session_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() + : session_; } public static final int REQUESTED_STREAMS_FIELD_NUMBER = 2; private int requestedStreams_ = 0; /** + * + * *
      * Required. Number of new streams requested. Must be positive.
      * Number of added streams may be less than this, see CreateReadSessionRequest
@@ -11488,6 +13409,7 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder ge
      * 
* * int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requestedStreams. */ @java.lang.Override @@ -11496,6 +13418,7 @@ public int getRequestedStreams() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11507,8 +13430,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (session_ != null) { output.writeMessage(1, getSession()); } @@ -11525,12 +13447,10 @@ public int getSerializedSize() { size = 0; if (session_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSession()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSession()); } if (requestedStreams_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, requestedStreams_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, requestedStreams_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -11540,20 +13460,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest)) { + if (!(obj + instanceof + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest other = (com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest other = + (com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest) + obj; if (hasSession() != other.hasSession()) return false; if (hasSession()) { - if (!getSession() - .equals(other.getSession())) return false; + if (!getSession().equals(other.getSession())) return false; } - if (getRequestedStreams() - != other.getRequestedStreams()) return false; + if (getRequestedStreams() != other.getRequestedStreams()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -11576,90 +13498,114 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11669,40 +13615,47 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information needed to request additional streams for an established read
      * session.
      * 
* - * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest} + * Protobuf type {@code + * google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest) - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_descriptor; + com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest.class, com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest.class, + com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -11717,19 +13670,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest build() { - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest result = buildPartial(); + public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + build() { + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11737,19 +13694,25 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionS } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest result = new com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + buildPartial() { + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + result = + new com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.session_ = sessionBuilder_ == null - ? session_ - : sessionBuilder_.build(); + result.session_ = sessionBuilder_ == null ? session_ : sessionBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.requestedStreams_ = requestedStreams_; @@ -11760,46 +13723,59 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Bat public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest)other); + if (other + instanceof + com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest) { + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest.getDefaultInstance()) return this; if (other.hasSession()) { mergeSession(other.getSession()); } @@ -11832,24 +13808,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getSessionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - requestedStreams_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getSessionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + requestedStreams_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -11859,48 +13836,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession session_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder> sessionBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession, + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder> + sessionBuilder_; /** + * + * *
        * Required. Must be a non-expired session obtained from a call to
        * CreateReadSession. Only the name field needs to be set.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the session field is set. */ public boolean hasSession() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Required. Must be a non-expired session obtained from a call to
        * CreateReadSession. Only the name field needs to be set.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The session. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession getSession() { if (sessionBuilder_ == null) { - return session_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() : session_; + return session_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() + : session_; } else { return sessionBuilder_.getMessage(); } } /** + * + * *
        * Required. Must be a non-expired session obtained from a call to
        * CreateReadSession. Only the name field needs to be set.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setSession(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession value) { + public Builder setSession( + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession value) { if (sessionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11914,12 +13912,16 @@ public Builder setSession(com.google.cloud.bigquery.storage.v1beta1.Storage.Read return this; } /** + * + * *
        * Required. Must be a non-expired session obtained from a call to
        * CreateReadSession. Only the name field needs to be set.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSession( com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder builderForValue) { @@ -11933,18 +13935,25 @@ public Builder setSession( return this; } /** + * + * *
        * Required. Must be a non-expired session obtained from a call to
        * CreateReadSession. Only the name field needs to be set.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeSession(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession value) { + public Builder mergeSession( + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession value) { if (sessionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - session_ != null && - session_ != com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && session_ != null + && session_ + != com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession + .getDefaultInstance()) { getSessionBuilder().mergeFrom(value); } else { session_ = value; @@ -11957,12 +13966,16 @@ public Builder mergeSession(com.google.cloud.bigquery.storage.v1beta1.Storage.Re return this; } /** + * + * *
        * Required. Must be a non-expired session obtained from a call to
        * CreateReadSession. Only the name field needs to be set.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSession() { bitField0_ = (bitField0_ & ~0x00000001); @@ -11975,58 +13988,78 @@ public Builder clearSession() { return this; } /** + * + * *
        * Required. Must be a non-expired session obtained from a call to
        * CreateReadSession. Only the name field needs to be set.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder getSessionBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder + getSessionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getSessionFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Must be a non-expired session obtained from a call to
        * CreateReadSession. Only the name field needs to be set.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder getSessionOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder + getSessionOrBuilder() { if (sessionBuilder_ != null) { return sessionBuilder_.getMessageOrBuilder(); } else { - return session_ == null ? - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() : session_; + return session_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() + : session_; } } /** + * + * *
        * Required. Must be a non-expired session obtained from a call to
        * CreateReadSession. Only the name field needs to be set.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession, + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder> getSessionFieldBuilder() { if (sessionBuilder_ == null) { - sessionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder>( - getSession(), - getParentForChildren(), - isClean()); + sessionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession, + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder>( + getSession(), getParentForChildren(), isClean()); session_ = null; } return sessionBuilder_; } - private int requestedStreams_ ; + private int requestedStreams_; /** + * + * *
        * Required. Number of new streams requested. Must be positive.
        * Number of added streams may be less than this, see CreateReadSessionRequest
@@ -12034,6 +14067,7 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder ge
        * 
* * int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requestedStreams. */ @java.lang.Override @@ -12041,6 +14075,8 @@ public int getRequestedStreams() { return requestedStreams_; } /** + * + * *
        * Required. Number of new streams requested. Must be positive.
        * Number of added streams may be less than this, see CreateReadSessionRequest
@@ -12048,6 +14084,7 @@ public int getRequestedStreams() {
        * 
* * int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The requestedStreams to set. * @return This builder for chaining. */ @@ -12059,6 +14096,8 @@ public Builder setRequestedStreams(int value) { return this; } /** + * + * *
        * Required. Number of new streams requested. Must be positive.
        * Number of added streams may be less than this, see CreateReadSessionRequest
@@ -12066,6 +14105,7 @@ public Builder setRequestedStreams(int value) {
        * 
* * int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRequestedStreams() { @@ -12074,6 +14114,7 @@ public Builder clearRequestedStreams() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12086,41 +14127,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateReadSessionStreamsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateReadSessionStreamsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12132,26 +14180,30 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface BatchCreateReadSessionStreamsResponseOrBuilder extends + public interface BatchCreateReadSessionStreamsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Newly added streams.
      * 
* * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1; */ - java.util.List - getStreamsList(); + java.util.List getStreamsList(); /** + * + * *
      * Newly added streams.
      * 
@@ -12160,6 +14212,8 @@ public interface BatchCreateReadSessionStreamsResponseOrBuilder extends */ com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int index); /** + * + * *
      * Newly added streams.
      * 
@@ -12168,15 +14222,19 @@ public interface BatchCreateReadSessionStreamsResponseOrBuilder extends */ int getStreamsCount(); /** + * + * *
      * Newly added streams.
      * 
* * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1; */ - java.util.List + java.util.List getStreamsOrBuilderList(); /** + * + * *
      * Newly added streams.
      * 
@@ -12187,50 +14245,62 @@ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBu int index); } /** + * + * *
    * The response from `BatchCreateReadSessionStreams` returns the stream
    * identifiers for the newly created streams.
    * 
* - * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse} + * Protobuf type {@code + * google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse} */ - public static final class BatchCreateReadSessionStreamsResponse extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BatchCreateReadSessionStreamsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse) BatchCreateReadSessionStreamsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateReadSessionStreamsResponse.newBuilder() to construct. - private BatchCreateReadSessionStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchCreateReadSessionStreamsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateReadSessionStreamsResponse() { streams_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateReadSessionStreamsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.class, com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse.class, + com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse.Builder.class); } public static final int STREAMS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List streams_; /** + * + * *
      * Newly added streams.
      * 
@@ -12238,10 +14308,13 @@ protected java.lang.Object newInstance( * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1; */ @java.lang.Override - public java.util.List getStreamsList() { + public java.util.List + getStreamsList() { return streams_; } /** + * + * *
      * Newly added streams.
      * 
@@ -12249,11 +14322,14 @@ public java.util.List * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> getStreamsOrBuilderList() { return streams_; } /** + * + * *
      * Newly added streams.
      * 
@@ -12265,6 +14341,8 @@ public int getStreamsCount() { return streams_.size(); } /** + * + * *
      * Newly added streams.
      * 
@@ -12276,6 +14354,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i return streams_.get(index); } /** + * + * *
      * Newly added streams.
      * 
@@ -12289,6 +14369,7 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12300,8 +14381,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < streams_.size(); i++) { output.writeMessage(1, streams_.get(i)); } @@ -12315,8 +14395,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < streams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, streams_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, streams_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -12326,15 +14405,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse)) { + if (!(obj + instanceof + com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse other = (com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse + other = + (com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse) + obj; - if (!getStreamsList() - .equals(other.getStreamsList())) return false; + if (!getStreamsList().equals(other.getStreamsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -12355,90 +14440,114 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -12448,40 +14557,47 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The response from `BatchCreateReadSessionStreams` returns the stream
      * identifiers for the newly created streams.
      * 
* - * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse} + * Protobuf type {@code + * google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse) - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor; + com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.class, com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse.class, + com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -12497,19 +14613,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse build() { - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse result = buildPartial(); + public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse + build() { + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12517,15 +14637,23 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionS } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse result = new com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse(this); + public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse + buildPartial() { + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse + result = + new com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse + result) { if (streamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -12537,7 +14665,9 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta } } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse + result) { int from_bitField0_ = bitField0_; } @@ -12545,46 +14675,59 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Bat public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse)other); + if (other + instanceof + com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse) { + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse + other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse.getDefaultInstance()) return this; if (streamsBuilder_ == null) { if (!other.streams_.isEmpty()) { if (streams_.isEmpty()) { @@ -12603,9 +14746,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.Batch streamsBuilder_ = null; streams_ = other.streams_; bitField0_ = (bitField0_ & ~0x00000001); - streamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStreamsFieldBuilder() : null; + streamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStreamsFieldBuilder() + : null; } else { streamsBuilder_.addAllMessages(other.streams_); } @@ -12637,25 +14781,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream m = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), - extensionRegistry); - if (streamsBuilder_ == null) { - ensureStreamsIsMutable(); - streams_.add(m); - } else { - streamsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream m = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), + extensionRegistry); + if (streamsBuilder_ == null) { + ensureStreamsIsMutable(); + streams_.add(m); + } else { + streamsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -12665,28 +14811,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List streams_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - streams_ = new java.util.ArrayList(streams_); + streams_ = + new java.util.ArrayList( + streams_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> streamsBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + streamsBuilder_; /** + * + * *
        * Newly added streams.
        * 
* * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1; */ - public java.util.List getStreamsList() { + public java.util.List + getStreamsList() { if (streamsBuilder_ == null) { return java.util.Collections.unmodifiableList(streams_); } else { @@ -12694,6 +14850,8 @@ public java.util.List } } /** + * + * *
        * Newly added streams.
        * 
@@ -12708,6 +14866,8 @@ public int getStreamsCount() { } } /** + * + * *
        * Newly added streams.
        * 
@@ -12722,6 +14882,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i } } /** + * + * *
        * Newly added streams.
        * 
@@ -12743,6 +14905,8 @@ public Builder setStreams( return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12750,7 +14914,8 @@ public Builder setStreams( * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1; */ public Builder setStreams( - int index, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder builderForValue) { + int index, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder builderForValue) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); streams_.set(index, builderForValue.build()); @@ -12761,6 +14926,8 @@ public Builder setStreams( return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12781,6 +14948,8 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.Stre return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12802,6 +14971,8 @@ public Builder addStreams( return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12820,6 +14991,8 @@ public Builder addStreams( return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12827,7 +15000,8 @@ public Builder addStreams( * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1; */ public Builder addStreams( - int index, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder builderForValue) { + int index, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder builderForValue) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); streams_.add(index, builderForValue.build()); @@ -12838,6 +15012,8 @@ public Builder addStreams( return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12845,11 +15021,11 @@ public Builder addStreams( * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1; */ public Builder addAllStreams( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, streams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, streams_); onChanged(); } else { streamsBuilder_.addAllMessages(values); @@ -12857,6 +15033,8 @@ public Builder addAllStreams( return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12874,6 +15052,8 @@ public Builder clearStreams() { return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12891,6 +15071,8 @@ public Builder removeStreams(int index) { return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12902,6 +15084,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea return getStreamsFieldBuilder().getBuilder(index); } /** + * + * *
        * Newly added streams.
        * 
@@ -12911,19 +15095,23 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBuilder( int index) { if (streamsBuilder_ == null) { - return streams_.get(index); } else { + return streams_.get(index); + } else { return streamsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Newly added streams.
        * 
* * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1; */ - public java.util.List - getStreamsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + getStreamsOrBuilderList() { if (streamsBuilder_ != null) { return streamsBuilder_.getMessageOrBuilderList(); } else { @@ -12931,6 +15119,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre } } /** + * + * *
        * Newly added streams.
        * 
@@ -12938,10 +15128,13 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1; */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder addStreamsBuilder() { - return getStreamsFieldBuilder().addBuilder( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()); + return getStreamsFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()); } /** + * + * *
        * Newly added streams.
        * 
@@ -12950,34 +15143,42 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder addStrea */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder addStreamsBuilder( int index) { - return getStreamsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()); + return getStreamsFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()); } /** + * + * *
        * Newly added streams.
        * 
* * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1; */ - public java.util.List - getStreamsBuilderList() { + public java.util.List + getStreamsBuilderList() { return getStreamsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> getStreamsFieldBuilder() { if (streamsBuilder_ == null) { - streamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( - streams_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + streamsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( + streams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); streams_ = null; } return streamsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12990,41 +15191,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateReadSessionStreamsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateReadSessionStreamsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13036,90 +15244,114 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface FinalizeStreamRequestOrBuilder extends + public interface FinalizeStreamRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Stream to finalize.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the stream field is set. */ boolean hasStream(); /** + * + * *
      * Required. Stream to finalize.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The stream. */ com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream(); /** + * + * *
      * Required. Stream to finalize.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamOrBuilder(); } /** + * + * *
    * Request information for invoking `FinalizeStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest} */ - public static final class FinalizeStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class FinalizeStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest) FinalizeStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FinalizeStreamRequest.newBuilder() to construct. private FinalizeStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FinalizeStreamRequest() { - } + + private FinalizeStreamRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FinalizeStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.class, com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.Builder + .class); } public static final int STREAM_FIELD_NUMBER = 2; private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream stream_; /** + * + * *
      * Required. Stream to finalize.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the stream field is set. */ @java.lang.Override @@ -13127,30 +15359,44 @@ public boolean hasStream() { return stream_ != null; } /** + * + * *
      * Required. Stream to finalize.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The stream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() { - return stream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; + return stream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : stream_; } /** + * + * *
      * Required. Stream to finalize.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamOrBuilder() { - return stream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; + return stream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : stream_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13162,8 +15408,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (stream_ != null) { output.writeMessage(2, getStream()); } @@ -13177,8 +15422,7 @@ public int getSerializedSize() { size = 0; if (stream_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStream()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStream()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -13188,17 +15432,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest)) { + if (!(obj + instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest other = (com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest other = + (com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest) obj; if (hasStream() != other.hasStream()) return false; if (hasStream()) { - if (!getStream() - .equals(other.getStream())) return false; + if (!getStream().equals(other.getStream())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -13221,89 +15466,95 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -13313,39 +15564,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request information for invoking `FinalizeStream`.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest) com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.class, com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.Builder + .class); } - // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -13359,19 +15614,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest build() { - com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest result = buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -13379,19 +15637,22 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest b } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest result = new com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest + buildPartial() { + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.stream_ = streamBuilder_ == null - ? stream_ - : streamBuilder_.build(); + result.stream_ = streamBuilder_ == null ? stream_ : streamBuilder_.build(); } } @@ -13399,46 +15660,54 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Fin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest)other); + if (other + instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest) { + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest + .getDefaultInstance()) return this; if (other.hasStream()) { mergeStream(other.getStream()); } @@ -13468,19 +15737,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getStreamFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + input.readMessage(getStreamFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13490,43 +15759,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream stream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> streamBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + streamBuilder_; /** + * + * *
        * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the stream field is set. */ public boolean hasStream() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The stream. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() { if (streamBuilder_ == null) { - return stream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; + return stream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : stream_; } else { return streamBuilder_.getMessage(); } } /** + * + * *
        * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) { if (streamBuilder_ == null) { @@ -13542,11 +15831,15 @@ public Builder setStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Strea return this; } /** + * + * *
        * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setStream( com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder builderForValue) { @@ -13560,17 +15853,23 @@ public Builder setStream( return this; } /** + * + * *
        * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) { if (streamBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - stream_ != null && - stream_ != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && stream_ != null + && stream_ + != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream + .getDefaultInstance()) { getStreamBuilder().mergeFrom(value); } else { stream_ = value; @@ -13583,11 +15882,15 @@ public Builder mergeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Str return this; } /** + * + * *
        * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearStream() { bitField0_ = (bitField0_ & ~0x00000001); @@ -13600,11 +15903,15 @@ public Builder clearStream() { return this; } /** + * + * *
        * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStreamBuilder() { bitField0_ |= 0x00000001; @@ -13612,40 +15919,54 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea return getStreamFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder + getStreamOrBuilder() { if (streamBuilder_ != null) { return streamBuilder_.getMessageOrBuilder(); } else { - return stream_ == null ? - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; + return stream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : stream_; } } /** + * + * *
        * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> getStreamFieldBuilder() { if (streamBuilder_ == null) { - streamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( - getStream(), - getParentForChildren(), - isClean()); + streamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( + getStream(), getParentForChildren(), isClean()); stream_ = null; } return streamBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13658,41 +15979,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinalizeStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinalizeStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13704,44 +16029,61 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SplitReadStreamRequestOrBuilder extends + public interface SplitReadStreamRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Stream to split.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the originalStream field is set. */ boolean hasOriginalStream(); /** + * + * *
      * Required. Stream to split.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The originalStream. */ com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getOriginalStream(); /** + * + * *
      * Required. Stream to split.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getOriginalStreamOrBuilder(); /** + * + * *
      * A value in the range (0.0, 1.0) that specifies the fractional point at
      * which the original stream should be split. The actual split point is
@@ -13753,57 +16095,67 @@ public interface SplitReadStreamRequestOrBuilder extends
      * 
* * float fraction = 2; + * * @return The fraction. */ float getFraction(); } /** + * + * *
    * Request information for `SplitReadStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest} */ - public static final class SplitReadStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SplitReadStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest) SplitReadStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SplitReadStreamRequest.newBuilder() to construct. private SplitReadStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SplitReadStreamRequest() { - } + + private SplitReadStreamRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SplitReadStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.class, com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.Builder + .class); } public static final int ORIGINAL_STREAM_FIELD_NUMBER = 1; private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream originalStream_; /** + * + * *
      * Required. Stream to split.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the originalStream field is set. */ @java.lang.Override @@ -13811,32 +16163,48 @@ public boolean hasOriginalStream() { return originalStream_ != null; } /** + * + * *
      * Required. Stream to split.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The originalStream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getOriginalStream() { - return originalStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : originalStream_; + return originalStream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : originalStream_; } /** + * + * *
      * Required. Stream to split.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getOriginalStreamOrBuilder() { - return originalStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : originalStream_; + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder + getOriginalStreamOrBuilder() { + return originalStream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : originalStream_; } public static final int FRACTION_FIELD_NUMBER = 2; private float fraction_ = 0F; /** + * + * *
      * A value in the range (0.0, 1.0) that specifies the fractional point at
      * which the original stream should be split. The actual split point is
@@ -13848,6 +16216,7 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getOrig
      * 
* * float fraction = 2; + * * @return The fraction. */ @java.lang.Override @@ -13856,6 +16225,7 @@ public float getFraction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13867,8 +16237,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (originalStream_ != null) { output.writeMessage(1, getOriginalStream()); } @@ -13885,12 +16254,10 @@ public int getSerializedSize() { size = 0; if (originalStream_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOriginalStream()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalStream()); } if (java.lang.Float.floatToRawIntBits(fraction_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, fraction_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, fraction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -13900,21 +16267,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest)) { + if (!(obj + instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest other = (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest other = + (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest) obj; if (hasOriginalStream() != other.hasOriginalStream()) return false; if (hasOriginalStream()) { - if (!getOriginalStream() - .equals(other.getOriginalStream())) return false; + if (!getOriginalStream().equals(other.getOriginalStream())) return false; } if (java.lang.Float.floatToIntBits(getFraction()) - != java.lang.Float.floatToIntBits( - other.getFraction())) return false; + != java.lang.Float.floatToIntBits(other.getFraction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -13931,97 +16298,107 @@ public int hashCode() { hash = (53 * hash) + getOriginalStream().hashCode(); } hash = (37 * hash) + FRACTION_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getFraction()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getFraction()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -14031,39 +16408,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request information for `SplitReadStream`.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest) com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.class, com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.Builder + .class); } - // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -14078,19 +16459,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest build() { - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest result = buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14098,19 +16482,23 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest result = new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + buildPartial() { + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalStream_ = originalStreamBuilder_ == null - ? originalStream_ - : originalStreamBuilder_.build(); + result.originalStream_ = + originalStreamBuilder_ == null ? originalStream_ : originalStreamBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.fraction_ = fraction_; @@ -14121,46 +16509,54 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Spl public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest)other); + if (other + instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest) { + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + .getDefaultInstance()) return this; if (other.hasOriginalStream()) { mergeOriginalStream(other.getOriginalStream()); } @@ -14193,24 +16589,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getOriginalStreamFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 21: { - fraction_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 21 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getOriginalStreamFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 21: + { + fraction_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -14220,45 +16618,66 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream originalStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> originalStreamBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + originalStreamBuilder_; /** + * + * *
        * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the originalStream field is set. */ public boolean hasOriginalStream() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The originalStream. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getOriginalStream() { if (originalStreamBuilder_ == null) { - return originalStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : originalStream_; + return originalStream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : originalStream_; } else { return originalStreamBuilder_.getMessage(); } } /** + * + * *
        * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOriginalStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) { + public Builder setOriginalStream( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) { if (originalStreamBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14272,11 +16691,15 @@ public Builder setOriginalStream(com.google.cloud.bigquery.storage.v1beta1.Stora return this; } /** + * + * *
        * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOriginalStream( com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder builderForValue) { @@ -14290,17 +16713,24 @@ public Builder setOriginalStream( return this; } /** + * + * *
        * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeOriginalStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) { + public Builder mergeOriginalStream( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) { if (originalStreamBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - originalStream_ != null && - originalStream_ != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && originalStream_ != null + && originalStream_ + != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream + .getDefaultInstance()) { getOriginalStreamBuilder().mergeFrom(value); } else { originalStream_ = value; @@ -14313,11 +16743,15 @@ public Builder mergeOriginalStream(com.google.cloud.bigquery.storage.v1beta1.Sto return this; } /** + * + * *
        * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOriginalStream() { bitField0_ = (bitField0_ & ~0x00000001); @@ -14330,55 +16764,75 @@ public Builder clearOriginalStream() { return this; } /** + * + * *
        * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getOriginalStreamBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder + getOriginalStreamBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOriginalStreamFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getOriginalStreamOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder + getOriginalStreamOrBuilder() { if (originalStreamBuilder_ != null) { return originalStreamBuilder_.getMessageOrBuilder(); } else { - return originalStream_ == null ? - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : originalStream_; + return originalStream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : originalStream_; } } /** + * + * *
        * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> getOriginalStreamFieldBuilder() { if (originalStreamBuilder_ == null) { - originalStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( - getOriginalStream(), - getParentForChildren(), - isClean()); + originalStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( + getOriginalStream(), getParentForChildren(), isClean()); originalStream_ = null; } return originalStreamBuilder_; } - private float fraction_ ; + private float fraction_; /** + * + * *
        * A value in the range (0.0, 1.0) that specifies the fractional point at
        * which the original stream should be split. The actual split point is
@@ -14390,6 +16844,7 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getOrig
        * 
* * float fraction = 2; + * * @return The fraction. */ @java.lang.Override @@ -14397,6 +16852,8 @@ public float getFraction() { return fraction_; } /** + * + * *
        * A value in the range (0.0, 1.0) that specifies the fractional point at
        * which the original stream should be split. The actual split point is
@@ -14408,6 +16865,7 @@ public float getFraction() {
        * 
* * float fraction = 2; + * * @param value The fraction to set. * @return This builder for chaining. */ @@ -14419,6 +16877,8 @@ public Builder setFraction(float value) { return this; } /** + * + * *
        * A value in the range (0.0, 1.0) that specifies the fractional point at
        * which the original stream should be split. The actual split point is
@@ -14430,6 +16890,7 @@ public Builder setFraction(float value) {
        * 
* * float fraction = 2; + * * @return This builder for chaining. */ public Builder clearFraction() { @@ -14438,6 +16899,7 @@ public Builder clearFraction() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14450,41 +16912,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SplitReadStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SplitReadStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14496,17 +16962,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SplitReadStreamResponseOrBuilder extends + public interface SplitReadStreamResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.SplitReadStreamResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -14514,10 +16983,13 @@ public interface SplitReadStreamResponseOrBuilder extends
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ boolean hasPrimaryStream(); /** + * + * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -14525,10 +16997,13 @@ public interface SplitReadStreamResponseOrBuilder extends
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1; + * * @return The primaryStream. */ com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getPrimaryStream(); /** + * + * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -14540,26 +17015,34 @@ public interface SplitReadStreamResponseOrBuilder extends
     com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getPrimaryStreamOrBuilder();
 
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2; + * * @return Whether the remainderStream field is set. */ boolean hasRemainderStream(); /** + * + * *
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2; + * * @return The remainderStream. */ com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getRemainderStream(); /** + * + * *
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -14570,47 +17053,53 @@ public interface SplitReadStreamResponseOrBuilder extends
     com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getRemainderStreamOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Response from `SplitReadStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.SplitReadStreamResponse} */ - public static final class SplitReadStreamResponse extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SplitReadStreamResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.SplitReadStreamResponse) SplitReadStreamResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SplitReadStreamResponse.newBuilder() to construct. private SplitReadStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SplitReadStreamResponse() { - } + + private SplitReadStreamResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SplitReadStreamResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.class, com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.Builder + .class); } public static final int PRIMARY_STREAM_FIELD_NUMBER = 1; private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream primaryStream_; /** + * + * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -14618,6 +17107,7 @@ protected java.lang.Object newInstance(
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ @java.lang.Override @@ -14625,6 +17115,8 @@ public boolean hasPrimaryStream() { return primaryStream_ != null; } /** + * + * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -14632,13 +17124,18 @@ public boolean hasPrimaryStream() {
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1; + * * @return The primaryStream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getPrimaryStream() { - return primaryStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : primaryStream_; + return primaryStream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : primaryStream_; } /** + * + * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -14648,19 +17145,25 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getPrimaryStream
      * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;
      */
     @java.lang.Override
-    public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getPrimaryStreamOrBuilder() {
-      return primaryStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : primaryStream_;
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder
+        getPrimaryStreamOrBuilder() {
+      return primaryStream_ == null
+          ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()
+          : primaryStream_;
     }
 
     public static final int REMAINDER_STREAM_FIELD_NUMBER = 2;
     private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream remainderStream_;
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2; + * * @return Whether the remainderStream field is set. */ @java.lang.Override @@ -14668,19 +17171,26 @@ public boolean hasRemainderStream() { return remainderStream_ != null; } /** + * + * *
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2; + * * @return The remainderStream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getRemainderStream() { - return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : remainderStream_; + return remainderStream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : remainderStream_; } /** + * + * *
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -14689,11 +17199,15 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getRemainderStre
      * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;
      */
     @java.lang.Override
-    public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getRemainderStreamOrBuilder() {
-      return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : remainderStream_;
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder
+        getRemainderStreamOrBuilder() {
+      return remainderStream_ == null
+          ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()
+          : remainderStream_;
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -14705,8 +17219,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (primaryStream_ != null) {
         output.writeMessage(1, getPrimaryStream());
       }
@@ -14723,12 +17236,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (primaryStream_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getPrimaryStream());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPrimaryStream());
       }
       if (remainderStream_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getRemainderStream());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRemainderStream());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -14738,22 +17249,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
-      if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse)) {
+      if (!(obj
+          instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse)) {
         return super.equals(obj);
       }
-      com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse other = (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse) obj;
+      com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse other =
+          (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse) obj;
 
       if (hasPrimaryStream() != other.hasPrimaryStream()) return false;
       if (hasPrimaryStream()) {
-        if (!getPrimaryStream()
-            .equals(other.getPrimaryStream())) return false;
+        if (!getPrimaryStream().equals(other.getPrimaryStream())) return false;
       }
       if (hasRemainderStream() != other.hasRemainderStream()) return false;
       if (hasRemainderStream()) {
-        if (!getRemainderStream()
-            .equals(other.getRemainderStream())) return false;
+        if (!getRemainderStream().equals(other.getRemainderStream())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -14779,90 +17290,101 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        parseFrom(java.nio.ByteBuffer data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        parseFrom(
+            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        parseFrom(com.google.protobuf.ByteString data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        parseFrom(
+            com.google.protobuf.ByteString data,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        parseFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        parseFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
-    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parseFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        parseFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -14872,39 +17394,43 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Response from `SplitReadStream`.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.SplitReadStreamResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.SplitReadStreamResponse) com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.class, com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.class, + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.Builder + .class); } - // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -14923,19 +17449,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage + .internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse build() { - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse result = buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14943,24 +17472,27 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse result = new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse + buildPartial() { + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.primaryStream_ = primaryStreamBuilder_ == null - ? primaryStream_ - : primaryStreamBuilder_.build(); + result.primaryStream_ = + primaryStreamBuilder_ == null ? primaryStream_ : primaryStreamBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.remainderStream_ = remainderStreamBuilder_ == null - ? remainderStream_ - : remainderStreamBuilder_.build(); + result.remainderStream_ = + remainderStreamBuilder_ == null ? remainderStream_ : remainderStreamBuilder_.build(); } } @@ -14968,46 +17500,54 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Spl public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse)other); + if (other + instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse) { + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse + .getDefaultInstance()) return this; if (other.hasPrimaryStream()) { mergePrimaryStream(other.getPrimaryStream()); } @@ -15040,26 +17580,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPrimaryStreamFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRemainderStreamFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getPrimaryStreamFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getRemainderStreamFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15069,12 +17609,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream primaryStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> primaryStreamBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + primaryStreamBuilder_; /** + * + * *
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -15082,12 +17628,15 @@ public Builder mergeFrom(
        * 
* * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ public boolean hasPrimaryStream() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -15095,16 +17644,21 @@ public boolean hasPrimaryStream() {
        * 
* * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1; + * * @return The primaryStream. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getPrimaryStream() { if (primaryStreamBuilder_ == null) { - return primaryStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : primaryStream_; + return primaryStream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : primaryStream_; } else { return primaryStreamBuilder_.getMessage(); } } /** + * + * *
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -15113,7 +17667,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getPrimaryStream
        *
        * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;
        */
-      public Builder setPrimaryStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) {
+      public Builder setPrimaryStream(
+          com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) {
         if (primaryStreamBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -15127,6 +17682,8 @@ public Builder setPrimaryStream(com.google.cloud.bigquery.storage.v1beta1.Storag
         return this;
       }
       /**
+       *
+       *
        * 
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -15147,6 +17704,8 @@ public Builder setPrimaryStream(
         return this;
       }
       /**
+       *
+       *
        * 
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -15155,11 +17714,14 @@ public Builder setPrimaryStream(
        *
        * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;
        */
-      public Builder mergePrimaryStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) {
+      public Builder mergePrimaryStream(
+          com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) {
         if (primaryStreamBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0) &&
-            primaryStream_ != null &&
-            primaryStream_ != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0)
+              && primaryStream_ != null
+              && primaryStream_
+                  != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream
+                      .getDefaultInstance()) {
             getPrimaryStreamBuilder().mergeFrom(value);
           } else {
             primaryStream_ = value;
@@ -15172,6 +17734,8 @@ public Builder mergePrimaryStream(com.google.cloud.bigquery.storage.v1beta1.Stor
         return this;
       }
       /**
+       *
+       *
        * 
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -15191,6 +17755,8 @@ public Builder clearPrimaryStream() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -15199,12 +17765,15 @@ public Builder clearPrimaryStream() {
        *
        * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;
        */
-      public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getPrimaryStreamBuilder() {
+      public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder
+          getPrimaryStreamBuilder() {
         bitField0_ |= 0x00000001;
         onChanged();
         return getPrimaryStreamFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -15213,15 +17782,19 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getPrima
        *
        * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;
        */
-      public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getPrimaryStreamOrBuilder() {
+      public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder
+          getPrimaryStreamOrBuilder() {
         if (primaryStreamBuilder_ != null) {
           return primaryStreamBuilder_.getMessageOrBuilder();
         } else {
-          return primaryStream_ == null ?
-              com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : primaryStream_;
+          return primaryStream_ == null
+              ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()
+              : primaryStream_;
         }
       }
       /**
+       *
+       *
        * 
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -15231,14 +17804,17 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getPrim
        * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> 
+              com.google.cloud.bigquery.storage.v1beta1.Storage.Stream,
+              com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder,
+              com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>
           getPrimaryStreamFieldBuilder() {
         if (primaryStreamBuilder_ == null) {
-          primaryStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>(
-                  getPrimaryStream(),
-                  getParentForChildren(),
-                  isClean());
+          primaryStreamBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.bigquery.storage.v1beta1.Storage.Stream,
+                  com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder,
+                  com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>(
+                  getPrimaryStream(), getParentForChildren(), isClean());
           primaryStream_ = null;
         }
         return primaryStreamBuilder_;
@@ -15246,36 +17822,49 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getPrim
 
       private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream remainderStream_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> remainderStreamBuilder_;
+              com.google.cloud.bigquery.storage.v1beta1.Storage.Stream,
+              com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder,
+              com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>
+          remainderStreamBuilder_;
       /**
+       *
+       *
        * 
        * Remainder stream, which contains the tail of |original_stream|. An empty
        * value indicates that the original stream can no longer be split.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2; + * * @return Whether the remainderStream field is set. */ public boolean hasRemainderStream() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Remainder stream, which contains the tail of |original_stream|. An empty
        * value indicates that the original stream can no longer be split.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2; + * * @return The remainderStream. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getRemainderStream() { if (remainderStreamBuilder_ == null) { - return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : remainderStream_; + return remainderStream_ == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() + : remainderStream_; } else { return remainderStreamBuilder_.getMessage(); } } /** + * + * *
        * Remainder stream, which contains the tail of |original_stream|. An empty
        * value indicates that the original stream can no longer be split.
@@ -15283,7 +17872,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getRemainderStre
        *
        * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;
        */
-      public Builder setRemainderStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) {
+      public Builder setRemainderStream(
+          com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) {
         if (remainderStreamBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -15297,6 +17887,8 @@ public Builder setRemainderStream(com.google.cloud.bigquery.storage.v1beta1.Stor
         return this;
       }
       /**
+       *
+       *
        * 
        * Remainder stream, which contains the tail of |original_stream|. An empty
        * value indicates that the original stream can no longer be split.
@@ -15316,6 +17908,8 @@ public Builder setRemainderStream(
         return this;
       }
       /**
+       *
+       *
        * 
        * Remainder stream, which contains the tail of |original_stream|. An empty
        * value indicates that the original stream can no longer be split.
@@ -15323,11 +17917,14 @@ public Builder setRemainderStream(
        *
        * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;
        */
-      public Builder mergeRemainderStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) {
+      public Builder mergeRemainderStream(
+          com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) {
         if (remainderStreamBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0) &&
-            remainderStream_ != null &&
-            remainderStream_ != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0)
+              && remainderStream_ != null
+              && remainderStream_
+                  != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream
+                      .getDefaultInstance()) {
             getRemainderStreamBuilder().mergeFrom(value);
           } else {
             remainderStream_ = value;
@@ -15340,6 +17937,8 @@ public Builder mergeRemainderStream(com.google.cloud.bigquery.storage.v1beta1.St
         return this;
       }
       /**
+       *
+       *
        * 
        * Remainder stream, which contains the tail of |original_stream|. An empty
        * value indicates that the original stream can no longer be split.
@@ -15358,6 +17957,8 @@ public Builder clearRemainderStream() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Remainder stream, which contains the tail of |original_stream|. An empty
        * value indicates that the original stream can no longer be split.
@@ -15365,12 +17966,15 @@ public Builder clearRemainderStream() {
        *
        * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;
        */
-      public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getRemainderStreamBuilder() {
+      public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder
+          getRemainderStreamBuilder() {
         bitField0_ |= 0x00000002;
         onChanged();
         return getRemainderStreamFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Remainder stream, which contains the tail of |original_stream|. An empty
        * value indicates that the original stream can no longer be split.
@@ -15378,15 +17982,19 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getRemai
        *
        * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;
        */
-      public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getRemainderStreamOrBuilder() {
+      public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder
+          getRemainderStreamOrBuilder() {
         if (remainderStreamBuilder_ != null) {
           return remainderStreamBuilder_.getMessageOrBuilder();
         } else {
-          return remainderStream_ == null ?
-              com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : remainderStream_;
+          return remainderStream_ == null
+              ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()
+              : remainderStream_;
         }
       }
       /**
+       *
+       *
        * 
        * Remainder stream, which contains the tail of |original_stream|. An empty
        * value indicates that the original stream can no longer be split.
@@ -15395,18 +18003,22 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getRema
        * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> 
+              com.google.cloud.bigquery.storage.v1beta1.Storage.Stream,
+              com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder,
+              com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>
           getRemainderStreamFieldBuilder() {
         if (remainderStreamBuilder_ == null) {
-          remainderStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>(
-                  getRemainderStream(),
-                  getParentForChildren(),
-                  isClean());
+          remainderStreamBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.bigquery.storage.v1beta1.Storage.Stream,
+                  com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder,
+                  com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>(
+                  getRemainderStream(), getParentForChildren(), isClean());
           remainderStream_ = null;
         }
         return remainderStreamBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -15419,41 +18031,45 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.SplitReadStreamResponse)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.SplitReadStreamResponse)
-    private static final com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse DEFAULT_INSTANCE;
+    private static final com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse();
+      DEFAULT_INSTANCE =
+          new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse();
     }
 
-    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse getDefaultInstance() {
+    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public SplitReadStreamResponse parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public SplitReadStreamResponse parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -15465,316 +18081,353 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_bigquery_storage_v1beta1_Stream_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_bigquery_storage_v1beta1_Progress_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_fieldAccessorTable;
 
-  public static com.google.protobuf.Descriptors.FileDescriptor
-      getDescriptor() {
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     return descriptor;
   }
-  private static  com.google.protobuf.Descriptors.FileDescriptor
-      descriptor;
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
   static {
     java.lang.String[] descriptorData = {
-      "\n3google/cloud/bigquery/storage/v1beta1/" +
-      "storage.proto\022%google.cloud.bigquery.sto" +
-      "rage.v1beta1\032\034google/api/annotations.pro" +
-      "to\032\027google/api/client.proto\032\037google/api/" +
-      "field_behavior.proto\032\031google/api/resourc" +
-      "e.proto\0321google/cloud/bigquery/storage/v" +
-      "1beta1/arrow.proto\0320google/cloud/bigquer" +
-      "y/storage/v1beta1/avro.proto\0328google/clo" +
-      "ud/bigquery/storage/v1beta1/read_options" +
-      ".proto\032;google/cloud/bigquery/storage/v1" +
-      "beta1/table_reference.proto\032\033google/prot" +
-      "obuf/empty.proto\032\037google/protobuf/timest" +
-      "amp.proto\"|\n\006Stream\022\014\n\004name\030\001 \001(\t:d\352Aa\n%" +
-      "bigquerystorage.googleapis.com/Stream\0228p" +
-      "rojects/{project}/locations/{location}/s" +
-      "treams/{stream}\"_\n\016StreamPosition\022=\n\006str" +
-      "eam\030\001 \001(\0132-.google.cloud.bigquery.storag" +
-      "e.v1beta1.Stream\022\016\n\006offset\030\002 \001(\003\"\215\005\n\013Rea" +
-      "dSession\022\014\n\004name\030\001 \001(\t\022/\n\013expire_time\030\002 " +
-      "\001(\0132\032.google.protobuf.Timestamp\022H\n\013avro_" +
-      "schema\030\005 \001(\01321.google.cloud.bigquery.sto" +
-      "rage.v1beta1.AvroSchemaH\000\022J\n\014arrow_schem" +
-      "a\030\006 \001(\01322.google.cloud.bigquery.storage." +
-      "v1beta1.ArrowSchemaH\000\022>\n\007streams\030\004 \003(\0132-" +
-      ".google.cloud.bigquery.storage.v1beta1.S" +
-      "tream\022N\n\017table_reference\030\007 \001(\01325.google." +
-      "cloud.bigquery.storage.v1beta1.TableRefe" +
-      "rence\022N\n\017table_modifiers\030\010 \001(\01325.google." +
-      "cloud.bigquery.storage.v1beta1.TableModi" +
-      "fiers\022R\n\021sharding_strategy\030\t \001(\01627.googl" +
-      "e.cloud.bigquery.storage.v1beta1.Shardin" +
-      "gStrategy:k\352Ah\n*bigquerystorage.googleap" +
-      "is.com/ReadSession\022:projects/{project}/l" +
-      "ocations/{location}/sessions/{session}B\010" +
-      "\n\006schema\"\207\004\n\030CreateReadSessionRequest\022T\n" +
-      "\017table_reference\030\001 \001(\01325.google.cloud.bi" +
-      "gquery.storage.v1beta1.TableReferenceB\004\342" +
-      "A\001\002\022D\n\006parent\030\006 \001(\tB4\342A\001\002\372A-\n+cloudresou" +
-      "rcemanager.googleapis.com/Project\022N\n\017tab" +
-      "le_modifiers\030\002 \001(\01325.google.cloud.bigque" +
-      "ry.storage.v1beta1.TableModifiers\022\031\n\021req" +
-      "uested_streams\030\003 \001(\005\022M\n\014read_options\030\004 \001" +
-      "(\01327.google.cloud.bigquery.storage.v1bet" +
-      "a1.TableReadOptions\022A\n\006format\030\005 \001(\01621.go" +
-      "ogle.cloud.bigquery.storage.v1beta1.Data" +
-      "Format\022R\n\021sharding_strategy\030\007 \001(\01627.goog" +
-      "le.cloud.bigquery.storage.v1beta1.Shardi" +
-      "ngStrategy\"e\n\017ReadRowsRequest\022R\n\rread_po" +
-      "sition\030\001 \001(\01325.google.cloud.bigquery.sto" +
-      "rage.v1beta1.StreamPositionB\004\342A\001\002\"\240\001\n\014St" +
-      "reamStatus\022\033\n\023estimated_row_count\030\001 \001(\003\022" +
-      "\031\n\021fraction_consumed\030\002 \001(\002\022A\n\010progress\030\004" +
-      " \001(\0132/.google.cloud.bigquery.storage.v1b" +
-      "eta1.Progress\022\025\n\ris_splittable\030\003 \001(\010\">\n\010" +
-      "Progress\022\031\n\021at_response_start\030\001 \001(\002\022\027\n\017a" +
-      "t_response_end\030\002 \001(\002\"*\n\016ThrottleStatus\022\030" +
-      "\n\020throttle_percent\030\001 \001(\005\"\213\004\n\020ReadRowsRes" +
-      "ponse\022D\n\tavro_rows\030\003 \001(\0132/.google.cloud." +
-      "bigquery.storage.v1beta1.AvroRowsH\000\022U\n\022a" +
-      "rrow_record_batch\030\004 \001(\01327.google.cloud.b" +
-      "igquery.storage.v1beta1.ArrowRecordBatch" +
-      "H\000\022\021\n\trow_count\030\006 \001(\003\022C\n\006status\030\002 \001(\01323." +
-      "google.cloud.bigquery.storage.v1beta1.St" +
-      "reamStatus\022N\n\017throttle_status\030\005 \001(\01325.go" +
-      "ogle.cloud.bigquery.storage.v1beta1.Thro" +
-      "ttleStatus\022N\n\013avro_schema\030\007 \001(\01321.google" +
-      ".cloud.bigquery.storage.v1beta1.AvroSche" +
-      "maB\004\342A\001\003H\001\022P\n\014arrow_schema\030\010 \001(\01322.googl" +
-      "e.cloud.bigquery.storage.v1beta1.ArrowSc" +
-      "hemaB\004\342A\001\003H\001B\006\n\004rowsB\010\n\006schema\"\222\001\n$Batch" +
-      "CreateReadSessionStreamsRequest\022I\n\007sessi" +
-      "on\030\001 \001(\01322.google.cloud.bigquery.storage" +
-      ".v1beta1.ReadSessionB\004\342A\001\002\022\037\n\021requested_" +
-      "streams\030\002 \001(\005B\004\342A\001\002\"g\n%BatchCreateReadSe" +
-      "ssionStreamsResponse\022>\n\007streams\030\001 \003(\0132-." +
-      "google.cloud.bigquery.storage.v1beta1.St" +
-      "ream\"\\\n\025FinalizeStreamRequest\022C\n\006stream\030" +
-      "\002 \001(\0132-.google.cloud.bigquery.storage.v1" +
-      "beta1.StreamB\004\342A\001\002\"x\n\026SplitReadStreamReq" +
-      "uest\022L\n\017original_stream\030\001 \001(\0132-.google.c" +
-      "loud.bigquery.storage.v1beta1.StreamB\004\342A" +
-      "\001\002\022\020\n\010fraction\030\002 \001(\002\"\251\001\n\027SplitReadStream" +
-      "Response\022E\n\016primary_stream\030\001 \001(\0132-.googl" +
-      "e.cloud.bigquery.storage.v1beta1.Stream\022" +
-      "G\n\020remainder_stream\030\002 \001(\0132-.google.cloud" +
-      ".bigquery.storage.v1beta1.Stream*>\n\nData" +
-      "Format\022\033\n\027DATA_FORMAT_UNSPECIFIED\020\000\022\010\n\004A" +
-      "VRO\020\001\022\t\n\005ARROW\020\003*O\n\020ShardingStrategy\022!\n\035" +
-      "SHARDING_STRATEGY_UNSPECIFIED\020\000\022\n\n\006LIQUI" +
-      "D\020\001\022\014\n\010BALANCED\020\0022\267\n\n\017BigQueryStorage\022\263\002" +
-      "\n\021CreateReadSession\022?.google.cloud.bigqu" +
-      "ery.storage.v1beta1.CreateReadSessionReq" +
-      "uest\0322.google.cloud.bigquery.storage.v1b" +
-      "eta1.ReadSession\"\250\001\332A(table_reference,pa" +
-      "rent,requested_streams\202\323\344\223\002w\"0/v1beta1/{" +
-      "table_reference.project_id=projects/*}:\001" +
-      "*Z@\";/v1beta1/{table_reference.dataset_i" +
-      "d=projects/*/datasets/*}:\001*\022\320\001\n\010ReadRows" +
-      "\0226.google.cloud.bigquery.storage.v1beta1" +
-      ".ReadRowsRequest\0327.google.cloud.bigquery" +
-      ".storage.v1beta1.ReadRowsResponse\"Q\332A\rre" +
-      "ad_position\202\323\344\223\002;\0229/v1beta1/{read_positi" +
-      "on.stream.name=projects/*/streams/*}0\001\022\220" +
-      "\002\n\035BatchCreateReadSessionStreams\022K.googl" +
-      "e.cloud.bigquery.storage.v1beta1.BatchCr" +
-      "eateReadSessionStreamsRequest\032L.google.c" +
-      "loud.bigquery.storage.v1beta1.BatchCreat" +
-      "eReadSessionStreamsResponse\"T\332A\031session," +
-      "requested_streams\202\323\344\223\0022\"-/v1beta1/{sessi" +
-      "on.name=projects/*/sessions/*}:\001*\022\247\001\n\016Fi" +
-      "nalizeStream\022<.google.cloud.bigquery.sto" +
-      "rage.v1beta1.FinalizeStreamRequest\032\026.goo" +
-      "gle.protobuf.Empty\"?\332A\006stream\202\323\344\223\0020\"+/v1" +
-      "beta1/{stream.name=projects/*/streams/*}" +
-      ":\001*\022\340\001\n\017SplitReadStream\022=.google.cloud.b" +
-      "igquery.storage.v1beta1.SplitReadStreamR" +
-      "equest\032>.google.cloud.bigquery.storage.v" +
-      "1beta1.SplitReadStreamResponse\"N\332A\017origi" +
-      "nal_stream\202\323\344\223\0026\0224/v1beta1/{original_str" +
-      "eam.name=projects/*/streams/*}\032{\312A\036bigqu" +
-      "erystorage.googleapis.com\322AWhttps://www." +
-      "googleapis.com/auth/bigquery,https://www" +
-      ".googleapis.com/auth/cloud-platformBp\n)c" +
-      "om.google.cloud.bigquery.storage.v1beta1" +
-      "ZCcloud.google.com/go/bigquery/storage/a" +
-      "piv1beta1/storagepb;storagepbb\006proto3"
+      "\n3google/cloud/bigquery/storage/v1beta1/"
+          + "storage.proto\022%google.cloud.bigquery.sto"
+          + "rage.v1beta1\032\034google/api/annotations.pro"
+          + "to\032\027google/api/client.proto\032\037google/api/"
+          + "field_behavior.proto\032\031google/api/resourc"
+          + "e.proto\0321google/cloud/bigquery/storage/v"
+          + "1beta1/arrow.proto\0320google/cloud/bigquer"
+          + "y/storage/v1beta1/avro.proto\0328google/clo"
+          + "ud/bigquery/storage/v1beta1/read_options"
+          + ".proto\032;google/cloud/bigquery/storage/v1"
+          + "beta1/table_reference.proto\032\033google/prot"
+          + "obuf/empty.proto\032\037google/protobuf/timest"
+          + "amp.proto\"|\n\006Stream\022\014\n\004name\030\001 \001(\t:d\352Aa\n%"
+          + "bigquerystorage.googleapis.com/Stream\0228p"
+          + "rojects/{project}/locations/{location}/s"
+          + "treams/{stream}\"_\n\016StreamPosition\022=\n\006str"
+          + "eam\030\001 \001(\0132-.google.cloud.bigquery.storag"
+          + "e.v1beta1.Stream\022\016\n\006offset\030\002 \001(\003\"\215\005\n\013Rea"
+          + "dSession\022\014\n\004name\030\001 \001(\t\022/\n\013expire_time\030\002 "
+          + "\001(\0132\032.google.protobuf.Timestamp\022H\n\013avro_"
+          + "schema\030\005 \001(\01321.google.cloud.bigquery.sto"
+          + "rage.v1beta1.AvroSchemaH\000\022J\n\014arrow_schem"
+          + "a\030\006 \001(\01322.google.cloud.bigquery.storage."
+          + "v1beta1.ArrowSchemaH\000\022>\n\007streams\030\004 \003(\0132-"
+          + ".google.cloud.bigquery.storage.v1beta1.S"
+          + "tream\022N\n\017table_reference\030\007 \001(\01325.google."
+          + "cloud.bigquery.storage.v1beta1.TableRefe"
+          + "rence\022N\n\017table_modifiers\030\010 \001(\01325.google."
+          + "cloud.bigquery.storage.v1beta1.TableModi"
+          + "fiers\022R\n\021sharding_strategy\030\t \001(\01627.googl"
+          + "e.cloud.bigquery.storage.v1beta1.Shardin"
+          + "gStrategy:k\352Ah\n*bigquerystorage.googleap"
+          + "is.com/ReadSession\022:projects/{project}/l"
+          + "ocations/{location}/sessions/{session}B\010"
+          + "\n\006schema\"\207\004\n\030CreateReadSessionRequest\022T\n"
+          + "\017table_reference\030\001 \001(\01325.google.cloud.bi"
+          + "gquery.storage.v1beta1.TableReferenceB\004\342"
+          + "A\001\002\022D\n\006parent\030\006 \001(\tB4\342A\001\002\372A-\n+cloudresou"
+          + "rcemanager.googleapis.com/Project\022N\n\017tab"
+          + "le_modifiers\030\002 \001(\01325.google.cloud.bigque"
+          + "ry.storage.v1beta1.TableModifiers\022\031\n\021req"
+          + "uested_streams\030\003 \001(\005\022M\n\014read_options\030\004 \001"
+          + "(\01327.google.cloud.bigquery.storage.v1bet"
+          + "a1.TableReadOptions\022A\n\006format\030\005 \001(\01621.go"
+          + "ogle.cloud.bigquery.storage.v1beta1.Data"
+          + "Format\022R\n\021sharding_strategy\030\007 \001(\01627.goog"
+          + "le.cloud.bigquery.storage.v1beta1.Shardi"
+          + "ngStrategy\"e\n\017ReadRowsRequest\022R\n\rread_po"
+          + "sition\030\001 \001(\01325.google.cloud.bigquery.sto"
+          + "rage.v1beta1.StreamPositionB\004\342A\001\002\"\240\001\n\014St"
+          + "reamStatus\022\033\n\023estimated_row_count\030\001 \001(\003\022"
+          + "\031\n\021fraction_consumed\030\002 \001(\002\022A\n\010progress\030\004"
+          + " \001(\0132/.google.cloud.bigquery.storage.v1b"
+          + "eta1.Progress\022\025\n\ris_splittable\030\003 \001(\010\">\n\010"
+          + "Progress\022\031\n\021at_response_start\030\001 \001(\002\022\027\n\017a"
+          + "t_response_end\030\002 \001(\002\"*\n\016ThrottleStatus\022\030"
+          + "\n\020throttle_percent\030\001 \001(\005\"\213\004\n\020ReadRowsRes"
+          + "ponse\022D\n\tavro_rows\030\003 \001(\0132/.google.cloud."
+          + "bigquery.storage.v1beta1.AvroRowsH\000\022U\n\022a"
+          + "rrow_record_batch\030\004 \001(\01327.google.cloud.b"
+          + "igquery.storage.v1beta1.ArrowRecordBatch"
+          + "H\000\022\021\n\trow_count\030\006 \001(\003\022C\n\006status\030\002 \001(\01323."
+          + "google.cloud.bigquery.storage.v1beta1.St"
+          + "reamStatus\022N\n\017throttle_status\030\005 \001(\01325.go"
+          + "ogle.cloud.bigquery.storage.v1beta1.Thro"
+          + "ttleStatus\022N\n\013avro_schema\030\007 \001(\01321.google"
+          + ".cloud.bigquery.storage.v1beta1.AvroSche"
+          + "maB\004\342A\001\003H\001\022P\n\014arrow_schema\030\010 \001(\01322.googl"
+          + "e.cloud.bigquery.storage.v1beta1.ArrowSc"
+          + "hemaB\004\342A\001\003H\001B\006\n\004rowsB\010\n\006schema\"\222\001\n$Batch"
+          + "CreateReadSessionStreamsRequest\022I\n\007sessi"
+          + "on\030\001 \001(\01322.google.cloud.bigquery.storage"
+          + ".v1beta1.ReadSessionB\004\342A\001\002\022\037\n\021requested_"
+          + "streams\030\002 \001(\005B\004\342A\001\002\"g\n%BatchCreateReadSe"
+          + "ssionStreamsResponse\022>\n\007streams\030\001 \003(\0132-."
+          + "google.cloud.bigquery.storage.v1beta1.St"
+          + "ream\"\\\n\025FinalizeStreamRequest\022C\n\006stream\030"
+          + "\002 \001(\0132-.google.cloud.bigquery.storage.v1"
+          + "beta1.StreamB\004\342A\001\002\"x\n\026SplitReadStreamReq"
+          + "uest\022L\n\017original_stream\030\001 \001(\0132-.google.c"
+          + "loud.bigquery.storage.v1beta1.StreamB\004\342A"
+          + "\001\002\022\020\n\010fraction\030\002 \001(\002\"\251\001\n\027SplitReadStream"
+          + "Response\022E\n\016primary_stream\030\001 \001(\0132-.googl"
+          + "e.cloud.bigquery.storage.v1beta1.Stream\022"
+          + "G\n\020remainder_stream\030\002 \001(\0132-.google.cloud"
+          + ".bigquery.storage.v1beta1.Stream*>\n\nData"
+          + "Format\022\033\n\027DATA_FORMAT_UNSPECIFIED\020\000\022\010\n\004A"
+          + "VRO\020\001\022\t\n\005ARROW\020\003*O\n\020ShardingStrategy\022!\n\035"
+          + "SHARDING_STRATEGY_UNSPECIFIED\020\000\022\n\n\006LIQUI"
+          + "D\020\001\022\014\n\010BALANCED\020\0022\267\n\n\017BigQueryStorage\022\263\002"
+          + "\n\021CreateReadSession\022?.google.cloud.bigqu"
+          + "ery.storage.v1beta1.CreateReadSessionReq"
+          + "uest\0322.google.cloud.bigquery.storage.v1b"
+          + "eta1.ReadSession\"\250\001\332A(table_reference,pa"
+          + "rent,requested_streams\202\323\344\223\002w\"0/v1beta1/{"
+          + "table_reference.project_id=projects/*}:\001"
+          + "*Z@\";/v1beta1/{table_reference.dataset_i"
+          + "d=projects/*/datasets/*}:\001*\022\320\001\n\010ReadRows"
+          + "\0226.google.cloud.bigquery.storage.v1beta1"
+          + ".ReadRowsRequest\0327.google.cloud.bigquery"
+          + ".storage.v1beta1.ReadRowsResponse\"Q\332A\rre"
+          + "ad_position\202\323\344\223\002;\0229/v1beta1/{read_positi"
+          + "on.stream.name=projects/*/streams/*}0\001\022\220"
+          + "\002\n\035BatchCreateReadSessionStreams\022K.googl"
+          + "e.cloud.bigquery.storage.v1beta1.BatchCr"
+          + "eateReadSessionStreamsRequest\032L.google.c"
+          + "loud.bigquery.storage.v1beta1.BatchCreat"
+          + "eReadSessionStreamsResponse\"T\332A\031session,"
+          + "requested_streams\202\323\344\223\0022\"-/v1beta1/{sessi"
+          + "on.name=projects/*/sessions/*}:\001*\022\247\001\n\016Fi"
+          + "nalizeStream\022<.google.cloud.bigquery.sto"
+          + "rage.v1beta1.FinalizeStreamRequest\032\026.goo"
+          + "gle.protobuf.Empty\"?\332A\006stream\202\323\344\223\0020\"+/v1"
+          + "beta1/{stream.name=projects/*/streams/*}"
+          + ":\001*\022\340\001\n\017SplitReadStream\022=.google.cloud.b"
+          + "igquery.storage.v1beta1.SplitReadStreamR"
+          + "equest\032>.google.cloud.bigquery.storage.v"
+          + "1beta1.SplitReadStreamResponse\"N\332A\017origi"
+          + "nal_stream\202\323\344\223\0026\0224/v1beta1/{original_str"
+          + "eam.name=projects/*/streams/*}\032{\312A\036bigqu"
+          + "erystorage.googleapis.com\322AWhttps://www."
+          + "googleapis.com/auth/bigquery,https://www"
+          + ".googleapis.com/auth/cloud-platformBp\n)c"
+          + "om.google.cloud.bigquery.storage.v1beta1"
+          + "ZCcloud.google.com/go/bigquery/storage/a"
+          + "piv1beta1/storagepb;storagepbb\006proto3"
     };
-    descriptor = com.google.protobuf.Descriptors.FileDescriptor
-      .internalBuildGeneratedFileFrom(descriptorData,
-        new com.google.protobuf.Descriptors.FileDescriptor[] {
-          com.google.api.AnnotationsProto.getDescriptor(),
-          com.google.api.ClientProto.getDescriptor(),
-          com.google.api.FieldBehaviorProto.getDescriptor(),
-          com.google.api.ResourceProto.getDescriptor(),
-          com.google.cloud.bigquery.storage.v1beta1.ArrowProto.getDescriptor(),
-          com.google.cloud.bigquery.storage.v1beta1.AvroProto.getDescriptor(),
-          com.google.cloud.bigquery.storage.v1beta1.ReadOptions.getDescriptor(),
-          com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.getDescriptor(),
-          com.google.protobuf.EmptyProto.getDescriptor(),
-          com.google.protobuf.TimestampProto.getDescriptor(),
-        });
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.ClientProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.cloud.bigquery.storage.v1beta1.ArrowProto.getDescriptor(),
+              com.google.cloud.bigquery.storage.v1beta1.AvroProto.getDescriptor(),
+              com.google.cloud.bigquery.storage.v1beta1.ReadOptions.getDescriptor(),
+              com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.getDescriptor(),
+              com.google.protobuf.EmptyProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
     internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor =
-      getDescriptor().getMessageTypes().get(0);
-    internal_static_google_cloud_bigquery_storage_v1beta1_Stream_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor,
-        new java.lang.String[] { "Name", });
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_bigquery_storage_v1beta1_Stream_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
     internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_descriptor =
-      getDescriptor().getMessageTypes().get(1);
-    internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_descriptor,
-        new java.lang.String[] { "Stream", "Offset", });
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_descriptor,
+            new java.lang.String[] {
+              "Stream", "Offset",
+            });
     internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor =
-      getDescriptor().getMessageTypes().get(2);
-    internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor,
-        new java.lang.String[] { "Name", "ExpireTime", "AvroSchema", "ArrowSchema", "Streams", "TableReference", "TableModifiers", "ShardingStrategy", "Schema", });
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "ExpireTime",
+              "AvroSchema",
+              "ArrowSchema",
+              "Streams",
+              "TableReference",
+              "TableModifiers",
+              "ShardingStrategy",
+              "Schema",
+            });
     internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor =
-      getDescriptor().getMessageTypes().get(3);
-    internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor,
-        new java.lang.String[] { "TableReference", "Parent", "TableModifiers", "RequestedStreams", "ReadOptions", "Format", "ShardingStrategy", });
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor,
+            new java.lang.String[] {
+              "TableReference",
+              "Parent",
+              "TableModifiers",
+              "RequestedStreams",
+              "ReadOptions",
+              "Format",
+              "ShardingStrategy",
+            });
     internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor =
-      getDescriptor().getMessageTypes().get(4);
-    internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor,
-        new java.lang.String[] { "ReadPosition", });
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor,
+            new java.lang.String[] {
+              "ReadPosition",
+            });
     internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_descriptor =
-      getDescriptor().getMessageTypes().get(5);
-    internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_descriptor,
-        new java.lang.String[] { "EstimatedRowCount", "FractionConsumed", "Progress", "IsSplittable", });
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_descriptor,
+            new java.lang.String[] {
+              "EstimatedRowCount", "FractionConsumed", "Progress", "IsSplittable",
+            });
     internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor =
-      getDescriptor().getMessageTypes().get(6);
-    internal_static_google_cloud_bigquery_storage_v1beta1_Progress_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor,
-        new java.lang.String[] { "AtResponseStart", "AtResponseEnd", });
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_bigquery_storage_v1beta1_Progress_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor,
+            new java.lang.String[] {
+              "AtResponseStart", "AtResponseEnd",
+            });
     internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor =
-      getDescriptor().getMessageTypes().get(7);
-    internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor,
-        new java.lang.String[] { "ThrottlePercent", });
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor,
+            new java.lang.String[] {
+              "ThrottlePercent",
+            });
     internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_descriptor =
-      getDescriptor().getMessageTypes().get(8);
-    internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_descriptor,
-        new java.lang.String[] { "AvroRows", "ArrowRecordBatch", "RowCount", "Status", "ThrottleStatus", "AvroSchema", "ArrowSchema", "Rows", "Schema", });
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_descriptor,
+            new java.lang.String[] {
+              "AvroRows",
+              "ArrowRecordBatch",
+              "RowCount",
+              "Status",
+              "ThrottleStatus",
+              "AvroSchema",
+              "ArrowSchema",
+              "Rows",
+              "Schema",
+            });
     internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_descriptor =
-      getDescriptor().getMessageTypes().get(9);
-    internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_descriptor,
-        new java.lang.String[] { "Session", "RequestedStreams", });
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_descriptor,
+            new java.lang.String[] {
+              "Session", "RequestedStreams",
+            });
     internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor =
-      getDescriptor().getMessageTypes().get(10);
-    internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor,
-        new java.lang.String[] { "Streams", });
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor,
+            new java.lang.String[] {
+              "Streams",
+            });
     internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor =
-      getDescriptor().getMessageTypes().get(11);
-    internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor,
-        new java.lang.String[] { "Stream", });
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor,
+            new java.lang.String[] {
+              "Stream",
+            });
     internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_descriptor =
-      getDescriptor().getMessageTypes().get(12);
-    internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_descriptor,
-        new java.lang.String[] { "OriginalStream", "Fraction", });
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_descriptor,
+            new java.lang.String[] {
+              "OriginalStream", "Fraction",
+            });
     internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_descriptor =
-      getDescriptor().getMessageTypes().get(13);
-    internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_descriptor,
-        new java.lang.String[] { "PrimaryStream", "RemainderStream", });
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_descriptor,
+            new java.lang.String[] {
+              "PrimaryStream", "RemainderStream",
+            });
     com.google.protobuf.ExtensionRegistry registry =
         com.google.protobuf.ExtensionRegistry.newInstance();
     registry.add(com.google.api.ClientProto.defaultHost);
@@ -15784,8 +18437,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
     registry.add(com.google.api.ClientProto.oauthScopes);
     registry.add(com.google.api.ResourceProto.resource);
     registry.add(com.google.api.ResourceProto.resourceReference);
-    com.google.protobuf.Descriptors.FileDescriptor
-        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
     com.google.api.AnnotationsProto.getDescriptor();
     com.google.api.ClientProto.getDescriptor();
     com.google.api.FieldBehaviorProto.getDescriptor();
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java
similarity index 61%
rename from owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java
rename to proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java
index 8049a2714a..7100bf314b 100644
--- a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java
+++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java
@@ -1,3 +1,18 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1beta1/table_reference.proto
 
@@ -5,95 +20,112 @@
 
 public final class TableReferenceProto {
   private TableReferenceProto() {}
-  public static void registerAllExtensions(
-      com.google.protobuf.ExtensionRegistryLite registry) {
-  }
 
-  public static void registerAllExtensions(
-      com.google.protobuf.ExtensionRegistry registry) {
-    registerAllExtensions(
-        (com.google.protobuf.ExtensionRegistryLite) registry);
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
   }
-  public interface TableReferenceOrBuilder extends
+
+  public interface TableReferenceOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.TableReference)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The assigned project ID of the project.
      * 
* * string project_id = 1; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
      * The assigned project ID of the project.
      * 
* * string project_id = 1; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
      * The ID of the dataset in the above project.
      * 
* * string dataset_id = 2; + * * @return The datasetId. */ java.lang.String getDatasetId(); /** + * + * *
      * The ID of the dataset in the above project.
      * 
* * string dataset_id = 2; + * * @return The bytes for datasetId. */ - com.google.protobuf.ByteString - getDatasetIdBytes(); + com.google.protobuf.ByteString getDatasetIdBytes(); /** + * + * *
      * The ID of the table in the above dataset.
      * 
* * string table_id = 3; + * * @return The tableId. */ java.lang.String getTableId(); /** + * + * *
      * The ID of the table in the above dataset.
      * 
* * string table_id = 3; + * * @return The bytes for tableId. */ - com.google.protobuf.ByteString - getTableIdBytes(); + com.google.protobuf.ByteString getTableIdBytes(); } /** + * + * *
    * Table reference that includes just the 3 strings needed to identify a table.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.TableReference} */ - public static final class TableReference extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TableReference extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.TableReference) TableReferenceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableReference.newBuilder() to construct. private TableReference(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TableReference() { projectId_ = ""; datasetId_ = ""; @@ -102,33 +134,39 @@ private TableReference() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableReference(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.class, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.class, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder + .class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** + * + * *
      * The assigned project ID of the project.
      * 
* * string project_id = 1; + * * @return The projectId. */ @java.lang.Override @@ -137,29 +175,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
      * The assigned project ID of the project.
      * 
* * string project_id = 1; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -168,14 +206,18 @@ public java.lang.String getProjectId() { } public static final int DATASET_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object datasetId_ = ""; /** + * + * *
      * The ID of the dataset in the above project.
      * 
* * string dataset_id = 2; + * * @return The datasetId. */ @java.lang.Override @@ -184,29 +226,29 @@ public java.lang.String getDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; } } /** + * + * *
      * The ID of the dataset in the above project.
      * 
* * string dataset_id = 2; + * * @return The bytes for datasetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatasetIdBytes() { + public com.google.protobuf.ByteString getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetId_ = b; return b; } else { @@ -215,14 +257,18 @@ public java.lang.String getDatasetId() { } public static final int TABLE_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object tableId_ = ""; /** + * + * *
      * The ID of the table in the above dataset.
      * 
* * string table_id = 3; + * * @return The tableId. */ @java.lang.Override @@ -231,29 +277,29 @@ public java.lang.String getTableId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; } } /** + * + * *
      * The ID of the table in the above dataset.
      * 
* * string table_id = 3; + * * @return The bytes for tableId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTableIdBytes() { + public com.google.protobuf.ByteString getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tableId_ = b; return b; } else { @@ -262,6 +308,7 @@ public java.lang.String getTableId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +320,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -310,19 +356,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference)) { + if (!(obj + instanceof + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference other = (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference) obj; + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference other = + (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getDatasetId() - .equals(other.getDatasetId())) return false; - if (!getTableId() - .equals(other.getTableId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getDatasetId().equals(other.getDatasetId())) return false; + if (!getTableId().equals(other.getTableId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,90 +391,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -438,39 +495,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Table reference that includes just the 3 strings needed to identify a table.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.TableReference} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.TableReference) com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.class, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.class, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder + .class); } - // Construct using com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -482,19 +543,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference build() { - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference result = buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -502,14 +566,19 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableRefere } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference result = new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + buildPartial() { + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference result = + new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.projectId_ = projectId_; @@ -526,46 +595,55 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.TableRefere public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference)other); + if (other + instanceof + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference) { + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -607,27 +685,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - datasetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - tableId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + datasetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + tableId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -637,22 +719,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object projectId_ = ""; /** + * + * *
        * The assigned project ID of the project.
        * 
* * string project_id = 1; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -661,20 +746,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * The assigned project ID of the project.
        * 
* * string project_id = 1; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -682,28 +768,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
        * The assigned project ID of the project.
        * 
* * string project_id = 1; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The assigned project ID of the project.
        * 
* * string project_id = 1; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -713,17 +806,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
        * The assigned project ID of the project.
        * 
* * string project_id = 1; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -733,18 +830,20 @@ public Builder setProjectIdBytes( private java.lang.Object datasetId_ = ""; /** + * + * *
        * The ID of the dataset in the above project.
        * 
* * string dataset_id = 2; + * * @return The datasetId. */ public java.lang.String getDatasetId() { java.lang.Object ref = datasetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; @@ -753,20 +852,21 @@ public java.lang.String getDatasetId() { } } /** + * + * *
        * The ID of the dataset in the above project.
        * 
* * string dataset_id = 2; + * * @return The bytes for datasetId. */ - public com.google.protobuf.ByteString - getDatasetIdBytes() { + public com.google.protobuf.ByteString getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetId_ = b; return b; } else { @@ -774,28 +874,35 @@ public java.lang.String getDatasetId() { } } /** + * + * *
        * The ID of the dataset in the above project.
        * 
* * string dataset_id = 2; + * * @param value The datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatasetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } datasetId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The ID of the dataset in the above project.
        * 
* * string dataset_id = 2; + * * @return This builder for chaining. */ public Builder clearDatasetId() { @@ -805,17 +912,21 @@ public Builder clearDatasetId() { return this; } /** + * + * *
        * The ID of the dataset in the above project.
        * 
* * string dataset_id = 2; + * * @param value The bytes for datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); datasetId_ = value; bitField0_ |= 0x00000002; @@ -825,18 +936,20 @@ public Builder setDatasetIdBytes( private java.lang.Object tableId_ = ""; /** + * + * *
        * The ID of the table in the above dataset.
        * 
* * string table_id = 3; + * * @return The tableId. */ public java.lang.String getTableId() { java.lang.Object ref = tableId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; @@ -845,20 +958,21 @@ public java.lang.String getTableId() { } } /** + * + * *
        * The ID of the table in the above dataset.
        * 
* * string table_id = 3; + * * @return The bytes for tableId. */ - public com.google.protobuf.ByteString - getTableIdBytes() { + public com.google.protobuf.ByteString getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tableId_ = b; return b; } else { @@ -866,28 +980,35 @@ public java.lang.String getTableId() { } } /** + * + * *
        * The ID of the table in the above dataset.
        * 
* * string table_id = 3; + * * @param value The tableId to set. * @return This builder for chaining. */ - public Builder setTableId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tableId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * The ID of the table in the above dataset.
        * 
* * string table_id = 3; + * * @return This builder for chaining. */ public Builder clearTableId() { @@ -897,23 +1018,28 @@ public Builder clearTableId() { return this; } /** + * + * *
        * The ID of the table in the above dataset.
        * 
* * string table_id = 3; + * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tableId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -926,41 +1052,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.TableReference) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.TableReference) - private static final com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .TableReference + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference(); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableReference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableReference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -972,35 +1103,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TableModifiersOrBuilder extends + public interface TableModifiersOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.TableModifiers) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return Whether the snapshotTime field is set. */ boolean hasSnapshotTime(); /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return The snapshotTime. */ com.google.protobuf.Timestamp getSnapshotTime(); /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
@@ -1010,52 +1150,59 @@ public interface TableModifiersOrBuilder extends com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder(); } /** + * + * *
    * All fields in this message optional.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.TableModifiers} */ - public static final class TableModifiers extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TableModifiers extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.TableModifiers) TableModifiersOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableModifiers.newBuilder() to construct. private TableModifiers(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableModifiers() { - } + + private TableModifiers() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableModifiers(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.class, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.class, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder + .class); } public static final int SNAPSHOT_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp snapshotTime_; /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return Whether the snapshotTime field is set. */ @java.lang.Override @@ -1063,18 +1210,25 @@ public boolean hasSnapshotTime() { return snapshotTime_ != null; } /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return The snapshotTime. */ @java.lang.Override public com.google.protobuf.Timestamp getSnapshotTime() { - return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; + return snapshotTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : snapshotTime_; } /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
@@ -1083,10 +1237,13 @@ public com.google.protobuf.Timestamp getSnapshotTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { - return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; + return snapshotTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : snapshotTime_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1098,8 +1255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (snapshotTime_ != null) { output.writeMessage(1, getSnapshotTime()); } @@ -1113,8 +1269,7 @@ public int getSerializedSize() { size = 0; if (snapshotTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSnapshotTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSnapshotTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1124,17 +1279,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers)) { + if (!(obj + instanceof + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers other = (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers) obj; + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers other = + (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers) obj; if (hasSnapshotTime() != other.hasSnapshotTime()) return false; if (hasSnapshotTime()) { - if (!getSnapshotTime() - .equals(other.getSnapshotTime())) return false; + if (!getSnapshotTime().equals(other.getSnapshotTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1156,90 +1313,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1249,39 +1417,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * All fields in this message optional.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.TableModifiers} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.TableModifiers) com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.class, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.class, + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder + .class); } - // Construct using com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1295,19 +1467,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers build() { - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers result = buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1315,19 +1490,23 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifi } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers result = new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + buildPartial() { + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers result = + new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.snapshotTime_ = snapshotTimeBuilder_ == null - ? snapshotTime_ - : snapshotTimeBuilder_.build(); + result.snapshotTime_ = + snapshotTimeBuilder_ == null ? snapshotTime_ : snapshotTimeBuilder_.build(); } } @@ -1335,46 +1514,55 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.TableRefere public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers)other); + if (other + instanceof + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers) { + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers other) { - if (other == com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers other) { + if (other + == com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .getDefaultInstance()) return this; if (other.hasSnapshotTime()) { mergeSnapshotTime(other.getSnapshotTime()); } @@ -1404,19 +1592,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getSnapshotTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getSnapshotTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1426,38 +1614,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp snapshotTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> snapshotTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + snapshotTimeBuilder_; /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return Whether the snapshotTime field is set. */ public boolean hasSnapshotTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return The snapshotTime. */ public com.google.protobuf.Timestamp getSnapshotTime() { if (snapshotTimeBuilder_ == null) { - return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; + return snapshotTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : snapshotTime_; } else { return snapshotTimeBuilder_.getMessage(); } } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1478,14 +1680,15 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; */ - public Builder setSnapshotTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (snapshotTimeBuilder_ == null) { snapshotTime_ = builderForValue.build(); } else { @@ -1496,6 +1699,8 @@ public Builder setSnapshotTime( return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1504,9 +1709,9 @@ public Builder setSnapshotTime( */ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { if (snapshotTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - snapshotTime_ != null && - snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && snapshotTime_ != null + && snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getSnapshotTimeBuilder().mergeFrom(value); } else { snapshotTime_ = value; @@ -1519,6 +1724,8 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1536,6 +1743,8 @@ public Builder clearSnapshotTime() { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1548,6 +1757,8 @@ public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() { return getSnapshotTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1558,11 +1769,14 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { if (snapshotTimeBuilder_ != null) { return snapshotTimeBuilder_.getMessageOrBuilder(); } else { - return snapshotTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; + return snapshotTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : snapshotTime_; } } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1570,18 +1784,22 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { * .google.protobuf.Timestamp snapshot_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getSnapshotTimeFieldBuilder() { if (snapshotTimeBuilder_ == null) { - snapshotTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getSnapshotTime(), - getParentForChildren(), - isClean()); + snapshotTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getSnapshotTime(), getParentForChildren(), isClean()); snapshotTime_ = null; } return snapshotTimeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1594,41 +1812,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.TableModifiers) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.TableModifiers) - private static final com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto + .TableModifiers + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers(); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableModifiers parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableModifiers parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1640,60 +1863,63 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n;google/cloud/bigquery/storage/v1beta1/" + - "table_reference.proto\022%google.cloud.bigq" + - "uery.storage.v1beta1\032\037google/protobuf/ti" + - "mestamp.proto\"J\n\016TableReference\022\022\n\nproje" + - "ct_id\030\001 \001(\t\022\022\n\ndataset_id\030\002 \001(\t\022\020\n\010table" + - "_id\030\003 \001(\t\"C\n\016TableModifiers\0221\n\rsnapshot_" + - "time\030\001 \001(\0132\032.google.protobuf.TimestampB\205" + - "\001\n)com.google.cloud.bigquery.storage.v1b" + - "eta1B\023TableReferenceProtoZCcloud.google." + - "com/go/bigquery/storage/apiv1beta1/stora" + - "gepb;storagepbb\006proto3" + "\n;google/cloud/bigquery/storage/v1beta1/" + + "table_reference.proto\022%google.cloud.bigq" + + "uery.storage.v1beta1\032\037google/protobuf/ti" + + "mestamp.proto\"J\n\016TableReference\022\022\n\nproje" + + "ct_id\030\001 \001(\t\022\022\n\ndataset_id\030\002 \001(\t\022\020\n\010table" + + "_id\030\003 \001(\t\"C\n\016TableModifiers\0221\n\rsnapshot_" + + "time\030\001 \001(\0132\032.google.protobuf.TimestampB\205" + + "\001\n)com.google.cloud.bigquery.storage.v1b" + + "eta1B\023TableReferenceProtoZCcloud.google." + + "com/go/bigquery/storage/apiv1beta1/stora" + + "gepb;storagepbb\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor, - new java.lang.String[] { "ProjectId", "DatasetId", "TableId", }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor, + new java.lang.String[] { + "ProjectId", "DatasetId", "TableId", + }); internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor, - new java.lang.String[] { "SnapshotTime", }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor, + new java.lang.String[] { + "SnapshotTime", + }); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/arrow.proto b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/arrow.proto similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/arrow.proto rename to proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/arrow.proto diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/avro.proto b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/avro.proto similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/avro.proto rename to proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/avro.proto diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/read_options.proto b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/read_options.proto similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/read_options.proto rename to proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/read_options.proto diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/storage.proto b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/storage.proto similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/storage.proto rename to proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/storage.proto diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/table_reference.proto b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/table_reference.proto similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/table_reference.proto rename to proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/table_reference.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequest.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequest.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequest.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequest.java index 1a4bd1952f..c5ef3bea7a 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequest.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequest.java @@ -1,24 +1,42 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Request message for `AppendRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AppendRowsRequest} */ -public final class AppendRowsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AppendRowsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.AppendRowsRequest) AppendRowsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AppendRowsRequest.newBuilder() to construct. private AppendRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AppendRowsRequest() { writeStream_ = ""; traceId_ = ""; @@ -26,47 +44,57 @@ private AppendRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AppendRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.class, com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.class, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.Builder.class); } - public interface ProtoDataOrBuilder extends + public interface ProtoDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Proto schema used to serialize the data.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; + * * @return Whether the writerSchema field is set. */ boolean hasWriterSchema(); /** + * + * *
      * Proto schema used to serialize the data.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; + * * @return The writerSchema. */ com.google.cloud.bigquery.storage.v1beta2.ProtoSchema getWriterSchema(); /** + * + * *
      * Proto schema used to serialize the data.
      * 
@@ -76,24 +104,32 @@ public interface ProtoDataOrBuilder extends com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder getWriterSchemaOrBuilder(); /** + * + * *
      * Serialized row data in protobuf message format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2; + * * @return Whether the rows field is set. */ boolean hasRows(); /** + * + * *
      * Serialized row data in protobuf message format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2; + * * @return The rows. */ com.google.cloud.bigquery.storage.v1beta2.ProtoRows getRows(); /** + * + * *
      * Serialized row data in protobuf message format.
      * 
@@ -103,52 +139,58 @@ public interface ProtoDataOrBuilder extends com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder getRowsOrBuilder(); } /** + * + * *
    * Proto schema and data.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData} */ - public static final class ProtoData extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ProtoData extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) ProtoDataOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProtoData.newBuilder() to construct. private ProtoData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProtoData() { - } + + private ProtoData() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProtoData(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.class, com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.class, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder.class); } public static final int WRITER_SCHEMA_FIELD_NUMBER = 1; private com.google.cloud.bigquery.storage.v1beta2.ProtoSchema writerSchema_; /** + * + * *
      * Proto schema used to serialize the data.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; + * * @return Whether the writerSchema field is set. */ @java.lang.Override @@ -156,18 +198,25 @@ public boolean hasWriterSchema() { return writerSchema_ != null; } /** + * + * *
      * Proto schema used to serialize the data.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; + * * @return The writerSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ProtoSchema getWriterSchema() { - return writerSchema_ == null ? com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance() : writerSchema_; + return writerSchema_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance() + : writerSchema_; } /** + * + * *
      * Proto schema used to serialize the data.
      * 
@@ -175,18 +224,24 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoSchema getWriterSchema() { * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder getWriterSchemaOrBuilder() { - return writerSchema_ == null ? com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance() : writerSchema_; + public com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder + getWriterSchemaOrBuilder() { + return writerSchema_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance() + : writerSchema_; } public static final int ROWS_FIELD_NUMBER = 2; private com.google.cloud.bigquery.storage.v1beta2.ProtoRows rows_; /** + * + * *
      * Serialized row data in protobuf message format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2; + * * @return Whether the rows field is set. */ @java.lang.Override @@ -194,18 +249,25 @@ public boolean hasRows() { return rows_ != null; } /** + * + * *
      * Serialized row data in protobuf message format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2; + * * @return The rows. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ProtoRows getRows() { - return rows_ == null ? com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance() : rows_; + return rows_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance() + : rows_; } /** + * + * *
      * Serialized row data in protobuf message format.
      * 
@@ -214,10 +276,13 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoRows getRows() { */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder getRowsOrBuilder() { - return rows_ == null ? com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance() : rows_; + return rows_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance() + : rows_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +300,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (writerSchema_ != null) { output.writeMessage(1, getWriterSchema()); } @@ -253,12 +317,10 @@ public int getSerializedSize() { size = 0; if (writerSchema_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWriterSchema()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWriterSchema()); } if (rows_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRows()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRows()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -268,22 +330,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData other = (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) obj; + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData other = + (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) obj; if (hasWriterSchema() != other.hasWriterSchema()) return false; if (hasWriterSchema()) { - if (!getWriterSchema() - .equals(other.getWriterSchema())) return false; + if (!getWriterSchema().equals(other.getWriterSchema())) return false; } if (hasRows() != other.hasRows()) return false; if (hasRows()) { - if (!getRows() - .equals(other.getRows())) return false; + if (!getRows().equals(other.getRows())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -310,89 +371,95 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -402,39 +469,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Proto schema and data.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.class, com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.class, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder + .class); } - // Construct using com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -453,19 +524,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData build() { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData result = buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -474,23 +548,24 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData bui @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData result = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData result = + new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.writerSchema_ = writerSchemaBuilder_ == null - ? writerSchema_ - : writerSchemaBuilder_.build(); + result.writerSchema_ = + writerSchemaBuilder_ == null ? writerSchema_ : writerSchemaBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.rows_ = rowsBuilder_ == null - ? rows_ - : rowsBuilder_.build(); + result.rows_ = rowsBuilder_ == null ? rows_ : rowsBuilder_.build(); } } @@ -498,46 +573,54 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AppendRowsR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData)other); + if (other + instanceof com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) { + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData other) { + if (other + == com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + .getDefaultInstance()) return this; if (other.hasWriterSchema()) { mergeWriterSchema(other.getWriterSchema()); } @@ -575,26 +658,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getWriterSchemaFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRowsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getWriterSchemaFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getRowsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -604,38 +686,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.bigquery.storage.v1beta2.ProtoSchema writerSchema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema, com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder> writerSchemaBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema, + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder> + writerSchemaBuilder_; /** + * + * *
        * Proto schema used to serialize the data.
        * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; + * * @return Whether the writerSchema field is set. */ public boolean hasWriterSchema() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Proto schema used to serialize the data.
        * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; + * * @return The writerSchema. */ public com.google.cloud.bigquery.storage.v1beta2.ProtoSchema getWriterSchema() { if (writerSchemaBuilder_ == null) { - return writerSchema_ == null ? com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance() : writerSchema_; + return writerSchema_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance() + : writerSchema_; } else { return writerSchemaBuilder_.getMessage(); } } /** + * + * *
        * Proto schema used to serialize the data.
        * 
@@ -656,6 +752,8 @@ public Builder setWriterSchema(com.google.cloud.bigquery.storage.v1beta2.ProtoSc return this; } /** + * + * *
        * Proto schema used to serialize the data.
        * 
@@ -674,17 +772,21 @@ public Builder setWriterSchema( return this; } /** + * + * *
        * Proto schema used to serialize the data.
        * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; */ - public Builder mergeWriterSchema(com.google.cloud.bigquery.storage.v1beta2.ProtoSchema value) { + public Builder mergeWriterSchema( + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema value) { if (writerSchemaBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - writerSchema_ != null && - writerSchema_ != com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && writerSchema_ != null + && writerSchema_ + != com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance()) { getWriterSchemaBuilder().mergeFrom(value); } else { writerSchema_ = value; @@ -697,6 +799,8 @@ public Builder mergeWriterSchema(com.google.cloud.bigquery.storage.v1beta2.Proto return this; } /** + * + * *
        * Proto schema used to serialize the data.
        * 
@@ -714,33 +818,42 @@ public Builder clearWriterSchema() { return this; } /** + * + * *
        * Proto schema used to serialize the data.
        * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; */ - public com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder getWriterSchemaBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder + getWriterSchemaBuilder() { bitField0_ |= 0x00000001; onChanged(); return getWriterSchemaFieldBuilder().getBuilder(); } /** + * + * *
        * Proto schema used to serialize the data.
        * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; */ - public com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder getWriterSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder + getWriterSchemaOrBuilder() { if (writerSchemaBuilder_ != null) { return writerSchemaBuilder_.getMessageOrBuilder(); } else { - return writerSchema_ == null ? - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance() : writerSchema_; + return writerSchema_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance() + : writerSchema_; } } /** + * + * *
        * Proto schema used to serialize the data.
        * 
@@ -748,14 +861,17 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder getWriterS * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema, com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema, + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder> getWriterSchemaFieldBuilder() { if (writerSchemaBuilder_ == null) { - writerSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema, com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder>( - getWriterSchema(), - getParentForChildren(), - isClean()); + writerSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema, + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder>( + getWriterSchema(), getParentForChildren(), isClean()); writerSchema_ = null; } return writerSchemaBuilder_; @@ -763,34 +879,47 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder getWriterS private com.google.cloud.bigquery.storage.v1beta2.ProtoRows rows_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ProtoRows, com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder, com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder> rowsBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ProtoRows, + com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder, + com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder> + rowsBuilder_; /** + * + * *
        * Serialized row data in protobuf message format.
        * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2; + * * @return Whether the rows field is set. */ public boolean hasRows() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Serialized row data in protobuf message format.
        * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2; + * * @return The rows. */ public com.google.cloud.bigquery.storage.v1beta2.ProtoRows getRows() { if (rowsBuilder_ == null) { - return rows_ == null ? com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance() : rows_; + return rows_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance() + : rows_; } else { return rowsBuilder_.getMessage(); } } /** + * + * *
        * Serialized row data in protobuf message format.
        * 
@@ -811,6 +940,8 @@ public Builder setRows(com.google.cloud.bigquery.storage.v1beta2.ProtoRows value return this; } /** + * + * *
        * Serialized row data in protobuf message format.
        * 
@@ -829,6 +960,8 @@ public Builder setRows( return this; } /** + * + * *
        * Serialized row data in protobuf message format.
        * 
@@ -837,9 +970,10 @@ public Builder setRows( */ public Builder mergeRows(com.google.cloud.bigquery.storage.v1beta2.ProtoRows value) { if (rowsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - rows_ != null && - rows_ != com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && rows_ != null + && rows_ + != com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance()) { getRowsBuilder().mergeFrom(value); } else { rows_ = value; @@ -852,6 +986,8 @@ public Builder mergeRows(com.google.cloud.bigquery.storage.v1beta2.ProtoRows val return this; } /** + * + * *
        * Serialized row data in protobuf message format.
        * 
@@ -869,6 +1005,8 @@ public Builder clearRows() { return this; } /** + * + * *
        * Serialized row data in protobuf message format.
        * 
@@ -881,6 +1019,8 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder getRowsBuilde return getRowsFieldBuilder().getBuilder(); } /** + * + * *
        * Serialized row data in protobuf message format.
        * 
@@ -891,11 +1031,14 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder getRowsOrBui if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilder(); } else { - return rows_ == null ? - com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance() : rows_; + return rows_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance() + : rows_; } } /** + * + * *
        * Serialized row data in protobuf message format.
        * 
@@ -903,18 +1046,22 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder getRowsOrBui * .google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ProtoRows, com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder, com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.ProtoRows, + com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder, + com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { - rowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ProtoRows, com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder, com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder>( - getRows(), - getParentForChildren(), - isClean()); + rowsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ProtoRows, + com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder, + com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder>( + getRows(), getParentForChildren(), isClean()); rows_ = null; } return rowsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -927,41 +1074,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) - private static final com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData(); } - public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProtoData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProtoData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -973,21 +1124,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int rowsCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object rows_; + public enum RowsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PROTO_ROWS(4), ROWS_NOT_SET(0); private final int value; + private RowsCase(int value) { this.value = value; } @@ -1003,26 +1158,31 @@ public static RowsCase valueOf(int value) { public static RowsCase forNumber(int value) { switch (value) { - case 4: return PROTO_ROWS; - case 0: return ROWS_NOT_SET; - default: return null; + case 4: + return PROTO_ROWS; + case 0: + return ROWS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RowsCase - getRowsCase() { - return RowsCase.forNumber( - rowsCase_); + public RowsCase getRowsCase() { + return RowsCase.forNumber(rowsCase_); } public static final int WRITE_STREAM_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object writeStream_ = ""; /** + * + * *
    * Required. The stream that is the target of the append operation. This value must be
    * specified for the initial request. If subsequent requests specify the
@@ -1031,7 +1191,10 @@ public int getNumber() {
    * format `projects/{project}/datasets/{dataset}/tables/{table}/_default`.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The writeStream. */ @java.lang.Override @@ -1040,14 +1203,15 @@ public java.lang.String getWriteStream() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; } } /** + * + * *
    * Required. The stream that is the target of the append operation. This value must be
    * specified for the initial request. If subsequent requests specify the
@@ -1056,17 +1220,18 @@ public java.lang.String getWriteStream() {
    * format `projects/{project}/datasets/{dataset}/tables/{table}/_default`.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for writeStream. */ @java.lang.Override - public com.google.protobuf.ByteString - getWriteStreamBytes() { + public com.google.protobuf.ByteString getWriteStreamBytes() { java.lang.Object ref = writeStream_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); writeStream_ = b; return b; } else { @@ -1077,6 +1242,8 @@ public java.lang.String getWriteStream() { public static final int OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Int64Value offset_; /** + * + * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -1085,6 +1252,7 @@ public java.lang.String getWriteStream() {
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return Whether the offset field is set. */ @java.lang.Override @@ -1092,6 +1260,8 @@ public boolean hasOffset() { return offset_ != null; } /** + * + * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -1100,6 +1270,7 @@ public boolean hasOffset() {
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return The offset. */ @java.lang.Override @@ -1107,6 +1278,8 @@ public com.google.protobuf.Int64Value getOffset() { return offset_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : offset_; } /** + * + * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -1123,11 +1296,14 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
 
   public static final int PROTO_ROWS_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Rows in proto format.
    * 
* * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * * @return Whether the protoRows field is set. */ @java.lang.Override @@ -1135,21 +1311,27 @@ public boolean hasProtoRows() { return rowsCase_ == 4; } /** + * + * *
    * Rows in proto format.
    * 
* * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * * @return The protoRows. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData getProtoRows() { if (rowsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_; + return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_; } - return com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + .getDefaultInstance(); } /** + * + * *
    * Rows in proto format.
    * 
@@ -1157,23 +1339,29 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData get * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder + getProtoRowsOrBuilder() { if (rowsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_; + return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_; } - return com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + .getDefaultInstance(); } public static final int TRACE_ID_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object traceId_ = ""; /** + * + * *
    * Id set by client to annotate its identity. Only initial request setting is
    * respected.
    * 
* * string trace_id = 6; + * * @return The traceId. */ @java.lang.Override @@ -1182,30 +1370,30 @@ public java.lang.String getTraceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); traceId_ = s; return s; } } /** + * + * *
    * Id set by client to annotate its identity. Only initial request setting is
    * respected.
    * 
* * string trace_id = 6; + * * @return The bytes for traceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTraceIdBytes() { + public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); traceId_ = b; return b; } else { @@ -1214,6 +1402,7 @@ public java.lang.String getTraceId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1231,8 +1420,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writeStream_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, writeStream_); } @@ -1240,7 +1428,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, getOffset()); } if (rowsCase_ == 4) { - output.writeMessage(4, (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_); + output.writeMessage( + 4, (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, traceId_); @@ -1258,12 +1447,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, writeStream_); } if (offset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOffset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOffset()); } if (rowsCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, traceId_); @@ -1276,27 +1465,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest other = (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest) obj; + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest other = + (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest) obj; - if (!getWriteStream() - .equals(other.getWriteStream())) return false; + if (!getWriteStream().equals(other.getWriteStream())) return false; if (hasOffset() != other.hasOffset()) return false; if (hasOffset()) { - if (!getOffset() - .equals(other.getOffset())) return false; + if (!getOffset().equals(other.getOffset())) return false; } - if (!getTraceId() - .equals(other.getTraceId())) return false; + if (!getTraceId().equals(other.getTraceId())) return false; if (!getRowsCase().equals(other.getRowsCase())) return false; switch (rowsCase_) { case 4: - if (!getProtoRows() - .equals(other.getProtoRows())) return false; + if (!getProtoRows().equals(other.getProtoRows())) return false; break; case 0: default: @@ -1334,131 +1520,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AppendRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AppendRowsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.AppendRowsRequest) com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.class, com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.class, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1479,9 +1670,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor; } @java.lang.Override @@ -1500,8 +1691,11 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest result = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest result = + new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1513,20 +1707,18 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AppendRowsR result.writeStream_ = writeStream_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.offset_ = offsetBuilder_ == null - ? offset_ - : offsetBuilder_.build(); + result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.traceId_ = traceId_; } } - private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest result) { + private void buildPartialOneofs( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest result) { result.rowsCase_ = rowsCase_; result.rows_ = this.rows_; - if (rowsCase_ == 4 && - protoRowsBuilder_ != null) { + if (rowsCase_ == 4 && protoRowsBuilder_ != null) { result.rows_ = protoRowsBuilder_.build(); } } @@ -1535,38 +1727,39 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta2.Append public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest) other); } else { super.mergeFrom(other); return this; @@ -1574,7 +1767,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.getDefaultInstance()) + return this; if (!other.getWriteStream().isEmpty()) { writeStream_ = other.writeStream_; bitField0_ |= 0x00000001; @@ -1589,13 +1783,15 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.AppendRowsReq onChanged(); } switch (other.getRowsCase()) { - case PROTO_ROWS: { - mergeProtoRows(other.getProtoRows()); - break; - } - case ROWS_NOT_SET: { - break; - } + case PROTO_ROWS: + { + mergeProtoRows(other.getProtoRows()); + break; + } + case ROWS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1628,36 +1824,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - writeStream_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getOffsetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: { - input.readMessage( - getProtoRowsFieldBuilder().getBuilder(), - extensionRegistry); - rowsCase_ = 4; - break; - } // case 34 - case 50: { - traceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + writeStream_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getOffsetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: + { + input.readMessage(getProtoRowsFieldBuilder().getBuilder(), extensionRegistry); + rowsCase_ = 4; + break; + } // case 34 + case 50: + { + traceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1667,12 +1864,12 @@ public Builder mergeFrom( } // finally return this; } + private int rowsCase_ = 0; private java.lang.Object rows_; - public RowsCase - getRowsCase() { - return RowsCase.forNumber( - rowsCase_); + + public RowsCase getRowsCase() { + return RowsCase.forNumber(rowsCase_); } public Builder clearRows() { @@ -1686,6 +1883,8 @@ public Builder clearRows() { private java.lang.Object writeStream_ = ""; /** + * + * *
      * Required. The stream that is the target of the append operation. This value must be
      * specified for the initial request. If subsequent requests specify the
@@ -1694,14 +1893,16 @@ public Builder clearRows() {
      * format `projects/{project}/datasets/{dataset}/tables/{table}/_default`.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The writeStream. */ public java.lang.String getWriteStream() { java.lang.Object ref = writeStream_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; @@ -1710,6 +1911,8 @@ public java.lang.String getWriteStream() { } } /** + * + * *
      * Required. The stream that is the target of the append operation. This value must be
      * specified for the initial request. If subsequent requests specify the
@@ -1718,16 +1921,17 @@ public java.lang.String getWriteStream() {
      * format `projects/{project}/datasets/{dataset}/tables/{table}/_default`.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for writeStream. */ - public com.google.protobuf.ByteString - getWriteStreamBytes() { + public com.google.protobuf.ByteString getWriteStreamBytes() { java.lang.Object ref = writeStream_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); writeStream_ = b; return b; } else { @@ -1735,6 +1939,8 @@ public java.lang.String getWriteStream() { } } /** + * + * *
      * Required. The stream that is the target of the append operation. This value must be
      * specified for the initial request. If subsequent requests specify the
@@ -1743,19 +1949,25 @@ public java.lang.String getWriteStream() {
      * format `projects/{project}/datasets/{dataset}/tables/{table}/_default`.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStream( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteStream(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } writeStream_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The stream that is the target of the append operation. This value must be
      * specified for the initial request. If subsequent requests specify the
@@ -1764,7 +1976,10 @@ public Builder setWriteStream(
      * format `projects/{project}/datasets/{dataset}/tables/{table}/_default`.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWriteStream() { @@ -1774,6 +1989,8 @@ public Builder clearWriteStream() { return this; } /** + * + * *
      * Required. The stream that is the target of the append operation. This value must be
      * specified for the initial request. If subsequent requests specify the
@@ -1782,13 +1999,17 @@ public Builder clearWriteStream() {
      * format `projects/{project}/datasets/{dataset}/tables/{table}/_default`.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStreamBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); writeStream_ = value; bitField0_ |= 0x00000001; @@ -1798,8 +2019,13 @@ public Builder setWriteStreamBytes( private com.google.protobuf.Int64Value offset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> offsetBuilder_; + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> + offsetBuilder_; /** + * + * *
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -1808,12 +2034,15 @@ public Builder setWriteStreamBytes(
      * 
* * .google.protobuf.Int64Value offset = 2; + * * @return Whether the offset field is set. */ public boolean hasOffset() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -1822,6 +2051,7 @@ public boolean hasOffset() {
      * 
* * .google.protobuf.Int64Value offset = 2; + * * @return The offset. */ public com.google.protobuf.Int64Value getOffset() { @@ -1832,6 +2062,8 @@ public com.google.protobuf.Int64Value getOffset() { } } /** + * + * *
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -1855,6 +2087,8 @@ public Builder setOffset(com.google.protobuf.Int64Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -1864,8 +2098,7 @@ public Builder setOffset(com.google.protobuf.Int64Value value) {
      *
      * .google.protobuf.Int64Value offset = 2;
      */
-    public Builder setOffset(
-        com.google.protobuf.Int64Value.Builder builderForValue) {
+    public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue) {
       if (offsetBuilder_ == null) {
         offset_ = builderForValue.build();
       } else {
@@ -1876,6 +2109,8 @@ public Builder setOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -1887,9 +2122,9 @@ public Builder setOffset(
      */
     public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       if (offsetBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          offset_ != null &&
-          offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && offset_ != null
+            && offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
           getOffsetBuilder().mergeFrom(value);
         } else {
           offset_ = value;
@@ -1902,6 +2137,8 @@ public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -1922,6 +2159,8 @@ public Builder clearOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -1937,6 +2176,8 @@ public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
       return getOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -1950,11 +2191,12 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
       if (offsetBuilder_ != null) {
         return offsetBuilder_.getMessageOrBuilder();
       } else {
-        return offset_ == null ?
-            com.google.protobuf.Int64Value.getDefaultInstance() : offset_;
+        return offset_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : offset_;
       }
     }
     /**
+     *
+     *
      * 
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -1965,27 +2207,37 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
      * .google.protobuf.Int64Value offset = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> 
+            com.google.protobuf.Int64Value,
+            com.google.protobuf.Int64Value.Builder,
+            com.google.protobuf.Int64ValueOrBuilder>
         getOffsetFieldBuilder() {
       if (offsetBuilder_ == null) {
-        offsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
-                getOffset(),
-                getParentForChildren(),
-                isClean());
+        offsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Int64Value,
+                com.google.protobuf.Int64Value.Builder,
+                com.google.protobuf.Int64ValueOrBuilder>(
+                getOffset(), getParentForChildren(), isClean());
         offset_ = null;
       }
       return offsetBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData, com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder, com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder> protoRowsBuilder_;
+            com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData,
+            com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder,
+            com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder>
+        protoRowsBuilder_;
     /**
+     *
+     *
      * 
      * Rows in proto format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * + * * @return Whether the protoRows field is set. */ @java.lang.Override @@ -1993,11 +2245,15 @@ public boolean hasProtoRows() { return rowsCase_ == 4; } /** + * + * *
      * Rows in proto format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * + * * @return The protoRows. */ @java.lang.Override @@ -2006,22 +2262,28 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData get if (rowsCase_ == 4) { return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_; } - return com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + .getDefaultInstance(); } else { if (rowsCase_ == 4) { return protoRowsBuilder_.getMessage(); } - return com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + .getDefaultInstance(); } } /** + * + * *
      * Rows in proto format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * */ - public Builder setProtoRows(com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData value) { + public Builder setProtoRows( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData value) { if (protoRowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2035,14 +2297,18 @@ public Builder setProtoRows(com.google.cloud.bigquery.storage.v1beta2.AppendRows return this; } /** + * + * *
      * Rows in proto format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * */ public Builder setProtoRows( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder + builderForValue) { if (protoRowsBuilder_ == null) { rows_ = builderForValue.build(); onChanged(); @@ -2053,18 +2319,27 @@ public Builder setProtoRows( return this; } /** + * + * *
      * Rows in proto format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * */ - public Builder mergeProtoRows(com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData value) { + public Builder mergeProtoRows( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData value) { if (protoRowsBuilder_ == null) { - if (rowsCase_ == 4 && - rows_ != com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.getDefaultInstance()) { - rows_ = com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.newBuilder((com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_) - .mergeFrom(value).buildPartial(); + if (rowsCase_ == 4 + && rows_ + != com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + .getDefaultInstance()) { + rows_ = + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.newBuilder( + (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_) + .mergeFrom(value) + .buildPartial(); } else { rows_ = value; } @@ -2080,11 +2355,14 @@ public Builder mergeProtoRows(com.google.cloud.bigquery.storage.v1beta2.AppendRo return this; } /** + * + * *
      * Rows in proto format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * */ public Builder clearProtoRows() { if (protoRowsBuilder_ == null) { @@ -2103,49 +2381,68 @@ public Builder clearProtoRows() { return this; } /** + * + * *
      * Rows in proto format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * */ - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder getProtoRowsBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder + getProtoRowsBuilder() { return getProtoRowsFieldBuilder().getBuilder(); } /** + * + * *
      * Rows in proto format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder + getProtoRowsOrBuilder() { if ((rowsCase_ == 4) && (protoRowsBuilder_ != null)) { return protoRowsBuilder_.getMessageOrBuilder(); } else { if (rowsCase_ == 4) { return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_; } - return com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + .getDefaultInstance(); } } /** + * + * *
      * Rows in proto format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData, com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder, com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder> getProtoRowsFieldBuilder() { if (protoRowsBuilder_ == null) { if (!(rowsCase_ == 4)) { - rows_ = com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.getDefaultInstance(); + rows_ = + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + .getDefaultInstance(); } - protoRowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData, com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder, com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder>( + protoRowsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder>( (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_, getParentForChildren(), isClean()); @@ -2158,19 +2455,21 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBu private java.lang.Object traceId_ = ""; /** + * + * *
      * Id set by client to annotate its identity. Only initial request setting is
      * respected.
      * 
* * string trace_id = 6; + * * @return The traceId. */ public java.lang.String getTraceId() { java.lang.Object ref = traceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); traceId_ = s; return s; @@ -2179,21 +2478,22 @@ public java.lang.String getTraceId() { } } /** + * + * *
      * Id set by client to annotate its identity. Only initial request setting is
      * respected.
      * 
* * string trace_id = 6; + * * @return The bytes for traceId. */ - public com.google.protobuf.ByteString - getTraceIdBytes() { + public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); traceId_ = b; return b; } else { @@ -2201,30 +2501,37 @@ public java.lang.String getTraceId() { } } /** + * + * *
      * Id set by client to annotate its identity. Only initial request setting is
      * respected.
      * 
* * string trace_id = 6; + * * @param value The traceId to set. * @return This builder for chaining. */ - public Builder setTraceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTraceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } traceId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Id set by client to annotate its identity. Only initial request setting is
      * respected.
      * 
* * string trace_id = 6; + * * @return This builder for chaining. */ public Builder clearTraceId() { @@ -2234,27 +2541,31 @@ public Builder clearTraceId() { return this; } /** + * + * *
      * Id set by client to annotate its identity. Only initial request setting is
      * respected.
      * 
* * string trace_id = 6; + * * @param value The bytes for traceId to set. * @return This builder for chaining. */ - public Builder setTraceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTraceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); traceId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2264,12 +2575,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.AppendRowsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.AppendRowsRequest) private static final com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest(); } @@ -2278,27 +2589,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppendRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppendRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2313,6 +2624,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequestOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequestOrBuilder.java index 7216989a09..515b6e21b0 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequestOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface AppendRowsRequestOrBuilder extends +public interface AppendRowsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.AppendRowsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The stream that is the target of the append operation. This value must be
    * specified for the initial request. If subsequent requests specify the
@@ -16,11 +34,16 @@ public interface AppendRowsRequestOrBuilder extends
    * format `projects/{project}/datasets/{dataset}/tables/{table}/_default`.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The writeStream. */ java.lang.String getWriteStream(); /** + * + * *
    * Required. The stream that is the target of the append operation. This value must be
    * specified for the initial request. If subsequent requests specify the
@@ -29,13 +52,17 @@ public interface AppendRowsRequestOrBuilder extends
    * format `projects/{project}/datasets/{dataset}/tables/{table}/_default`.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for writeStream. */ - com.google.protobuf.ByteString - getWriteStreamBytes(); + com.google.protobuf.ByteString getWriteStreamBytes(); /** + * + * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -44,10 +71,13 @@ public interface AppendRowsRequestOrBuilder extends
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return Whether the offset field is set. */ boolean hasOffset(); /** + * + * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -56,10 +86,13 @@ public interface AppendRowsRequestOrBuilder extends
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return The offset. */ com.google.protobuf.Int64Value getOffset(); /** + * + * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -72,53 +105,67 @@ public interface AppendRowsRequestOrBuilder extends
   com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Rows in proto format.
    * 
* * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * * @return Whether the protoRows field is set. */ boolean hasProtoRows(); /** + * + * *
    * Rows in proto format.
    * 
* * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; + * * @return The protoRows. */ com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData getProtoRows(); /** + * + * *
    * Rows in proto format.
    * 
* * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; */ - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder(); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder + getProtoRowsOrBuilder(); /** + * + * *
    * Id set by client to annotate its identity. Only initial request setting is
    * respected.
    * 
* * string trace_id = 6; + * * @return The traceId. */ java.lang.String getTraceId(); /** + * + * *
    * Id set by client to annotate its identity. Only initial request setting is
    * respected.
    * 
* * string trace_id = 6; + * * @return The bytes for traceId. */ - com.google.protobuf.ByteString - getTraceIdBytes(); + com.google.protobuf.ByteString getTraceIdBytes(); com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.RowsCase getRowsCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponse.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponse.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponse.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponse.java index 066018adc8..0249375643 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponse.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponse.java @@ -1,72 +1,99 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Response message for `AppendRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AppendRowsResponse} */ -public final class AppendRowsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AppendRowsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.AppendRowsResponse) AppendRowsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AppendRowsResponse.newBuilder() to construct. private AppendRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AppendRowsResponse() { - } + + private AppendRowsResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AppendRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.class, com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.class, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.Builder.class); } - public interface AppendResultOrBuilder extends + public interface AppendResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
      * 
* * .google.protobuf.Int64Value offset = 1; + * * @return Whether the offset field is set. */ boolean hasOffset(); /** + * + * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
      * 
* * .google.protobuf.Int64Value offset = 1; + * * @return The offset. */ com.google.protobuf.Int64Value getOffset(); /** + * + * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
@@ -77,53 +104,60 @@ public interface AppendResultOrBuilder extends
     com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder();
   }
   /**
+   *
+   *
    * 
    * AppendResult is returned for successful append requests.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult} */ - public static final class AppendResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AppendResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) AppendResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AppendResult.newBuilder() to construct. private AppendResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AppendResult() { - } + + private AppendResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AppendResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.class, com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.class, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder + .class); } public static final int OFFSET_FIELD_NUMBER = 1; private com.google.protobuf.Int64Value offset_; /** + * + * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
      * 
* * .google.protobuf.Int64Value offset = 1; + * * @return Whether the offset field is set. */ @java.lang.Override @@ -131,12 +165,15 @@ public boolean hasOffset() { return offset_ != null; } /** + * + * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
      * 
* * .google.protobuf.Int64Value offset = 1; + * * @return The offset. */ @java.lang.Override @@ -144,6 +181,8 @@ public com.google.protobuf.Int64Value getOffset() { return offset_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : offset_; } /** + * + * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
@@ -157,6 +196,7 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -168,8 +208,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (offset_ != null) {
         output.writeMessage(1, getOffset());
       }
@@ -183,8 +222,7 @@ public int getSerializedSize() {
 
       size = 0;
       if (offset_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getOffset());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOffset());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -194,17 +232,18 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
-      if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult)) {
+      if (!(obj
+          instanceof com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult)) {
         return super.equals(obj);
       }
-      com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult other = (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) obj;
+      com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult other =
+          (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) obj;
 
       if (hasOffset() != other.hasOffset()) return false;
       if (hasOffset()) {
-        if (!getOffset()
-            .equals(other.getOffset())) return false;
+        if (!getOffset().equals(other.getOffset())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -226,90 +265,101 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        parseFrom(java.nio.ByteBuffer data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        parseFrom(
+            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        parseFrom(com.google.protobuf.ByteString data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        parseFrom(
+            com.google.protobuf.ByteString data,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        parseFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        parseFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
-    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parseFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        parseFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -319,39 +369,43 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * AppendResult is returned for successful append requests.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.class, com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.class, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder + .class); } - // Construct using com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -365,19 +419,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult build() { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult result = buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -385,19 +442,22 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult result = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult + buildPartial() { + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult result = + new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.offset_ = offsetBuilder_ == null - ? offset_ - : offsetBuilder_.build(); + result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build(); } } @@ -405,46 +465,54 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AppendRowsR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult)other); + if (other + instanceof com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) { + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult other) { + if (other + == com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult + .getDefaultInstance()) return this; if (other.hasOffset()) { mergeOffset(other.getOffset()); } @@ -474,19 +542,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getOffsetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getOffsetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,30 +564,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Int64Value offset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> offsetBuilder_; + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> + offsetBuilder_; /** + * + * *
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
        * 
* * .google.protobuf.Int64Value offset = 1; + * * @return Whether the offset field is set. */ public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
        * 
* * .google.protobuf.Int64Value offset = 1; + * * @return The offset. */ public com.google.protobuf.Int64Value getOffset() { @@ -530,6 +608,8 @@ public com.google.protobuf.Int64Value getOffset() { } } /** + * + * *
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -551,6 +631,8 @@ public Builder setOffset(com.google.protobuf.Int64Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -558,8 +640,7 @@ public Builder setOffset(com.google.protobuf.Int64Value value) {
        *
        * .google.protobuf.Int64Value offset = 1;
        */
-      public Builder setOffset(
-          com.google.protobuf.Int64Value.Builder builderForValue) {
+      public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue) {
         if (offsetBuilder_ == null) {
           offset_ = builderForValue.build();
         } else {
@@ -570,6 +651,8 @@ public Builder setOffset(
         return this;
       }
       /**
+       *
+       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -579,9 +662,9 @@ public Builder setOffset(
        */
       public Builder mergeOffset(com.google.protobuf.Int64Value value) {
         if (offsetBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0) &&
-            offset_ != null &&
-            offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0)
+              && offset_ != null
+              && offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
             getOffsetBuilder().mergeFrom(value);
           } else {
             offset_ = value;
@@ -594,6 +677,8 @@ public Builder mergeOffset(com.google.protobuf.Int64Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -612,6 +697,8 @@ public Builder clearOffset() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -625,6 +712,8 @@ public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
         return getOffsetFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -636,11 +725,12 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
         if (offsetBuilder_ != null) {
           return offsetBuilder_.getMessageOrBuilder();
         } else {
-          return offset_ == null ?
-              com.google.protobuf.Int64Value.getDefaultInstance() : offset_;
+          return offset_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : offset_;
         }
       }
       /**
+       *
+       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -649,18 +739,22 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
        * .google.protobuf.Int64Value offset = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> 
+              com.google.protobuf.Int64Value,
+              com.google.protobuf.Int64Value.Builder,
+              com.google.protobuf.Int64ValueOrBuilder>
           getOffsetFieldBuilder() {
         if (offsetBuilder_ == null) {
-          offsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
-                  getOffset(),
-                  getParentForChildren(),
-                  isClean());
+          offsetBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Int64Value,
+                  com.google.protobuf.Int64Value.Builder,
+                  com.google.protobuf.Int64ValueOrBuilder>(
+                  getOffset(), getParentForChildren(), isClean());
           offset_ = null;
         }
         return offsetBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -673,41 +767,45 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult)
-    private static final com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult DEFAULT_INSTANCE;
+    private static final com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult();
+      DEFAULT_INSTANCE =
+          new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult();
     }
 
-    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult getDefaultInstance() {
+    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public AppendResult parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public AppendResult parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -719,22 +817,26 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int responseCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object response_;
+
   public enum ResponseCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APPEND_RESULT(1),
     ERROR(2),
     RESPONSE_NOT_SET(0);
     private final int value;
+
     private ResponseCase(int value) {
       this.value = value;
     }
@@ -750,30 +852,37 @@ public static ResponseCase valueOf(int value) {
 
     public static ResponseCase forNumber(int value) {
       switch (value) {
-        case 1: return APPEND_RESULT;
-        case 2: return ERROR;
-        case 0: return RESPONSE_NOT_SET;
-        default: return null;
+        case 1:
+          return APPEND_RESULT;
+        case 2:
+          return ERROR;
+        case 0:
+          return RESPONSE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ResponseCase
-  getResponseCase() {
-    return ResponseCase.forNumber(
-        responseCase_);
+  public ResponseCase getResponseCase() {
+    return ResponseCase.forNumber(responseCase_);
   }
 
   public static final int APPEND_RESULT_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * * @return Whether the appendResult field is set. */ @java.lang.Override @@ -781,37 +890,50 @@ public boolean hasAppendResult() { return responseCase_ == 1; } /** + * + * *
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * * @return The appendResult. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult getAppendResult() { + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult + getAppendResult() { if (responseCase_ == 1) { - return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_; + return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_; } - return com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult + .getDefaultInstance(); } /** + * + * *
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder + getAppendResultOrBuilder() { if (responseCase_ == 1) { - return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_; + return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_; } - return com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult + .getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; /** + * + * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -836,6 +958,7 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -843,6 +966,8 @@ public boolean hasError() { return responseCase_ == 2; } /** + * + * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -867,16 +992,19 @@ public boolean hasError() {
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override public com.google.rpc.Status getError() { if (responseCase_ == 2) { - return (com.google.rpc.Status) response_; + return (com.google.rpc.Status) response_; } return com.google.rpc.Status.getDefaultInstance(); } /** + * + * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -905,7 +1033,7 @@ public com.google.rpc.Status getError() {
   @java.lang.Override
   public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
     if (responseCase_ == 2) {
-       return (com.google.rpc.Status) response_;
+      return (com.google.rpc.Status) response_;
     }
     return com.google.rpc.Status.getDefaultInstance();
   }
@@ -913,6 +1041,8 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   public static final int UPDATED_SCHEMA_FIELD_NUMBER = 3;
   private com.google.cloud.bigquery.storage.v1beta2.TableSchema updatedSchema_;
   /**
+   *
+   *
    * 
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -920,6 +1050,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
    * 
* * .google.cloud.bigquery.storage.v1beta2.TableSchema updated_schema = 3; + * * @return Whether the updatedSchema field is set. */ @java.lang.Override @@ -927,6 +1058,8 @@ public boolean hasUpdatedSchema() { return updatedSchema_ != null; } /** + * + * *
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -934,13 +1067,18 @@ public boolean hasUpdatedSchema() {
    * 
* * .google.cloud.bigquery.storage.v1beta2.TableSchema updated_schema = 3; + * * @return The updatedSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableSchema getUpdatedSchema() { - return updatedSchema_ == null ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() : updatedSchema_; + return updatedSchema_ == null + ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() + : updatedSchema_; } /** + * + * *
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -950,11 +1088,15 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema getUpdatedSchema()
    * .google.cloud.bigquery.storage.v1beta2.TableSchema updated_schema = 3;
    */
   @java.lang.Override
-  public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getUpdatedSchemaOrBuilder() {
-    return updatedSchema_ == null ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() : updatedSchema_;
+  public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder
+      getUpdatedSchemaOrBuilder() {
+    return updatedSchema_ == null
+        ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance()
+        : updatedSchema_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -966,10 +1108,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (responseCase_ == 1) {
-      output.writeMessage(1, (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_);
+      output.writeMessage(
+          1, (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_);
     }
     if (responseCase_ == 2) {
       output.writeMessage(2, (com.google.rpc.Status) response_);
@@ -987,16 +1129,19 @@ public int getSerializedSize() {
 
     size = 0;
     if (responseCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1,
+              (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult)
+                  response_);
     }
     if (responseCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.rpc.Status) response_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.rpc.Status) response_);
     }
     if (updatedSchema_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getUpdatedSchema());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdatedSchema());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1006,27 +1151,25 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse other = (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse) obj;
+    com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse other =
+        (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse) obj;
 
     if (hasUpdatedSchema() != other.hasUpdatedSchema()) return false;
     if (hasUpdatedSchema()) {
-      if (!getUpdatedSchema()
-          .equals(other.getUpdatedSchema())) return false;
+      if (!getUpdatedSchema().equals(other.getUpdatedSchema())) return false;
     }
     if (!getResponseCase().equals(other.getResponseCase())) return false;
     switch (responseCase_) {
       case 1:
-        if (!getAppendResult()
-            .equals(other.getAppendResult())) return false;
+        if (!getAppendResult().equals(other.getAppendResult())) return false;
         break;
       case 2:
-        if (!getError()
-            .equals(other.getError())) return false;
+        if (!getError().equals(other.getError())) return false;
         break;
       case 0:
       default:
@@ -1064,131 +1207,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Response message for `AppendRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AppendRowsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.AppendRowsResponse) com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.class, com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.class, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1210,13 +1358,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.getDefaultInstance(); } @@ -1231,31 +1380,33 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse result = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse result = + new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { - result.updatedSchema_ = updatedSchemaBuilder_ == null - ? updatedSchema_ - : updatedSchemaBuilder_.build(); + result.updatedSchema_ = + updatedSchemaBuilder_ == null ? updatedSchema_ : updatedSchemaBuilder_.build(); } } - private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse result) { + private void buildPartialOneofs( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse result) { result.responseCase_ = responseCase_; result.response_ = this.response_; - if (responseCase_ == 1 && - appendResultBuilder_ != null) { + if (responseCase_ == 1 && appendResultBuilder_ != null) { result.response_ = appendResultBuilder_.build(); } - if (responseCase_ == 2 && - errorBuilder_ != null) { + if (responseCase_ == 2 && errorBuilder_ != null) { result.response_ = errorBuilder_.build(); } } @@ -1264,38 +1415,39 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta2.Append public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse) other); } else { super.mergeFrom(other); return this; @@ -1303,22 +1455,27 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.getDefaultInstance()) + return this; if (other.hasUpdatedSchema()) { mergeUpdatedSchema(other.getUpdatedSchema()); } switch (other.getResponseCase()) { - case APPEND_RESULT: { - mergeAppendResult(other.getAppendResult()); - break; - } - case ERROR: { - mergeError(other.getError()); - break; - } - case RESPONSE_NOT_SET: { - break; - } + case APPEND_RESULT: + { + mergeAppendResult(other.getAppendResult()); + break; + } + case ERROR: + { + mergeError(other.getError()); + break; + } + case RESPONSE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1346,33 +1503,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAppendResultFieldBuilder().getBuilder(), - extensionRegistry); - responseCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getErrorFieldBuilder().getBuilder(), - extensionRegistry); - responseCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdatedSchemaFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAppendResultFieldBuilder().getBuilder(), extensionRegistry); + responseCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); + responseCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdatedSchemaFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1382,12 +1537,12 @@ public Builder mergeFrom( } // finally return this; } + private int responseCase_ = 0; private java.lang.Object response_; - public ResponseCase - getResponseCase() { - return ResponseCase.forNumber( - responseCase_); + + public ResponseCase getResponseCase() { + return ResponseCase.forNumber(responseCase_); } public Builder clearResponse() { @@ -1400,13 +1555,21 @@ public Builder clearResponse() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult, com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder, com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder> appendResultBuilder_; + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder> + appendResultBuilder_; /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * * @return Whether the appendResult field is set. */ @java.lang.Override @@ -1414,35 +1577,49 @@ public boolean hasAppendResult() { return responseCase_ == 1; } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * * @return The appendResult. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult getAppendResult() { + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult + getAppendResult() { if (appendResultBuilder_ == null) { if (responseCase_ == 1) { - return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_; + return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) + response_; } - return com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult + .getDefaultInstance(); } else { if (responseCase_ == 1) { return appendResultBuilder_.getMessage(); } - return com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult + .getDefaultInstance(); } } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * */ - public Builder setAppendResult(com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult value) { + public Builder setAppendResult( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult value) { if (appendResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1456,14 +1633,19 @@ public Builder setAppendResult(com.google.cloud.bigquery.storage.v1beta2.AppendR return this; } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * */ public Builder setAppendResult( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder + builderForValue) { if (appendResultBuilder_ == null) { response_ = builderForValue.build(); onChanged(); @@ -1474,18 +1656,29 @@ public Builder setAppendResult( return this; } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * */ - public Builder mergeAppendResult(com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult value) { + public Builder mergeAppendResult( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult value) { if (appendResultBuilder_ == null) { - if (responseCase_ == 1 && - response_ != com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.getDefaultInstance()) { - response_ = com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.newBuilder((com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_) - .mergeFrom(value).buildPartial(); + if (responseCase_ == 1 + && response_ + != com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult + .getDefaultInstance()) { + response_ = + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.newBuilder( + (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) + response_) + .mergeFrom(value) + .buildPartial(); } else { response_ = value; } @@ -1501,11 +1694,15 @@ public Builder mergeAppendResult(com.google.cloud.bigquery.storage.v1beta2.Appen return this; } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * */ public Builder clearAppendResult() { if (appendResultBuilder_ == null) { @@ -1524,50 +1721,74 @@ public Builder clearAppendResult() { return this; } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * */ - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder getAppendResultBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder + getAppendResultBuilder() { return getAppendResultFieldBuilder().getBuilder(); } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder + getAppendResultOrBuilder() { if ((responseCase_ == 1) && (appendResultBuilder_ != null)) { return appendResultBuilder_.getMessageOrBuilder(); } else { if (responseCase_ == 1) { - return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_; + return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) + response_; } - return com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult + .getDefaultInstance(); } } /** + * + * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult, com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder, com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder> getAppendResultFieldBuilder() { if (appendResultBuilder_ == null) { if (!(responseCase_ == 1)) { - response_ = com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.getDefaultInstance(); + response_ = + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult + .getDefaultInstance(); } - appendResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult, com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder, com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder>( - (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_, + appendResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder>( + (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) + response_, getParentForChildren(), isClean()); response_ = null; @@ -1578,8 +1799,11 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult } private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1604,6 +1828,7 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -1611,6 +1836,8 @@ public boolean hasError() { return responseCase_ == 2; } /** + * + * *
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1635,6 +1862,7 @@ public boolean hasError() {
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -1652,6 +1880,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1691,6 +1921,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1716,8 +1948,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 2;
      */
-    public Builder setError(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         response_ = builderForValue.build();
         onChanged();
@@ -1728,6 +1959,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1755,10 +1988,11 @@ public Builder setError(
      */
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
-        if (responseCase_ == 2 &&
-            response_ != com.google.rpc.Status.getDefaultInstance()) {
-          response_ = com.google.rpc.Status.newBuilder((com.google.rpc.Status) response_)
-              .mergeFrom(value).buildPartial();
+        if (responseCase_ == 2 && response_ != com.google.rpc.Status.getDefaultInstance()) {
+          response_ =
+              com.google.rpc.Status.newBuilder((com.google.rpc.Status) response_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           response_ = value;
         }
@@ -1774,6 +2008,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1816,6 +2052,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1845,6 +2083,8 @@ public com.google.rpc.Status.Builder getErrorBuilder() {
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1882,6 +2122,8 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1908,17 +2150,18 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
         if (!(responseCase_ == 2)) {
           response_ = com.google.rpc.Status.getDefaultInstance();
         }
-        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                (com.google.rpc.Status) response_,
-                getParentForChildren(),
-                isClean());
+        errorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
+                (com.google.rpc.Status) response_, getParentForChildren(), isClean());
         response_ = null;
       }
       responseCase_ = 2;
@@ -1928,8 +2171,13 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
 
     private com.google.cloud.bigquery.storage.v1beta2.TableSchema updatedSchema_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1beta2.TableSchema, com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder> updatedSchemaBuilder_;
+            com.google.cloud.bigquery.storage.v1beta2.TableSchema,
+            com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder,
+            com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder>
+        updatedSchemaBuilder_;
     /**
+     *
+     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -1937,12 +2185,15 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * 
* * .google.cloud.bigquery.storage.v1beta2.TableSchema updated_schema = 3; + * * @return Whether the updatedSchema field is set. */ public boolean hasUpdatedSchema() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -1950,16 +2201,21 @@ public boolean hasUpdatedSchema() {
      * 
* * .google.cloud.bigquery.storage.v1beta2.TableSchema updated_schema = 3; + * * @return The updatedSchema. */ public com.google.cloud.bigquery.storage.v1beta2.TableSchema getUpdatedSchema() { if (updatedSchemaBuilder_ == null) { - return updatedSchema_ == null ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() : updatedSchema_; + return updatedSchema_ == null + ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() + : updatedSchema_; } else { return updatedSchemaBuilder_.getMessage(); } } /** + * + * *
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -1982,6 +2238,8 @@ public Builder setUpdatedSchema(com.google.cloud.bigquery.storage.v1beta2.TableS
       return this;
     }
     /**
+     *
+     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2002,6 +2260,8 @@ public Builder setUpdatedSchema(
       return this;
     }
     /**
+     *
+     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2012,9 +2272,10 @@ public Builder setUpdatedSchema(
      */
     public Builder mergeUpdatedSchema(com.google.cloud.bigquery.storage.v1beta2.TableSchema value) {
       if (updatedSchemaBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          updatedSchema_ != null &&
-          updatedSchema_ != com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && updatedSchema_ != null
+            && updatedSchema_
+                != com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance()) {
           getUpdatedSchemaBuilder().mergeFrom(value);
         } else {
           updatedSchema_ = value;
@@ -2027,6 +2288,8 @@ public Builder mergeUpdatedSchema(com.google.cloud.bigquery.storage.v1beta2.Tabl
       return this;
     }
     /**
+     *
+     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2046,6 +2309,8 @@ public Builder clearUpdatedSchema() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2060,6 +2325,8 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder getUpdatedS
       return getUpdatedSchemaFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2068,15 +2335,19 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder getUpdatedS
      *
      * .google.cloud.bigquery.storage.v1beta2.TableSchema updated_schema = 3;
      */
-    public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getUpdatedSchemaOrBuilder() {
+    public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder
+        getUpdatedSchemaOrBuilder() {
       if (updatedSchemaBuilder_ != null) {
         return updatedSchemaBuilder_.getMessageOrBuilder();
       } else {
-        return updatedSchema_ == null ?
-            com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() : updatedSchema_;
+        return updatedSchema_ == null
+            ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance()
+            : updatedSchema_;
       }
     }
     /**
+     *
+     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2086,21 +2357,24 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getUpdated
      * .google.cloud.bigquery.storage.v1beta2.TableSchema updated_schema = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1beta2.TableSchema, com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder> 
+            com.google.cloud.bigquery.storage.v1beta2.TableSchema,
+            com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder,
+            com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder>
         getUpdatedSchemaFieldBuilder() {
       if (updatedSchemaBuilder_ == null) {
-        updatedSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1beta2.TableSchema, com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder>(
-                getUpdatedSchema(),
-                getParentForChildren(),
-                isClean());
+        updatedSchemaBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.bigquery.storage.v1beta2.TableSchema,
+                com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder,
+                com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder>(
+                getUpdatedSchema(), getParentForChildren(), isClean());
         updatedSchema_ = null;
       }
       return updatedSchemaBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2110,12 +2384,13 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.AppendRowsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.AppendRowsResponse)
-  private static final com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse DEFAULT_INSTANCE;
+  private static final com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse();
   }
@@ -2124,27 +2399,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse getDe
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AppendRowsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AppendRowsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2159,6 +2434,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponseOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponseOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponseOrBuilder.java
rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponseOrBuilder.java
index 2effa27d73..346b2c245c 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponseOrBuilder.java
+++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponseOrBuilder.java
@@ -1,40 +1,70 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1beta2/storage.proto
 
 package com.google.cloud.bigquery.storage.v1beta2;
 
-public interface AppendRowsResponseOrBuilder extends
+public interface AppendRowsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.AppendRowsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * * @return Whether the appendResult field is set. */ boolean hasAppendResult(); /** + * + * *
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * + * * @return The appendResult. */ com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult getAppendResult(); /** + * + * *
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; + * */ - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder(); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder + getAppendResultOrBuilder(); /** + * + * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -59,10 +89,13 @@ public interface AppendRowsResponseOrBuilder extends
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -87,10 +120,13 @@ public interface AppendRowsResponseOrBuilder extends
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -119,6 +155,8 @@ public interface AppendRowsResponseOrBuilder extends
   com.google.rpc.StatusOrBuilder getErrorOrBuilder();
 
   /**
+   *
+   *
    * 
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -126,10 +164,13 @@ public interface AppendRowsResponseOrBuilder extends
    * 
* * .google.cloud.bigquery.storage.v1beta2.TableSchema updated_schema = 3; + * * @return Whether the updatedSchema field is set. */ boolean hasUpdatedSchema(); /** + * + * *
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -137,10 +178,13 @@ public interface AppendRowsResponseOrBuilder extends
    * 
* * .google.cloud.bigquery.storage.v1beta2.TableSchema updated_schema = 3; + * * @return The updatedSchema. */ com.google.cloud.bigquery.storage.v1beta2.TableSchema getUpdatedSchema(); /** + * + * *
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java
new file mode 100644
index 0000000000..477b1150a7
--- /dev/null
+++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java
@@ -0,0 +1,95 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/bigquery/storage/v1beta2/arrow.proto
+
+package com.google.cloud.bigquery.storage.v1beta2;
+
+public final class ArrowProto {
+  private ArrowProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/cloud/bigquery/storage/v1beta2/"
+          + "arrow.proto\022%google.cloud.bigquery.stora"
+          + "ge.v1beta2\"(\n\013ArrowSchema\022\031\n\021serialized_"
+          + "schema\030\001 \001(\014\"3\n\020ArrowRecordBatch\022\037\n\027seri"
+          + "alized_record_batch\030\001 \001(\014\"\266\001\n\031ArrowSeria"
+          + "lizationOptions\022W\n\006format\030\001 \001(\0162G.google"
+          + ".cloud.bigquery.storage.v1beta2.ArrowSer"
+          + "ializationOptions.Format\"@\n\006Format\022\026\n\022FO"
+          + "RMAT_UNSPECIFIED\020\000\022\016\n\nARROW_0_14\020\001\022\016\n\nAR"
+          + "ROW_0_15\020\002B~\n)com.google.cloud.bigquery."
+          + "storage.v1beta2B\nArrowProtoP\001ZCcloud.goo"
+          + "gle.com/go/bigquery/storage/apiv1beta2/s"
+          + "toragepb;storagepbb\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor,
+            new java.lang.String[] {
+              "SerializedSchema",
+            });
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor,
+            new java.lang.String[] {
+              "SerializedRecordBatch",
+            });
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor,
+            new java.lang.String[] {
+              "Format",
+            });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatch.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatch.java
similarity index 65%
rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatch.java
rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatch.java
index 7ea8f3ee72..3a670eba92 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatch.java
+++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatch.java
@@ -1,56 +1,79 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1beta2/arrow.proto
 
 package com.google.cloud.bigquery.storage.v1beta2;
 
 /**
+ *
+ *
  * 
  * Arrow RecordBatch.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch} */ -public final class ArrowRecordBatch extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ArrowRecordBatch extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) ArrowRecordBatchOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArrowRecordBatch.newBuilder() to construct. private ArrowRecordBatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArrowRecordBatch() { serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArrowRecordBatch(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.class, com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.class, + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder.class); } public static final int SERIALIZED_RECORD_BATCH_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedRecordBatch_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * IPC-serialized Arrow RecordBatch.
    * 
* * bytes serialized_record_batch = 1; + * * @return The serializedRecordBatch. */ @java.lang.Override @@ -59,6 +82,7 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -70,8 +94,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!serializedRecordBatch_.isEmpty()) { output.writeBytes(1, serializedRecordBatch_); } @@ -85,8 +108,7 @@ public int getSerializedSize() { size = 0; if (!serializedRecordBatch_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, serializedRecordBatch_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, serializedRecordBatch_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -96,15 +118,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch other = (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) obj; + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch other = + (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) obj; - if (!getSerializedRecordBatch() - .equals(other.getSerializedRecordBatch())) return false; + if (!getSerializedRecordBatch().equals(other.getSerializedRecordBatch())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -124,131 +146,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Arrow RecordBatch.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.class, com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.class, + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -258,9 +285,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor; } @java.lang.Override @@ -279,8 +306,11 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch result = new com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch result = + new com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -296,38 +326,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ArrowRecord public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) other); } else { super.mergeFrom(other); return this; @@ -335,7 +366,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.getDefaultInstance()) + return this; if (other.getSerializedRecordBatch() != com.google.protobuf.ByteString.EMPTY) { setSerializedRecordBatch(other.getSerializedRecordBatch()); } @@ -365,17 +397,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - serializedRecordBatch_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + serializedRecordBatch_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -385,15 +419,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.ByteString serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedRecordBatch_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; + * * @return The serializedRecordBatch. */ @java.lang.Override @@ -401,27 +440,35 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { return serializedRecordBatch_; } /** + * + * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; + * * @param value The serializedRecordBatch to set. * @return This builder for chaining. */ public Builder setSerializedRecordBatch(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } serializedRecordBatch_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; + * * @return This builder for chaining. */ public Builder clearSerializedRecordBatch() { @@ -430,9 +477,9 @@ public Builder clearSerializedRecordBatch() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -442,12 +489,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) private static final com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch(); } @@ -456,27 +503,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowRecordBatch parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowRecordBatch parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -491,6 +538,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java new file mode 100644 index 0000000000..af5a7b1860 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java @@ -0,0 +1,38 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/arrow.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public interface ArrowRecordBatchOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * IPC-serialized Arrow RecordBatch.
+   * 
+ * + * bytes serialized_record_batch = 1; + * + * @return The serializedRecordBatch. + */ + com.google.protobuf.ByteString getSerializedRecordBatch(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchema.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchema.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchema.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchema.java index 04a9a483ed..475b37129f 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchema.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchema.java @@ -1,9 +1,26 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/arrow.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Arrow schema as specified in
  * https://arrow.apache.org/docs/python/api/datatypes.html
@@ -15,47 +32,52 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ArrowSchema}
  */
-public final class ArrowSchema extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ArrowSchema extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ArrowSchema)
     ArrowSchemaOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ArrowSchema.newBuilder() to construct.
   private ArrowSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ArrowSchema() {
     serializedSchema_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ArrowSchema();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1beta2.ArrowProto
+        .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1beta2.ArrowProto
+        .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.class, com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder.class);
+            com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.class,
+            com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder.class);
   }
 
   public static final int SERIALIZED_SCHEMA_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString serializedSchema_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * IPC serialized Arrow schema.
    * 
* * bytes serialized_schema = 1; + * * @return The serializedSchema. */ @java.lang.Override @@ -64,6 +86,7 @@ public com.google.protobuf.ByteString getSerializedSchema() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +98,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!serializedSchema_.isEmpty()) { output.writeBytes(1, serializedSchema_); } @@ -90,8 +112,7 @@ public int getSerializedSize() { size = 0; if (!serializedSchema_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, serializedSchema_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, serializedSchema_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +122,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ArrowSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema other = (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) obj; + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema other = + (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) obj; - if (!getSerializedSchema() - .equals(other.getSerializedSchema())) return false; + if (!getSerializedSchema().equals(other.getSerializedSchema())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -129,98 +150,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ArrowSchema prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Arrow schema as specified in
    * https://arrow.apache.org/docs/python/api/datatypes.html
@@ -232,33 +259,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ArrowSchema}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ArrowSchema)
       com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1beta2.ArrowProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1beta2.ArrowProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.class, com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder.class);
+              com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.class,
+              com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -268,9 +294,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.storage.v1beta2.ArrowProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor;
     }
 
     @java.lang.Override
@@ -289,8 +315,11 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema buildPartial() {
-      com.google.cloud.bigquery.storage.v1beta2.ArrowSchema result = new com.google.cloud.bigquery.storage.v1beta2.ArrowSchema(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.storage.v1beta2.ArrowSchema result =
+          new com.google.cloud.bigquery.storage.v1beta2.ArrowSchema(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -306,38 +335,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ArrowSchema
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema)other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ArrowSchema other) {
-      if (other == com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.getDefaultInstance())
+        return this;
       if (other.getSerializedSchema() != com.google.protobuf.ByteString.EMPTY) {
         setSerializedSchema(other.getSerializedSchema());
       }
@@ -375,17 +406,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              serializedSchema_ = input.readBytes();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                serializedSchema_ = input.readBytes();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -395,15 +428,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.ByteString serializedSchema_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; + * * @return The serializedSchema. */ @java.lang.Override @@ -411,27 +448,35 @@ public com.google.protobuf.ByteString getSerializedSchema() { return serializedSchema_; } /** + * + * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; + * * @param value The serializedSchema to set. * @return This builder for chaining. */ public Builder setSerializedSchema(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } serializedSchema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; + * * @return This builder for chaining. */ public Builder clearSerializedSchema() { @@ -440,9 +485,9 @@ public Builder clearSerializedSchema() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -452,12 +497,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ArrowSchema) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ArrowSchema) private static final com.google.cloud.bigquery.storage.v1beta2.ArrowSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ArrowSchema(); } @@ -466,27 +511,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -501,6 +546,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java new file mode 100644 index 0000000000..260812a8bc --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java @@ -0,0 +1,38 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/arrow.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public interface ArrowSchemaOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ArrowSchema) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * IPC serialized Arrow schema.
+   * 
+ * + * bytes serialized_schema = 1; + * + * @return The serializedSchema. + */ + com.google.protobuf.ByteString getSerializedSchema(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java similarity index 60% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java index 7ffa909889..6d4bfa469d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java @@ -1,58 +1,80 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/arrow.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Contains options specific to Arrow Serialization.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions} */ -public final class ArrowSerializationOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ArrowSerializationOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) ArrowSerializationOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArrowSerializationOptions.newBuilder() to construct. private ArrowSerializationOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArrowSerializationOptions() { format_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArrowSerializationOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.class, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.class, + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder.class); } /** + * + * *
    * The IPC format to use when serializing Arrow streams.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format} */ - public enum Format - implements com.google.protobuf.ProtocolMessageEnum { + public enum Format implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * If unspecied the IPC format as of 0.15 release will be used.
      * 
@@ -61,6 +83,8 @@ public enum Format */ FORMAT_UNSPECIFIED(0), /** + * + * *
      * Use the legacy IPC message format as of Apache Arrow Release 0.14.
      * 
@@ -69,6 +93,8 @@ public enum Format */ ARROW_0_14(1), /** + * + * *
      * Use the message format as of Apache Arrow Release 0.15.
      * 
@@ -80,6 +106,8 @@ public enum Format ; /** + * + * *
      * If unspecied the IPC format as of 0.15 release will be used.
      * 
@@ -88,6 +116,8 @@ public enum Format */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Use the legacy IPC message format as of Apache Arrow Release 0.14.
      * 
@@ -96,6 +126,8 @@ public enum Format */ public static final int ARROW_0_14_VALUE = 1; /** + * + * *
      * Use the message format as of Apache Arrow Release 0.15.
      * 
@@ -104,7 +136,6 @@ public enum Format */ public static final int ARROW_0_15_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -129,49 +160,51 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: return FORMAT_UNSPECIFIED; - case 1: return ARROW_0_14; - case 2: return ARROW_0_15; - default: return null; + case 0: + return FORMAT_UNSPECIFIED; + case 1: + return ARROW_0_14; + case 2: + return ARROW_0_15; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Format> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Format findValueByNumber(int number) { + return Format.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDescriptor() + .getEnumTypes() + .get(0); } private static final Format[] VALUES = values(); - public static Format valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -191,30 +224,45 @@ private Format(int value) { public static final int FORMAT_FIELD_NUMBER = 1; private int format_ = 0; /** + * + * *
    * The Arrow IPC format to use.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
    * The Arrow IPC format to use.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * + * * @return The format. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format getFormat() { - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format result = com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.forNumber(format_); - return result == null ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format getFormat() { + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format result = + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.forNumber( + format_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,9 +274,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (format_ != com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.FORMAT_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (format_ + != com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format + .FORMAT_UNSPECIFIED + .getNumber()) { output.writeEnum(1, format_); } getUnknownFields().writeTo(output); @@ -240,9 +290,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (format_ != com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, format_); + if (format_ + != com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format + .FORMAT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, format_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -252,12 +304,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions other = (com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) obj; + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions other = + (com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) obj; if (format_ != other.format_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -279,131 +332,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains options specific to Arrow Serialization.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.class, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.class, + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -413,14 +473,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + .getDefaultInstance(); } @java.lang.Override @@ -434,13 +496,17 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions build @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions result = new com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions result = + new com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.format_ = format_; @@ -451,46 +517,51 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ArrowSerial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions)other); + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions other) { + if (other + == com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + .getDefaultInstance()) return this; if (other.format_ != 0) { setFormatValue(other.getFormatValue()); } @@ -520,17 +591,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - format_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + format_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -540,26 +613,36 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int format_ = 0; /** + * + * *
      * The Arrow IPC format to use.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
      * The Arrow IPC format to use.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * + * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ @@ -570,28 +653,41 @@ public Builder setFormatValue(int value) { return this; } /** + * + * *
      * The Arrow IPC format to use.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * + * * @return The format. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format getFormat() { - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format result = com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.forNumber(format_); - return result == null ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format result = + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.forNumber( + format_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.UNRECOGNIZED + : result; } /** + * + * *
      * The Arrow IPC format to use.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * + * * @param value The format to set. * @return This builder for chaining. */ - public Builder setFormat(com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format value) { + public Builder setFormat( + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format value) { if (value == null) { throw new NullPointerException(); } @@ -601,11 +697,15 @@ public Builder setFormat(com.google.cloud.bigquery.storage.v1beta2.ArrowSerializ return this; } /** + * + * *
      * The Arrow IPC format to use.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * + * * @return This builder for chaining. */ public Builder clearFormat() { @@ -614,9 +714,9 @@ public Builder clearFormat() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -626,41 +726,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) - private static final com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions(); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowSerializationOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowSerializationOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -672,9 +774,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java similarity index 51% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java index 54f3c813e5..422fab5f1c 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java @@ -1,27 +1,51 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/arrow.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface ArrowSerializationOptionsOrBuilder extends +public interface ArrowSerializationOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Arrow IPC format to use.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * + * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** + * + * *
    * The Arrow IPC format to use.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; + * + * * @return The format. */ com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format getFormat(); diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroProto.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroProto.java new file mode 100644 index 0000000000..a6a3a50e2a --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroProto.java @@ -0,0 +1,78 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/avro.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public final class AvroProto { + private AvroProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n0google/cloud/bigquery/storage/v1beta2/" + + "avro.proto\022%google.cloud.bigquery.storag" + + "e.v1beta2\"\034\n\nAvroSchema\022\016\n\006schema\030\001 \001(\t\"" + + "*\n\010AvroRows\022\036\n\026serialized_binary_rows\030\001 " + + "\001(\014B}\n)com.google.cloud.bigquery.storage" + + ".v1beta2B\tAvroProtoP\001ZCcloud.google.com/" + + "go/bigquery/storage/apiv1beta2/storagepb" + + ";storagepbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor, + new java.lang.String[] { + "Schema", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor, + new java.lang.String[] { + "SerializedBinaryRows", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRows.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRows.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRows.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRows.java index 9111ebf732..81151d7c1a 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRows.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRows.java @@ -1,56 +1,79 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/avro.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Avro rows.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AvroRows} */ -public final class AvroRows extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AvroRows extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.AvroRows) AvroRowsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvroRows.newBuilder() to construct. private AvroRows(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AvroRows() { serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AvroRows(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AvroRows.class, com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AvroRows.class, + com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder.class); } public static final int SERIALIZED_BINARY_ROWS_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedBinaryRows_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * Binary serialized rows in a block.
    * 
* * bytes serialized_binary_rows = 1; + * * @return The serializedBinaryRows. */ @java.lang.Override @@ -59,6 +82,7 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -70,8 +94,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!serializedBinaryRows_.isEmpty()) { output.writeBytes(1, serializedBinaryRows_); } @@ -85,8 +108,7 @@ public int getSerializedSize() { size = 0; if (!serializedBinaryRows_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, serializedBinaryRows_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, serializedBinaryRows_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -96,15 +118,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.AvroRows)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.AvroRows other = (com.google.cloud.bigquery.storage.v1beta2.AvroRows) obj; + com.google.cloud.bigquery.storage.v1beta2.AvroRows other = + (com.google.cloud.bigquery.storage.v1beta2.AvroRows) obj; - if (!getSerializedBinaryRows() - .equals(other.getSerializedBinaryRows())) return false; + if (!getSerializedBinaryRows().equals(other.getSerializedBinaryRows())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -124,131 +146,135 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.AvroRows prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Avro rows.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AvroRows} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.AvroRows) com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AvroRows.class, com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AvroRows.class, + com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.AvroRows.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -258,9 +284,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor; } @java.lang.Override @@ -279,8 +305,11 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRows build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AvroRows buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.AvroRows result = new com.google.cloud.bigquery.storage.v1beta2.AvroRows(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.AvroRows result = + new com.google.cloud.bigquery.storage.v1beta2.AvroRows(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -296,38 +325,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AvroRows re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.AvroRows) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroRows)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroRows) other); } else { super.mergeFrom(other); return this; @@ -335,7 +365,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.AvroRows other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.AvroRows.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.AvroRows.getDefaultInstance()) + return this; if (other.getSerializedBinaryRows() != com.google.protobuf.ByteString.EMPTY) { setSerializedBinaryRows(other.getSerializedBinaryRows()); } @@ -365,17 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - serializedBinaryRows_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + serializedBinaryRows_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -385,15 +418,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.ByteString serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedBinaryRows_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; + * * @return The serializedBinaryRows. */ @java.lang.Override @@ -401,27 +439,35 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { return serializedBinaryRows_; } /** + * + * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; + * * @param value The serializedBinaryRows to set. * @return This builder for chaining. */ public Builder setSerializedBinaryRows(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } serializedBinaryRows_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; + * * @return This builder for chaining. */ public Builder clearSerializedBinaryRows() { @@ -430,9 +476,9 @@ public Builder clearSerializedBinaryRows() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -442,12 +488,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.AvroRows) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.AvroRows) private static final com.google.cloud.bigquery.storage.v1beta2.AvroRows DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.AvroRows(); } @@ -456,27 +502,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.AvroRows getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroRows parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroRows parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -491,6 +537,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.AvroRows getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java new file mode 100644 index 0000000000..872bc7376b --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java @@ -0,0 +1,38 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/avro.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public interface AvroRowsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.AvroRows) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Binary serialized rows in a block.
+   * 
+ * + * bytes serialized_binary_rows = 1; + * + * @return The serializedBinaryRows. + */ + com.google.protobuf.ByteString getSerializedBinaryRows(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchema.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchema.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchema.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchema.java index 22549b0acc..36ac104079 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchema.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchema.java @@ -1,58 +1,81 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/avro.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Avro schema.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AvroSchema} */ -public final class AvroSchema extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AvroSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.AvroSchema) AvroSchemaOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvroSchema.newBuilder() to construct. private AvroSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AvroSchema() { schema_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AvroSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AvroSchema.class, com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.class, + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder.class); } public static final int SCHEMA_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object schema_ = ""; /** + * + * *
    * Json serialized schema, as described at
    * https://avro.apache.org/docs/1.8.1/spec.html.
    * 
* * string schema = 1; + * * @return The schema. */ @java.lang.Override @@ -61,30 +84,30 @@ public java.lang.String getSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; } } /** + * + * *
    * Json serialized schema, as described at
    * https://avro.apache.org/docs/1.8.1/spec.html.
    * 
* * string schema = 1; + * * @return The bytes for schema. */ @java.lang.Override - public com.google.protobuf.ByteString - getSchemaBytes() { + public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schema_ = b; return b; } else { @@ -93,6 +116,7 @@ public java.lang.String getSchema() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +128,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); } @@ -129,15 +152,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.AvroSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.AvroSchema other = (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) obj; + com.google.cloud.bigquery.storage.v1beta2.AvroSchema other = + (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) obj; - if (!getSchema() - .equals(other.getSchema())) return false; + if (!getSchema().equals(other.getSchema())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +180,135 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.AvroSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Avro schema.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AvroSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.AvroSchema) com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AvroSchema.class, com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.class, + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.AvroSchema.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +318,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.AvroProto + .internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor; } @java.lang.Override @@ -312,8 +339,11 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroSchema build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AvroSchema buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.AvroSchema result = new com.google.cloud.bigquery.storage.v1beta2.AvroSchema(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.AvroSchema result = + new com.google.cloud.bigquery.storage.v1beta2.AvroSchema(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +359,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AvroSchema public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.AvroSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroSchema)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) other); } else { super.mergeFrom(other); return this; @@ -368,7 +399,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.AvroSchema other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.AvroSchema.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.AvroSchema.getDefaultInstance()) + return this; if (!other.getSchema().isEmpty()) { schema_ = other.schema_; bitField0_ |= 0x00000001; @@ -400,17 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - schema_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + schema_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +454,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object schema_ = ""; /** + * + * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; + * * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; @@ -445,21 +482,22 @@ public java.lang.String getSchema() { } } /** + * + * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; + * * @return The bytes for schema. */ - public com.google.protobuf.ByteString - getSchemaBytes() { + public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schema_ = b; return b; } else { @@ -467,30 +505,37 @@ public java.lang.String getSchema() { } } /** + * + * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; + * * @param value The schema to set. * @return This builder for chaining. */ - public Builder setSchema( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSchema(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } schema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; + * * @return This builder for chaining. */ public Builder clearSchema() { @@ -500,27 +545,31 @@ public Builder clearSchema() { return this; } /** + * + * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; + * * @param value The bytes for schema to set. * @return This builder for chaining. */ - public Builder setSchemaBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSchemaBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); schema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +579,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.AvroSchema) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.AvroSchema) private static final com.google.cloud.bigquery.storage.v1beta2.AvroSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.AvroSchema(); } @@ -544,27 +593,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +628,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.AvroSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchemaOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchemaOrBuilder.java similarity index 51% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchemaOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchemaOrBuilder.java index 410287e41a..80b010c19f 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchemaOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchemaOrBuilder.java @@ -1,31 +1,52 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/avro.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface AvroSchemaOrBuilder extends +public interface AvroSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.AvroSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Json serialized schema, as described at
    * https://avro.apache.org/docs/1.8.1/spec.html.
    * 
* * string schema = 1; + * * @return The schema. */ java.lang.String getSchema(); /** + * + * *
    * Json serialized schema, as described at
    * https://avro.apache.org/docs/1.8.1/spec.html.
    * 
* * string schema = 1; + * * @return The bytes for schema. */ - com.google.protobuf.ByteString - getSchemaBytes(); + com.google.protobuf.ByteString getSchemaBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequest.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequest.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequest.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequest.java index cc58addb80..8a3eb5d410 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequest.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequest.java @@ -1,60 +1,83 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Request message for `BatchCommitWriteStreams`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest} */ -public final class BatchCommitWriteStreamsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCommitWriteStreamsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) BatchCommitWriteStreamsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCommitWriteStreamsRequest.newBuilder() to construct. - private BatchCommitWriteStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchCommitWriteStreamsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCommitWriteStreamsRequest() { parent_ = ""; - writeStreams_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCommitWriteStreamsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.class, com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.class, + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent table that all the streams should belong to, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -63,30 +86,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Parent table that all the streams should belong to, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -95,38 +118,47 @@ public java.lang.String getParent() { } public static final int WRITE_STREAMS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the writeStreams. */ - public com.google.protobuf.ProtocolStringList - getWriteStreamsList() { + public com.google.protobuf.ProtocolStringList getWriteStreamsList() { return writeStreams_; } /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of writeStreams. */ public int getWriteStreamsCount() { return writeStreams_.size(); } /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The writeStreams at the given index. */ @@ -134,20 +166,23 @@ public java.lang.String getWriteStreams(int index) { return writeStreams_.get(index); } /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the writeStreams at the given index. */ - public com.google.protobuf.ByteString - getWriteStreamsBytes(int index) { + public com.google.protobuf.ByteString getWriteStreamsBytes(int index) { return writeStreams_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,8 +194,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -195,17 +229,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest)) { + if (!(obj + instanceof com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest other = (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) obj; + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest other = + (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getWriteStreamsList() - .equals(other.getWriteStreamsList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getWriteStreamsList().equals(other.getWriteStreamsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -229,155 +263,165 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `BatchCommitWriteStreams`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.class, com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.class, + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.Builder + .class); } - // Construct using com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; parent_ = ""; - writeStreams_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest build() { - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest result = buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -386,13 +430,17 @@ public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest result = new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest result = + new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -407,46 +455,52 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.BatchCommit public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest)other); + if (other + instanceof com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) { + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest other) { + if (other + == com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -488,23 +542,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureWriteStreamsIsMutable(); - writeStreams_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureWriteStreamsIsMutable(); + writeStreams_.add(s); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -514,23 +571,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent table that all the streams should belong to, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -539,21 +599,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent table that all the streams should belong to, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -561,30 +622,37 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent table that all the streams should belong to, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent table that all the streams should belong to, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -594,18 +662,22 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent table that all the streams should belong to, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -615,6 +687,7 @@ public Builder setParentBytes( private com.google.protobuf.LazyStringArrayList writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureWriteStreamsIsMutable() { if (!writeStreams_.isModifiable()) { writeStreams_ = new com.google.protobuf.LazyStringArrayList(writeStreams_); @@ -622,35 +695,43 @@ private void ensureWriteStreamsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the writeStreams. */ - public com.google.protobuf.ProtocolStringList - getWriteStreamsList() { + public com.google.protobuf.ProtocolStringList getWriteStreamsList() { writeStreams_.makeImmutable(); return writeStreams_; } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of writeStreams. */ public int getWriteStreamsCount() { return writeStreams_.size(); } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The writeStreams at the given index. */ @@ -658,31 +739,37 @@ public java.lang.String getWriteStreams(int index) { return writeStreams_.get(index); } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the writeStreams at the given index. */ - public com.google.protobuf.ByteString - getWriteStreamsBytes(int index) { + public com.google.protobuf.ByteString getWriteStreamsBytes(int index) { return writeStreams_.getByteString(index); } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The writeStreams to set. * @return This builder for chaining. */ - public Builder setWriteStreams( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteStreams(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureWriteStreamsIsMutable(); writeStreams_.set(index, value); bitField0_ |= 0x00000002; @@ -690,17 +777,21 @@ public Builder setWriteStreams( return this; } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The writeStreams to add. * @return This builder for chaining. */ - public Builder addWriteStreams( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addWriteStreams(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureWriteStreamsIsMutable(); writeStreams_.add(value); bitField0_ |= 0x00000002; @@ -708,50 +799,58 @@ public Builder addWriteStreams( return this; } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The writeStreams to add. * @return This builder for chaining. */ - public Builder addAllWriteStreams( - java.lang.Iterable values) { + public Builder addAllWriteStreams(java.lang.Iterable values) { ensureWriteStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, writeStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeStreams_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearWriteStreams() { - writeStreams_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the writeStreams to add. * @return This builder for chaining. */ - public Builder addWriteStreamsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addWriteStreamsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureWriteStreamsIsMutable(); writeStreams_.add(value); @@ -759,9 +858,9 @@ public Builder addWriteStreamsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -771,41 +870,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) - private static final com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest(); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCommitWriteStreamsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCommitWriteStreamsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -817,9 +919,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequestOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequestOrBuilder.java index 2f98d380cc..7bd353db46 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequestOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequestOrBuilder.java @@ -1,72 +1,103 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface BatchCommitWriteStreamsRequestOrBuilder extends +public interface BatchCommitWriteStreamsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent table that all the streams should belong to, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Parent table that all the streams should belong to, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the writeStreams. */ - java.util.List - getWriteStreamsList(); + java.util.List getWriteStreamsList(); /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of writeStreams. */ int getWriteStreamsCount(); /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The writeStreams at the given index. */ java.lang.String getWriteStreams(int index); /** + * + * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the writeStreams at the given index. */ - com.google.protobuf.ByteString - getWriteStreamsBytes(int index); + com.google.protobuf.ByteString getWriteStreamsBytes(int index); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponse.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponse.java similarity index 73% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponse.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponse.java index 6bcc88208a..108aa53f82 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponse.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponse.java @@ -1,51 +1,74 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Response message for `BatchCommitWriteStreams`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse} */ -public final class BatchCommitWriteStreamsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCommitWriteStreamsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse) BatchCommitWriteStreamsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCommitWriteStreamsResponse.newBuilder() to construct. - private BatchCommitWriteStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchCommitWriteStreamsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCommitWriteStreamsResponse() { streamErrors_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCommitWriteStreamsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.class, com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.class, + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.Builder + .class); } public static final int COMMIT_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp commitTime_; /** + * + * *
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -53,6 +76,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -60,6 +84,8 @@ public boolean hasCommitTime() { return commitTime_ != null; } /** + * + * *
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -67,6 +93,7 @@ public boolean hasCommitTime() {
    * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return The commitTime. */ @java.lang.Override @@ -74,6 +101,8 @@ public com.google.protobuf.Timestamp getCommitTime() { return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } /** + * + * *
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -88,9 +117,12 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   }
 
   public static final int STREAM_ERRORS_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private java.util.List streamErrors_;
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -102,10 +134,13 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
    * repeated .google.cloud.bigquery.storage.v1beta2.StorageError stream_errors = 2;
    */
   @java.lang.Override
-  public java.util.List getStreamErrorsList() {
+  public java.util.List
+      getStreamErrorsList() {
     return streamErrors_;
   }
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -117,11 +152,13 @@ public java.util.List ge
    * repeated .google.cloud.bigquery.storage.v1beta2.StorageError stream_errors = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getStreamErrorsOrBuilderList() {
     return streamErrors_;
   }
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -137,6 +174,8 @@ public int getStreamErrorsCount() {
     return streamErrors_.size();
   }
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -152,6 +191,8 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageError getStreamErrors(in
     return streamErrors_.get(index);
   }
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -169,6 +210,7 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder getStream
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -180,8 +222,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (commitTime_ != null) {
       output.writeMessage(1, getCommitTime());
     }
@@ -198,12 +239,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (commitTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getCommitTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommitTime());
     }
     for (int i = 0; i < streamErrors_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, streamErrors_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, streamErrors_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -213,20 +252,20 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
-    if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse)) {
+    if (!(obj
+        instanceof com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse other = (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse) obj;
+    com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse other =
+        (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse) obj;
 
     if (hasCommitTime() != other.hasCommitTime()) return false;
     if (hasCommitTime()) {
-      if (!getCommitTime()
-          .equals(other.getCommitTime())) return false;
+      if (!getCommitTime().equals(other.getCommitTime())) return false;
     }
-    if (!getStreamErrorsList()
-        .equals(other.getStreamErrorsList())) return false;
+    if (!getStreamErrorsList().equals(other.getStreamErrorsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -252,131 +291,139 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
-  public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+  public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse
+      parseDelimitedFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Response message for `BatchCommitWriteStreams`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse) com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.class, com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.class, + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.Builder + .class); } - // Construct using com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -397,19 +444,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse build() { - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse result = buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -417,15 +467,20 @@ public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse result = new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse(this); + public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse + buildPartial() { + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse result = + new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse result) { if (streamErrorsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { streamErrors_ = java.util.Collections.unmodifiableList(streamErrors_); @@ -437,12 +492,11 @@ private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta } } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null - ? commitTime_ - : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); } } @@ -450,46 +504,52 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.BatchCommit public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse)other); + if (other + instanceof com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse) { + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse other) { + if (other + == com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse + .getDefaultInstance()) return this; if (other.hasCommitTime()) { mergeCommitTime(other.getCommitTime()); } @@ -511,9 +571,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWr streamErrorsBuilder_ = null; streamErrors_ = other.streamErrors_; bitField0_ = (bitField0_ & ~0x00000002); - streamErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStreamErrorsFieldBuilder() : null; + streamErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStreamErrorsFieldBuilder() + : null; } else { streamErrorsBuilder_.addAllMessages(other.streamErrors_); } @@ -545,32 +606,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCommitTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.cloud.bigquery.storage.v1beta2.StorageError m = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.StorageError.parser(), - extensionRegistry); - if (streamErrorsBuilder_ == null) { - ensureStreamErrorsIsMutable(); - streamErrors_.add(m); - } else { - streamErrorsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.bigquery.storage.v1beta2.StorageError m = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.StorageError.parser(), + extensionRegistry); + if (streamErrorsBuilder_ == null) { + ensureStreamErrorsIsMutable(); + streamErrors_.add(m); + } else { + streamErrorsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -580,12 +642,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp commitTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + commitTimeBuilder_; /** + * + * *
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -593,12 +661,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -606,16 +677,21 @@ public boolean hasCommitTime() {
      * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return The commitTime. */ public com.google.protobuf.Timestamp getCommitTime() { if (commitTimeBuilder_ == null) { - return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; + return commitTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTime_; } else { return commitTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -638,6 +714,8 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -646,8 +724,7 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp commit_time = 1;
      */
-    public Builder setCommitTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (commitTimeBuilder_ == null) {
         commitTime_ = builderForValue.build();
       } else {
@@ -658,6 +735,8 @@ public Builder setCommitTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -668,9 +747,9 @@ public Builder setCommitTime(
      */
     public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       if (commitTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          commitTime_ != null &&
-          commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && commitTime_ != null
+            && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCommitTimeBuilder().mergeFrom(value);
         } else {
           commitTime_ = value;
@@ -683,6 +762,8 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -702,6 +783,8 @@ public Builder clearCommitTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -716,6 +799,8 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
       return getCommitTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -728,11 +813,14 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
       if (commitTimeBuilder_ != null) {
         return commitTimeBuilder_.getMessageOrBuilder();
       } else {
-        return commitTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_;
+        return commitTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : commitTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -742,32 +830,43 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
      * .google.protobuf.Timestamp commit_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getCommitTimeFieldBuilder() {
       if (commitTimeBuilder_ == null) {
-        commitTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getCommitTime(),
-                getParentForChildren(),
-                isClean());
+        commitTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getCommitTime(), getParentForChildren(), isClean());
         commitTime_ = null;
       }
       return commitTimeBuilder_;
     }
 
     private java.util.List streamErrors_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureStreamErrorsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        streamErrors_ = new java.util.ArrayList(streamErrors_);
+        streamErrors_ =
+            new java.util.ArrayList(
+                streamErrors_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1beta2.StorageError, com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder, com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder> streamErrorsBuilder_;
+            com.google.cloud.bigquery.storage.v1beta2.StorageError,
+            com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder,
+            com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder>
+        streamErrorsBuilder_;
 
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -778,7 +877,8 @@ private void ensureStreamErrorsIsMutable() {
      *
      * repeated .google.cloud.bigquery.storage.v1beta2.StorageError stream_errors = 2;
      */
-    public java.util.List getStreamErrorsList() {
+    public java.util.List
+        getStreamErrorsList() {
       if (streamErrorsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(streamErrors_);
       } else {
@@ -786,6 +886,8 @@ public java.util.List ge
       }
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -804,6 +906,8 @@ public int getStreamErrorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -822,6 +926,8 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageError getStreamErrors(in
       }
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -847,6 +953,8 @@ public Builder setStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -869,6 +977,8 @@ public Builder setStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -893,6 +1003,8 @@ public Builder addStreamErrors(com.google.cloud.bigquery.storage.v1beta2.Storage
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -918,6 +1030,8 @@ public Builder addStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -940,6 +1054,8 @@ public Builder addStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -962,6 +1078,8 @@ public Builder addStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -973,11 +1091,11 @@ public Builder addStreamErrors(
      * repeated .google.cloud.bigquery.storage.v1beta2.StorageError stream_errors = 2;
      */
     public Builder addAllStreamErrors(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (streamErrorsBuilder_ == null) {
         ensureStreamErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, streamErrors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, streamErrors_);
         onChanged();
       } else {
         streamErrorsBuilder_.addAllMessages(values);
@@ -985,6 +1103,8 @@ public Builder addAllStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1006,6 +1126,8 @@ public Builder clearStreamErrors() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1027,6 +1149,8 @@ public Builder removeStreamErrors(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1042,6 +1166,8 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder getStreamE
       return getStreamErrorsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1055,11 +1181,14 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder getStreamE
     public com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder getStreamErrorsOrBuilder(
         int index) {
       if (streamErrorsBuilder_ == null) {
-        return streamErrors_.get(index);  } else {
+        return streamErrors_.get(index);
+      } else {
         return streamErrorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1070,8 +1199,8 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder getStream
      *
      * repeated .google.cloud.bigquery.storage.v1beta2.StorageError stream_errors = 2;
      */
-    public java.util.List 
-         getStreamErrorsOrBuilderList() {
+    public java.util.List
+        getStreamErrorsOrBuilderList() {
       if (streamErrorsBuilder_ != null) {
         return streamErrorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1079,6 +1208,8 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder getStream
       }
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1090,10 +1221,12 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder getStream
      * repeated .google.cloud.bigquery.storage.v1beta2.StorageError stream_errors = 2;
      */
     public com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder addStreamErrorsBuilder() {
-      return getStreamErrorsFieldBuilder().addBuilder(
-          com.google.cloud.bigquery.storage.v1beta2.StorageError.getDefaultInstance());
+      return getStreamErrorsFieldBuilder()
+          .addBuilder(com.google.cloud.bigquery.storage.v1beta2.StorageError.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1106,10 +1239,13 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder addStreamE
      */
     public com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder addStreamErrorsBuilder(
         int index) {
-      return getStreamErrorsFieldBuilder().addBuilder(
-          index, com.google.cloud.bigquery.storage.v1beta2.StorageError.getDefaultInstance());
+      return getStreamErrorsFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.bigquery.storage.v1beta2.StorageError.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1120,27 +1256,30 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder addStreamE
      *
      * repeated .google.cloud.bigquery.storage.v1beta2.StorageError stream_errors = 2;
      */
-    public java.util.List 
-         getStreamErrorsBuilderList() {
+    public java.util.List
+        getStreamErrorsBuilderList() {
       return getStreamErrorsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1beta2.StorageError, com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder, com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder> 
+            com.google.cloud.bigquery.storage.v1beta2.StorageError,
+            com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder,
+            com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder>
         getStreamErrorsFieldBuilder() {
       if (streamErrorsBuilder_ == null) {
-        streamErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1beta2.StorageError, com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder, com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder>(
-                streamErrors_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        streamErrorsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.bigquery.storage.v1beta2.StorageError,
+                com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder,
+                com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder>(
+                streamErrors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         streamErrors_ = null;
       }
       return streamErrorsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1150,41 +1289,44 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse)
-  private static final com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse DEFAULT_INSTANCE;
+  private static final com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse
+      DEFAULT_INSTANCE;
+
   static {
-    DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse();
+    DEFAULT_INSTANCE =
+        new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse();
   }
 
-  public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse getDefaultInstance() {
+  public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchCommitWriteStreamsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchCommitWriteStreamsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1196,9 +1338,8 @@ public com.google.protobuf.Parser getParserForT
   }
 
   @java.lang.Override
-  public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse getDefaultInstanceForType() {
+  public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponseOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponseOrBuilder.java
similarity index 83%
rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponseOrBuilder.java
rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponseOrBuilder.java
index e16034d461..9e30aa8da7 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponseOrBuilder.java
+++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1beta2/storage.proto
 
 package com.google.cloud.bigquery.storage.v1beta2;
 
-public interface BatchCommitWriteStreamsResponseOrBuilder extends
+public interface BatchCommitWriteStreamsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -15,10 +33,13 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
    * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** + * + * *
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -26,10 +47,13 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
    * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** + * + * *
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -41,6 +65,8 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -51,9 +77,10 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
    *
    * repeated .google.cloud.bigquery.storage.v1beta2.StorageError stream_errors = 2;
    */
-  java.util.List 
-      getStreamErrorsList();
+  java.util.List getStreamErrorsList();
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -66,6 +93,8 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
    */
   com.google.cloud.bigquery.storage.v1beta2.StorageError getStreamErrors(int index);
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -78,6 +107,8 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
    */
   int getStreamErrorsCount();
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -88,9 +119,11 @@ public interface BatchCommitWriteStreamsResponseOrBuilder extends
    *
    * repeated .google.cloud.bigquery.storage.v1beta2.StorageError stream_errors = 2;
    */
-  java.util.List 
+  java.util.List
       getStreamErrorsOrBuilderList();
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequest.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequest.java
similarity index 61%
rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequest.java
rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequest.java
index 0cf0c6f9cd..9629154ece 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequest.java
+++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequest.java
@@ -1,58 +1,83 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1beta2/storage.proto
 
 package com.google.cloud.bigquery.storage.v1beta2;
 
 /**
+ *
+ *
  * 
  * Request message for `CreateReadSession`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest} */ -public final class CreateReadSessionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateReadSessionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) CreateReadSessionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateReadSessionRequest.newBuilder() to construct. private CreateReadSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateReadSessionRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateReadSessionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.class, com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.class, + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The request project that owns the session, in the form of
    * `projects/{project_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -61,30 +86,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The request project that owns the session, in the form of
    * `projects/{project_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -95,11 +122,16 @@ public java.lang.String getParent() { public static final int READ_SESSION_FIELD_NUMBER = 2; private com.google.cloud.bigquery.storage.v1beta2.ReadSession readSession_; /** + * + * *
    * Required. Session to be created.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the readSession field is set. */ @java.lang.Override @@ -107,32 +139,47 @@ public boolean hasReadSession() { return readSession_ != null; } /** + * + * *
    * Required. Session to be created.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The readSession. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSession getReadSession() { - return readSession_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() : readSession_; + return readSession_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() + : readSession_; } /** + * + * *
    * Required. Session to be created.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder getReadSessionOrBuilder() { - return readSession_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() : readSession_; + return readSession_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() + : readSession_; } public static final int MAX_STREAM_COUNT_FIELD_NUMBER = 3; private int maxStreamCount_ = 0; /** + * + * *
    * Max initial number of streams. If unset or zero, the server will
    * provide a value of streams so as to produce reasonable throughput. Must be
@@ -145,6 +192,7 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder getReadSes
    * 
* * int32 max_stream_count = 3; + * * @return The maxStreamCount. */ @java.lang.Override @@ -153,6 +201,7 @@ public int getMaxStreamCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -164,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -188,12 +236,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readSession_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadSession()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadSession()); } if (maxStreamCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxStreamCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxStreamCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -203,22 +249,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest other = (com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) obj; + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest other = + (com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasReadSession() != other.hasReadSession()) return false; if (hasReadSession()) { - if (!getReadSession() - .equals(other.getReadSession())) return false; + if (!getReadSession().equals(other.getReadSession())) return false; } - if (getMaxStreamCount() - != other.getMaxStreamCount()) return false; + if (getMaxStreamCount() != other.getMaxStreamCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -244,131 +288,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `CreateReadSession`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.class, com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.class, + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -384,14 +435,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest + .getDefaultInstance(); } @java.lang.Override @@ -405,21 +458,24 @@ public com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest build( @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest result = new com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest result = + new com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.readSession_ = readSessionBuilder_ == null - ? readSession_ - : readSessionBuilder_.build(); + result.readSession_ = + readSessionBuilder_ == null ? readSession_ : readSessionBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.maxStreamCount_ = maxStreamCount_; @@ -430,46 +486,51 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.CreateReadS public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest other) { + if (other + == com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -507,29 +568,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getReadSessionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - maxStreamCount_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getReadSessionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + maxStreamCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -539,23 +602,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -564,21 +632,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -586,30 +657,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -619,18 +701,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -640,39 +728,58 @@ public Builder setParentBytes( private com.google.cloud.bigquery.storage.v1beta2.ReadSession readSession_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession, com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder> readSessionBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ReadSession, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder, + com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder> + readSessionBuilder_; /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the readSession field is set. */ public boolean hasReadSession() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The readSession. */ public com.google.cloud.bigquery.storage.v1beta2.ReadSession getReadSession() { if (readSessionBuilder_ == null) { - return readSession_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() : readSession_; + return readSession_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() + : readSession_; } else { return readSessionBuilder_.getMessage(); } } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setReadSession(com.google.cloud.bigquery.storage.v1beta2.ReadSession value) { if (readSessionBuilder_ == null) { @@ -688,11 +795,15 @@ public Builder setReadSession(com.google.cloud.bigquery.storage.v1beta2.ReadSess return this; } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setReadSession( com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder builderForValue) { @@ -706,17 +817,22 @@ public Builder setReadSession( return this; } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeReadSession(com.google.cloud.bigquery.storage.v1beta2.ReadSession value) { if (readSessionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - readSession_ != null && - readSession_ != com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && readSession_ != null + && readSession_ + != com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance()) { getReadSessionBuilder().mergeFrom(value); } else { readSession_ = value; @@ -729,11 +845,15 @@ public Builder mergeReadSession(com.google.cloud.bigquery.storage.v1beta2.ReadSe return this; } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearReadSession() { bitField0_ = (bitField0_ & ~0x00000002); @@ -746,11 +866,15 @@ public Builder clearReadSession() { return this; } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder getReadSessionBuilder() { bitField0_ |= 0x00000002; @@ -758,43 +882,58 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder getReadSess return getReadSessionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder getReadSessionOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder + getReadSessionOrBuilder() { if (readSessionBuilder_ != null) { return readSessionBuilder_.getMessageOrBuilder(); } else { - return readSession_ == null ? - com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() : readSession_; + return readSession_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() + : readSession_; } } /** + * + * *
      * Required. Session to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession, com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.ReadSession, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder, + com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder> getReadSessionFieldBuilder() { if (readSessionBuilder_ == null) { - readSessionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession, com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder>( - getReadSession(), - getParentForChildren(), - isClean()); + readSessionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ReadSession, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder, + com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder>( + getReadSession(), getParentForChildren(), isClean()); readSession_ = null; } return readSessionBuilder_; } - private int maxStreamCount_ ; + private int maxStreamCount_; /** + * + * *
      * Max initial number of streams. If unset or zero, the server will
      * provide a value of streams so as to produce reasonable throughput. Must be
@@ -807,6 +946,7 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder getReadSes
      * 
* * int32 max_stream_count = 3; + * * @return The maxStreamCount. */ @java.lang.Override @@ -814,6 +954,8 @@ public int getMaxStreamCount() { return maxStreamCount_; } /** + * + * *
      * Max initial number of streams. If unset or zero, the server will
      * provide a value of streams so as to produce reasonable throughput. Must be
@@ -826,6 +968,7 @@ public int getMaxStreamCount() {
      * 
* * int32 max_stream_count = 3; + * * @param value The maxStreamCount to set. * @return This builder for chaining. */ @@ -837,6 +980,8 @@ public Builder setMaxStreamCount(int value) { return this; } /** + * + * *
      * Max initial number of streams. If unset or zero, the server will
      * provide a value of streams so as to produce reasonable throughput. Must be
@@ -849,6 +994,7 @@ public Builder setMaxStreamCount(int value) {
      * 
* * int32 max_stream_count = 3; + * * @return This builder for chaining. */ public Builder clearMaxStreamCount() { @@ -857,9 +1003,9 @@ public Builder clearMaxStreamCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -869,41 +1015,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) - private static final com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest(); } - public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateReadSessionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateReadSessionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -915,9 +1063,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequestOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequestOrBuilder.java index 36c955ad16..0e0dfc1233 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequestOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequestOrBuilder.java @@ -1,62 +1,103 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface CreateReadSessionRequestOrBuilder extends +public interface CreateReadSessionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The request project that owns the session, in the form of
    * `projects/{project_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The request project that owns the session, in the form of
    * `projects/{project_id}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Session to be created.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the readSession field is set. */ boolean hasReadSession(); /** + * + * *
    * Required. Session to be created.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The readSession. */ com.google.cloud.bigquery.storage.v1beta2.ReadSession getReadSession(); /** + * + * *
    * Required. Session to be created.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder getReadSessionOrBuilder(); /** + * + * *
    * Max initial number of streams. If unset or zero, the server will
    * provide a value of streams so as to produce reasonable throughput. Must be
@@ -69,6 +110,7 @@ public interface CreateReadSessionRequestOrBuilder extends
    * 
* * int32 max_stream_count = 3; + * * @return The maxStreamCount. */ int getMaxStreamCount(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequest.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequest.java similarity index 58% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequest.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequest.java index 5f9e67b0df..c5fc6bee16 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequest.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequest.java @@ -1,58 +1,83 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Request message for `CreateWriteStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest} */ -public final class CreateWriteStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateWriteStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) CreateWriteStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateWriteStreamRequest.newBuilder() to construct. private CreateWriteStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateWriteStreamRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateWriteStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.class, + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Reference to the table to which the stream belongs, in the format
    * of `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -61,30 +86,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Reference to the table to which the stream belongs, in the format
    * of `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -95,11 +122,16 @@ public java.lang.String getParent() { public static final int WRITE_STREAM_FIELD_NUMBER = 2; private com.google.cloud.bigquery.storage.v1beta2.WriteStream writeStream_; /** + * + * *
    * Required. Stream to be created.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the writeStream field is set. */ @java.lang.Override @@ -107,30 +139,44 @@ public boolean hasWriteStream() { return writeStream_ != null; } /** + * + * *
    * Required. Stream to be created.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The writeStream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.WriteStream getWriteStream() { - return writeStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() : writeStream_; + return writeStream_ == null + ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() + : writeStream_; } /** + * + * *
    * Required. Stream to be created.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder getWriteStreamOrBuilder() { - return writeStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() : writeStream_; + return writeStream_ == null + ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() + : writeStream_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -163,8 +208,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (writeStream_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWriteStream()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWriteStream()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,19 +218,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest other = (com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) obj; + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest other = + (com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasWriteStream() != other.hasWriteStream()) return false; if (hasWriteStream()) { - if (!getWriteStream() - .equals(other.getWriteStream())) return false; + if (!getWriteStream().equals(other.getWriteStream())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -211,131 +254,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `CreateWriteStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.class, + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -350,14 +400,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest + .getDefaultInstance(); } @java.lang.Override @@ -371,21 +423,24 @@ public com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest build( @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest result = + new com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.writeStream_ = writeStreamBuilder_ == null - ? writeStream_ - : writeStreamBuilder_.build(); + result.writeStream_ = + writeStreamBuilder_ == null ? writeStream_ : writeStreamBuilder_.build(); } } @@ -393,46 +448,51 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.CreateWrite public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest other) { + if (other + == com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -467,24 +527,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getWriteStreamFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getWriteStreamFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,23 +555,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,21 +585,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -541,30 +610,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -574,18 +654,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -595,39 +681,58 @@ public Builder setParentBytes( private com.google.cloud.bigquery.storage.v1beta2.WriteStream writeStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.WriteStream, com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder, com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder> writeStreamBuilder_; + com.google.cloud.bigquery.storage.v1beta2.WriteStream, + com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder, + com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder> + writeStreamBuilder_; /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the writeStream field is set. */ public boolean hasWriteStream() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The writeStream. */ public com.google.cloud.bigquery.storage.v1beta2.WriteStream getWriteStream() { if (writeStreamBuilder_ == null) { - return writeStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() : writeStream_; + return writeStream_ == null + ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() + : writeStream_; } else { return writeStreamBuilder_.getMessage(); } } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWriteStream(com.google.cloud.bigquery.storage.v1beta2.WriteStream value) { if (writeStreamBuilder_ == null) { @@ -643,11 +748,15 @@ public Builder setWriteStream(com.google.cloud.bigquery.storage.v1beta2.WriteStr return this; } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWriteStream( com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder builderForValue) { @@ -661,17 +770,22 @@ public Builder setWriteStream( return this; } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeWriteStream(com.google.cloud.bigquery.storage.v1beta2.WriteStream value) { if (writeStreamBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - writeStream_ != null && - writeStream_ != com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && writeStream_ != null + && writeStream_ + != com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance()) { getWriteStreamBuilder().mergeFrom(value); } else { writeStream_ = value; @@ -684,11 +798,15 @@ public Builder mergeWriteStream(com.google.cloud.bigquery.storage.v1beta2.WriteS return this; } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWriteStream() { bitField0_ = (bitField0_ & ~0x00000002); @@ -701,11 +819,15 @@ public Builder clearWriteStream() { return this; } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder getWriteStreamBuilder() { bitField0_ |= 0x00000002; @@ -713,43 +835,56 @@ public com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder getWriteStr return getWriteStreamFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder getWriteStreamOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder + getWriteStreamOrBuilder() { if (writeStreamBuilder_ != null) { return writeStreamBuilder_.getMessageOrBuilder(); } else { - return writeStream_ == null ? - com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() : writeStream_; + return writeStream_ == null + ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() + : writeStream_; } } /** + * + * *
      * Required. Stream to be created.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.WriteStream, com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder, com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.WriteStream, + com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder, + com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder> getWriteStreamFieldBuilder() { if (writeStreamBuilder_ == null) { - writeStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.WriteStream, com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder, com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder>( - getWriteStream(), - getParentForChildren(), - isClean()); + writeStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.WriteStream, + com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder, + com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder>( + getWriteStream(), getParentForChildren(), isClean()); writeStream_ = null; } return writeStreamBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,41 +894,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) - private static final com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest(); } - public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateWriteStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateWriteStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -805,9 +942,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequestOrBuilder.java new file mode 100644 index 0000000000..ac8247b6a0 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public interface CreateWriteStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Reference to the table to which the stream belongs, in the format
+   * of `projects/{project}/datasets/{dataset}/tables/{table}`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Reference to the table to which the stream belongs, in the format
+   * of `projects/{project}/datasets/{dataset}/tables/{table}`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. Stream to be created.
+   * 
+ * + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the writeStream field is set. + */ + boolean hasWriteStream(); + /** + * + * + *
+   * Required. Stream to be created.
+   * 
+ * + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The writeStream. + */ + com.google.cloud.bigquery.storage.v1beta2.WriteStream getWriteStream(); + /** + * + * + *
+   * Required. Stream to be created.
+   * 
+ * + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder getWriteStreamOrBuilder(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/DataFormat.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/DataFormat.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/DataFormat.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/DataFormat.java index 788f735937..f70fc75117 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/DataFormat.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/DataFormat.java @@ -1,22 +1,38 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/stream.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Data format for input or output data.
  * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1beta2.DataFormat} */ -public enum DataFormat - implements com.google.protobuf.ProtocolMessageEnum { - /** - * DATA_FORMAT_UNSPECIFIED = 0; - */ +public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum { + /** DATA_FORMAT_UNSPECIFIED = 0; */ DATA_FORMAT_UNSPECIFIED(0), /** + * + * *
    * Avro is a standard open source row based file format.
    * See https://avro.apache.org/ for more details.
@@ -26,6 +42,8 @@ public enum DataFormat
    */
   AVRO(1),
   /**
+   *
+   *
    * 
    * Arrow is a standard open source column-based message format.
    * See https://arrow.apache.org/ for more details.
@@ -37,11 +55,11 @@ public enum DataFormat
   UNRECOGNIZED(-1),
   ;
 
-  /**
-   * DATA_FORMAT_UNSPECIFIED = 0;
-   */
+  /** DATA_FORMAT_UNSPECIFIED = 0; */
   public static final int DATA_FORMAT_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Avro is a standard open source row based file format.
    * See https://avro.apache.org/ for more details.
@@ -51,6 +69,8 @@ public enum DataFormat
    */
   public static final int AVRO_VALUE = 1;
   /**
+   *
+   *
    * 
    * Arrow is a standard open source column-based message format.
    * See https://arrow.apache.org/ for more details.
@@ -60,7 +80,6 @@ public enum DataFormat
    */
   public static final int ARROW_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -85,49 +104,51 @@ public static DataFormat valueOf(int value) {
    */
   public static DataFormat forNumber(int value) {
     switch (value) {
-      case 0: return DATA_FORMAT_UNSPECIFIED;
-      case 1: return AVRO;
-      case 2: return ARROW;
-      default: return null;
+      case 0:
+        return DATA_FORMAT_UNSPECIFIED;
+      case 1:
+        return AVRO;
+      case 2:
+        return ARROW;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      DataFormat> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DataFormat findValueByNumber(int number) {
-            return DataFormat.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public DataFormat findValueByNumber(int number) {
+          return DataFormat.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1beta2.StreamProto.getDescriptor().getEnumTypes().get(0);
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1beta2.StreamProto.getDescriptor()
+        .getEnumTypes()
+        .get(0);
   }
 
   private static final DataFormat[] VALUES = values();
 
-  public static DataFormat valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DataFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -143,4 +164,3 @@ private DataFormat(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.storage.v1beta2.DataFormat)
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequest.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequest.java
similarity index 59%
rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequest.java
rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequest.java
index dc8f768737..c493edba8a 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequest.java
+++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequest.java
@@ -1,58 +1,83 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1beta2/storage.proto
 
 package com.google.cloud.bigquery.storage.v1beta2;
 
 /**
+ *
+ *
  * 
  * Request message for invoking `FinalizeWriteStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest} */ -public final class FinalizeWriteStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FinalizeWriteStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) FinalizeWriteStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FinalizeWriteStreamRequest.newBuilder() to construct. private FinalizeWriteStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FinalizeWriteStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FinalizeWriteStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.class, + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the stream to finalize, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the stream to finalize, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest other = (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) obj; + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest other = + (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,138 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for invoking `FinalizeWriteStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.class, + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,14 +325,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest + .getDefaultInstance(); } @java.lang.Override @@ -312,13 +348,17 @@ public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest buil @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest result = + new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -329,46 +369,51 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.FinalizeWri public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest)other); + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest other) { + if (other + == com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +445,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +467,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +497,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +522,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +566,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,41 +602,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) - private static final com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest(); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinalizeWriteStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinalizeWriteStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -576,9 +650,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequestOrBuilder.java new file mode 100644 index 0000000000..413ab7d27e --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public interface FinalizeWriteStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the stream to finalize, in the form of
+   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the stream to finalize, in the form of
+   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponse.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponse.java similarity index 60% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponse.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponse.java index 2ff7430e23..75e32b9a15 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponse.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponse.java @@ -1,55 +1,76 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Response message for `FinalizeWriteStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse} */ -public final class FinalizeWriteStreamResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FinalizeWriteStreamResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) FinalizeWriteStreamResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FinalizeWriteStreamResponse.newBuilder() to construct. private FinalizeWriteStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FinalizeWriteStreamResponse() { - } + + private FinalizeWriteStreamResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FinalizeWriteStreamResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.class, com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.class, + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.Builder.class); } public static final int ROW_COUNT_FIELD_NUMBER = 1; private long rowCount_ = 0L; /** + * + * *
    * Number of rows in the finalized stream.
    * 
* * int64 row_count = 1; + * * @return The rowCount. */ @java.lang.Override @@ -58,6 +79,7 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -69,8 +91,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (rowCount_ != 0L) { output.writeInt64(1, rowCount_); } @@ -84,8 +105,7 @@ public int getSerializedSize() { size = 0; if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, rowCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -95,15 +115,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse other = (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) obj; + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse other = + (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) obj; - if (getRowCount() - != other.getRowCount()) return false; + if (getRowCount() != other.getRowCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -116,139 +136,145 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for `FinalizeWriteStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.class, com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.class, + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -258,14 +284,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse + .getDefaultInstance(); } @java.lang.Override @@ -279,13 +307,17 @@ public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse bui @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse result = new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse result = + new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rowCount_ = rowCount_; @@ -296,46 +328,51 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.FinalizeWri public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse)other); + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse other) { + if (other + == com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse + .getDefaultInstance()) return this; if (other.getRowCount() != 0L) { setRowCount(other.getRowCount()); } @@ -365,17 +402,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -385,15 +424,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long rowCount_ ; + private long rowCount_; /** + * + * *
      * Number of rows in the finalized stream.
      * 
* * int64 row_count = 1; + * * @return The rowCount. */ @java.lang.Override @@ -401,11 +444,14 @@ public long getRowCount() { return rowCount_; } /** + * + * *
      * Number of rows in the finalized stream.
      * 
* * int64 row_count = 1; + * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -417,11 +463,14 @@ public Builder setRowCount(long value) { return this; } /** + * + * *
      * Number of rows in the finalized stream.
      * 
* * int64 row_count = 1; + * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -430,9 +479,9 @@ public Builder clearRowCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -442,41 +491,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) - private static final com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse(); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinalizeWriteStreamResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinalizeWriteStreamResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -488,9 +539,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponseOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponseOrBuilder.java new file mode 100644 index 0000000000..7a64ae50d3 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponseOrBuilder.java @@ -0,0 +1,38 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public interface FinalizeWriteStreamResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Number of rows in the finalized stream.
+   * 
+ * + * int64 row_count = 1; + * + * @return The rowCount. + */ + long getRowCount(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequest.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequest.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequest.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequest.java index 1bd9f5f387..f49b91df42 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequest.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequest.java @@ -1,57 +1,82 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Request message for `FlushRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FlushRowsRequest} */ -public final class FlushRowsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FlushRowsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) FlushRowsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FlushRowsRequest.newBuilder() to construct. private FlushRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FlushRowsRequest() { writeStream_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FlushRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.class, com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.class, + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.Builder.class); } public static final int WRITE_STREAM_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object writeStream_ = ""; /** + * + * *
    * Required. The stream that is the target of the flush operation.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The writeStream. */ @java.lang.Override @@ -60,29 +85,31 @@ public java.lang.String getWriteStream() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; } } /** + * + * *
    * Required. The stream that is the target of the flush operation.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for writeStream. */ @java.lang.Override - public com.google.protobuf.ByteString - getWriteStreamBytes() { + public com.google.protobuf.ByteString getWriteStreamBytes() { java.lang.Object ref = writeStream_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); writeStream_ = b; return b; } else { @@ -93,12 +120,15 @@ public java.lang.String getWriteStream() { public static final int OFFSET_FIELD_NUMBER = 2; private com.google.protobuf.Int64Value offset_; /** + * + * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return Whether the offset field is set. */ @java.lang.Override @@ -106,12 +136,15 @@ public boolean hasOffset() { return offset_ != null; } /** + * + * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return The offset. */ @java.lang.Override @@ -119,6 +152,8 @@ public com.google.protobuf.Int64Value getOffset() { return offset_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : offset_; } /** + * + * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
@@ -132,6 +167,7 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -143,8 +179,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writeStream_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, writeStream_);
     }
@@ -164,8 +199,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, writeStream_);
     }
     if (offset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getOffset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOffset());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -175,19 +209,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest other = (com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) obj;
+    com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest other =
+        (com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) obj;
 
-    if (!getWriteStream()
-        .equals(other.getWriteStream())) return false;
+    if (!getWriteStream().equals(other.getWriteStream())) return false;
     if (hasOffset() != other.hasOffset()) return false;
     if (hasOffset()) {
-      if (!getOffset()
-          .equals(other.getOffset())) return false;
+      if (!getOffset().equals(other.getOffset())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -212,131 +245,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for `FlushRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FlushRowsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.class, com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.class, + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_descriptor; } @java.lang.Override @@ -372,8 +410,11 @@ public com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest result = new com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest result = + new com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -384,9 +425,7 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRe result.writeStream_ = writeStream_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.offset_ = offsetBuilder_ == null - ? offset_ - : offsetBuilder_.build(); + result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build(); } } @@ -394,38 +433,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) other); } else { super.mergeFrom(other); return this; @@ -433,7 +473,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.getDefaultInstance()) + return this; if (!other.getWriteStream().isEmpty()) { writeStream_ = other.writeStream_; bitField0_ |= 0x00000001; @@ -468,24 +509,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - writeStream_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getOffsetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + writeStream_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getOffsetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -495,22 +537,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object writeStream_ = ""; /** + * + * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The writeStream. */ public java.lang.String getWriteStream() { java.lang.Object ref = writeStream_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; @@ -519,20 +566,23 @@ public java.lang.String getWriteStream() { } } /** + * + * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for writeStream. */ - public com.google.protobuf.ByteString - getWriteStreamBytes() { + public com.google.protobuf.ByteString getWriteStreamBytes() { java.lang.Object ref = writeStream_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); writeStream_ = b; return b; } else { @@ -540,28 +590,39 @@ public java.lang.String getWriteStream() { } } /** + * + * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStream( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteStream(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } writeStream_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWriteStream() { @@ -571,17 +632,23 @@ public Builder clearWriteStream() { return this; } /** + * + * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStreamBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); writeStream_ = value; bitField0_ |= 0x00000001; @@ -591,26 +658,35 @@ public Builder setWriteStreamBytes( private com.google.protobuf.Int64Value offset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> offsetBuilder_; + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> + offsetBuilder_; /** + * + * *
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
      * 
* * .google.protobuf.Int64Value offset = 2; + * * @return Whether the offset field is set. */ public boolean hasOffset() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
      * 
* * .google.protobuf.Int64Value offset = 2; + * * @return The offset. */ public com.google.protobuf.Int64Value getOffset() { @@ -621,6 +697,8 @@ public com.google.protobuf.Int64Value getOffset() { } } /** + * + * *
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -642,6 +720,8 @@ public Builder setOffset(com.google.protobuf.Int64Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -649,8 +729,7 @@ public Builder setOffset(com.google.protobuf.Int64Value value) {
      *
      * .google.protobuf.Int64Value offset = 2;
      */
-    public Builder setOffset(
-        com.google.protobuf.Int64Value.Builder builderForValue) {
+    public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue) {
       if (offsetBuilder_ == null) {
         offset_ = builderForValue.build();
       } else {
@@ -661,6 +740,8 @@ public Builder setOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -670,9 +751,9 @@ public Builder setOffset(
      */
     public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       if (offsetBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          offset_ != null &&
-          offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && offset_ != null
+            && offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
           getOffsetBuilder().mergeFrom(value);
         } else {
           offset_ = value;
@@ -685,6 +766,8 @@ public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -703,6 +786,8 @@ public Builder clearOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -716,6 +801,8 @@ public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
       return getOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -727,11 +814,12 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
       if (offsetBuilder_ != null) {
         return offsetBuilder_.getMessageOrBuilder();
       } else {
-        return offset_ == null ?
-            com.google.protobuf.Int64Value.getDefaultInstance() : offset_;
+        return offset_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : offset_;
       }
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -740,21 +828,24 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
      * .google.protobuf.Int64Value offset = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> 
+            com.google.protobuf.Int64Value,
+            com.google.protobuf.Int64Value.Builder,
+            com.google.protobuf.Int64ValueOrBuilder>
         getOffsetFieldBuilder() {
       if (offsetBuilder_ == null) {
-        offsetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
-                getOffset(),
-                getParentForChildren(),
-                isClean());
+        offsetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Int64Value,
+                com.google.protobuf.Int64Value.Builder,
+                com.google.protobuf.Int64ValueOrBuilder>(
+                getOffset(), getParentForChildren(), isClean());
         offset_ = null;
       }
       return offsetBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -764,12 +855,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.FlushRowsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.FlushRowsRequest)
   private static final com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest();
   }
@@ -778,27 +869,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest getDefa
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public FlushRowsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public FlushRowsRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -813,6 +904,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequestOrBuilder.java
similarity index 58%
rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequestOrBuilder.java
rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequestOrBuilder.java
index 2246e97f5e..90c55e6103 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequestOrBuilder.java
@@ -1,53 +1,86 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1beta2/storage.proto
 
 package com.google.cloud.bigquery.storage.v1beta2;
 
-public interface FlushRowsRequestOrBuilder extends
+public interface FlushRowsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.FlushRowsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The stream that is the target of the flush operation.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The writeStream. */ java.lang.String getWriteStream(); /** + * + * *
    * Required. The stream that is the target of the flush operation.
    * 
* - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for writeStream. */ - com.google.protobuf.ByteString - getWriteStreamBytes(); + com.google.protobuf.ByteString getWriteStreamBytes(); /** + * + * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return Whether the offset field is set. */ boolean hasOffset(); /** + * + * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return The offset. */ com.google.protobuf.Int64Value getOffset(); /** + * + * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponse.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponse.java
similarity index 65%
rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponse.java
rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponse.java
index 7b6557de90..707bd56728 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponse.java
+++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponse.java
@@ -1,55 +1,76 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1beta2/storage.proto
 
 package com.google.cloud.bigquery.storage.v1beta2;
 
 /**
+ *
+ *
  * 
  * Respond message for `FlushRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FlushRowsResponse} */ -public final class FlushRowsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FlushRowsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) FlushRowsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FlushRowsResponse.newBuilder() to construct. private FlushRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FlushRowsResponse() { - } + + private FlushRowsResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FlushRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.class, com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.class, + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.Builder.class); } public static final int OFFSET_FIELD_NUMBER = 1; private long offset_ = 0L; /** + * + * *
    * The rows before this offset (including this offset) are flushed.
    * 
* * int64 offset = 1; + * * @return The offset. */ @java.lang.Override @@ -58,6 +79,7 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -69,8 +91,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (offset_ != 0L) { output.writeInt64(1, offset_); } @@ -84,8 +105,7 @@ public int getSerializedSize() { size = 0; if (offset_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, offset_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, offset_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -95,15 +115,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse other = (com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) obj; + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse other = + (com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) obj; - if (getOffset() - != other.getOffset()) return false; + if (getOffset() != other.getOffset()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -116,139 +136,143 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Respond message for `FlushRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FlushRowsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.class, com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.class, + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -258,9 +282,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor; } @java.lang.Override @@ -279,8 +303,11 @@ public com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse result = new com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse result = + new com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -296,38 +323,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) other); } else { super.mergeFrom(other); return this; @@ -335,7 +363,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.getDefaultInstance()) + return this; if (other.getOffset() != 0L) { setOffset(other.getOffset()); } @@ -365,17 +394,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - offset_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + offset_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -385,15 +416,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long offset_ ; + private long offset_; /** + * + * *
      * The rows before this offset (including this offset) are flushed.
      * 
* * int64 offset = 1; + * * @return The offset. */ @java.lang.Override @@ -401,11 +436,14 @@ public long getOffset() { return offset_; } /** + * + * *
      * The rows before this offset (including this offset) are flushed.
      * 
* * int64 offset = 1; + * * @param value The offset to set. * @return This builder for chaining. */ @@ -417,11 +455,14 @@ public Builder setOffset(long value) { return this; } /** + * + * *
      * The rows before this offset (including this offset) are flushed.
      * 
* * int64 offset = 1; + * * @return This builder for chaining. */ public Builder clearOffset() { @@ -430,9 +471,9 @@ public Builder clearOffset() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -442,12 +483,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) private static final com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse(); } @@ -456,27 +497,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FlushRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FlushRowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -491,6 +532,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java new file mode 100644 index 0000000000..d0d8ef81a2 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java @@ -0,0 +1,38 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public interface FlushRowsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The rows before this offset (including this offset) are flushed.
+   * 
+ * + * int64 offset = 1; + * + * @return The offset. + */ + long getOffset(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequest.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequest.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequest.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequest.java index 781e291d9e..1223783d26 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequest.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequest.java @@ -1,58 +1,83 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Request message for `GetWriteStreamRequest`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest} */ -public final class GetWriteStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetWriteStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) GetWriteStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetWriteStreamRequest.newBuilder() to construct. private GetWriteStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetWriteStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetWriteStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.class, + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the stream to get, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the stream to get, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest other = (com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) obj; + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest other = + (com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `GetWriteStreamRequest`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.class, + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,13 +323,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.getDefaultInstance(); } @@ -312,13 +345,17 @@ public com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest result = + new com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -329,46 +366,50 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.GetWriteStr public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest other) { + if (other + == com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +441,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +463,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +493,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +518,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +562,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,41 +598,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) - private static final com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest(); } - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetWriteStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetWriteStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -576,9 +646,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequestOrBuilder.java new file mode 100644 index 0000000000..f47aad04df --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public interface GetWriteStreamRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the stream to get, in the form of
+   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the stream to get, in the form of
+   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProjectName.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProjectName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProjectName.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProjectName.java diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoBufProto.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoBufProto.java new file mode 100644 index 0000000000..33d81c42d4 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoBufProto.java @@ -0,0 +1,84 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/protobuf.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public final class ProtoBufProto { + private ProtoBufProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n4google/cloud/bigquery/storage/v1beta2/" + + "protobuf.proto\022%google.cloud.bigquery.st" + + "orage.v1beta2\032 google/protobuf/descripto" + + "r.proto\"I\n\013ProtoSchema\022:\n\020proto_descript" + + "or\030\001 \001(\0132 .google.protobuf.DescriptorPro" + + "to\"$\n\tProtoRows\022\027\n\017serialized_rows\030\001 \003(\014" + + "B\201\001\n)com.google.cloud.bigquery.storage.v" + + "1beta2B\rProtoBufProtoP\001ZCcloud.google.co" + + "m/go/bigquery/storage/apiv1beta2/storage" + + "pb;storagepbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.DescriptorProtos.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor, + new java.lang.String[] { + "ProtoDescriptor", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor, + new java.lang.String[] { + "SerializedRows", + }); + com.google.protobuf.DescriptorProtos.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRows.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRows.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRows.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRows.java index eec3d188ac..d1c7ef18da 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRows.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRows.java @@ -1,48 +1,66 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/protobuf.proto package com.google.cloud.bigquery.storage.v1beta2; -/** - * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ProtoRows} - */ -public final class ProtoRows extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ProtoRows} */ +public final class ProtoRows extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ProtoRows) ProtoRowsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProtoRows.newBuilder() to construct. private ProtoRows(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProtoRows() { serializedRows_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProtoRows(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ProtoRows.class, com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ProtoRows.class, + com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder.class); } public static final int SERIALIZED_ROWS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List serializedRows_; /** + * + * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -51,14 +69,16 @@ protected java.lang.Object newInstance(
    * 
* * repeated bytes serialized_rows = 1; + * * @return A list containing the serializedRows. */ @java.lang.Override - public java.util.List - getSerializedRowsList() { + public java.util.List getSerializedRowsList() { return serializedRows_; } /** + * + * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -67,12 +87,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated bytes serialized_rows = 1; + * * @return The count of serializedRows. */ public int getSerializedRowsCount() { return serializedRows_.size(); } /** + * + * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -81,6 +104,7 @@ public int getSerializedRowsCount() {
    * 
* * repeated bytes serialized_rows = 1; + * * @param index The index of the element to return. * @return The serializedRows at the given index. */ @@ -89,6 +113,7 @@ public com.google.protobuf.ByteString getSerializedRows(int index) { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -100,8 +125,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < serializedRows_.size(); i++) { output.writeBytes(1, serializedRows_.get(i)); } @@ -117,8 +141,8 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < serializedRows_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeBytesSizeNoTag(serializedRows_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeBytesSizeNoTag(serializedRows_.get(i)); } size += dataSize; size += 1 * getSerializedRowsList().size(); @@ -131,15 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ProtoRows)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ProtoRows other = (com.google.cloud.bigquery.storage.v1beta2.ProtoRows) obj; + com.google.cloud.bigquery.storage.v1beta2.ProtoRows other = + (com.google.cloud.bigquery.storage.v1beta2.ProtoRows) obj; - if (!getSerializedRowsList() - .equals(other.getSerializedRowsList())) return false; + if (!getSerializedRowsList().equals(other.getSerializedRowsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,127 +185,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ProtoRows prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ProtoRows} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ProtoRows} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ProtoRows) com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ProtoRows.class, com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ProtoRows.class, + com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.ProtoRows.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,9 +315,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor; } @java.lang.Override @@ -312,14 +336,18 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoRows build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ProtoRows buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.ProtoRows result = new com.google.cloud.bigquery.storage.v1beta2.ProtoRows(this); + com.google.cloud.bigquery.storage.v1beta2.ProtoRows result = + new com.google.cloud.bigquery.storage.v1beta2.ProtoRows(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta2.ProtoRows result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.storage.v1beta2.ProtoRows result) { if (((bitField0_ & 0x00000001) != 0)) { serializedRows_ = java.util.Collections.unmodifiableList(serializedRows_); bitField0_ = (bitField0_ & ~0x00000001); @@ -335,38 +363,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ProtoRows r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ProtoRows) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ProtoRows)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ProtoRows) other); } else { super.mergeFrom(other); return this; @@ -374,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ProtoRows other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance()) + return this; if (!other.serializedRows_.isEmpty()) { if (serializedRows_.isEmpty()) { serializedRows_ = other.serializedRows_; @@ -411,18 +441,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.protobuf.ByteString v = input.readBytes(); - ensureSerializedRowsIsMutable(); - serializedRows_.add(v); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.protobuf.ByteString v = input.readBytes(); + ensureSerializedRowsIsMutable(); + serializedRows_.add(v); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -432,9 +464,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List serializedRows_ = java.util.Collections.emptyList(); + private java.util.List serializedRows_ = + java.util.Collections.emptyList(); + private void ensureSerializedRowsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { serializedRows_ = new java.util.ArrayList(serializedRows_); @@ -442,6 +477,8 @@ private void ensureSerializedRowsIsMutable() { } } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -450,14 +487,17 @@ private void ensureSerializedRowsIsMutable() {
      * 
* * repeated bytes serialized_rows = 1; + * * @return A list containing the serializedRows. */ - public java.util.List - getSerializedRowsList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(serializedRows_) : serializedRows_; + public java.util.List getSerializedRowsList() { + return ((bitField0_ & 0x00000001) != 0) + ? java.util.Collections.unmodifiableList(serializedRows_) + : serializedRows_; } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -466,12 +506,15 @@ private void ensureSerializedRowsIsMutable() {
      * 
* * repeated bytes serialized_rows = 1; + * * @return The count of serializedRows. */ public int getSerializedRowsCount() { return serializedRows_.size(); } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -480,6 +523,7 @@ public int getSerializedRowsCount() {
      * 
* * repeated bytes serialized_rows = 1; + * * @param index The index of the element to return. * @return The serializedRows at the given index. */ @@ -487,6 +531,8 @@ public com.google.protobuf.ByteString getSerializedRows(int index) { return serializedRows_.get(index); } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -495,19 +541,23 @@ public com.google.protobuf.ByteString getSerializedRows(int index) {
      * 
* * repeated bytes serialized_rows = 1; + * * @param index The index to set the value at. * @param value The serializedRows to set. * @return This builder for chaining. */ - public Builder setSerializedRows( - int index, com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSerializedRows(int index, com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } ensureSerializedRowsIsMutable(); serializedRows_.set(index, value); onChanged(); return this; } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -516,17 +566,22 @@ public Builder setSerializedRows(
      * 
* * repeated bytes serialized_rows = 1; + * * @param value The serializedRows to add. * @return This builder for chaining. */ public Builder addSerializedRows(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } ensureSerializedRowsIsMutable(); serializedRows_.add(value); onChanged(); return this; } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -535,18 +590,20 @@ public Builder addSerializedRows(com.google.protobuf.ByteString value) {
      * 
* * repeated bytes serialized_rows = 1; + * * @param values The serializedRows to add. * @return This builder for chaining. */ public Builder addAllSerializedRows( java.lang.Iterable values) { ensureSerializedRowsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, serializedRows_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, serializedRows_); onChanged(); return this; } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -555,6 +612,7 @@ public Builder addAllSerializedRows(
      * 
* * repeated bytes serialized_rows = 1; + * * @return This builder for chaining. */ public Builder clearSerializedRows() { @@ -563,9 +621,9 @@ public Builder clearSerializedRows() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -575,12 +633,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ProtoRows) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ProtoRows) private static final com.google.cloud.bigquery.storage.v1beta2.ProtoRows DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ProtoRows(); } @@ -589,27 +647,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProtoRows parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProtoRows parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -624,6 +682,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ProtoRows getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRowsOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRowsOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRowsOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRowsOrBuilder.java index 105c4dc5ea..acac407ad3 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRowsOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRowsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/protobuf.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface ProtoRowsOrBuilder extends +public interface ProtoRowsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ProtoRows) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -16,10 +34,13 @@ public interface ProtoRowsOrBuilder extends
    * 
* * repeated bytes serialized_rows = 1; + * * @return A list containing the serializedRows. */ java.util.List getSerializedRowsList(); /** + * + * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -28,10 +49,13 @@ public interface ProtoRowsOrBuilder extends
    * 
* * repeated bytes serialized_rows = 1; + * * @return The count of serializedRows. */ int getSerializedRowsCount(); /** + * + * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -40,6 +64,7 @@ public interface ProtoRowsOrBuilder extends
    * 
* * repeated bytes serialized_rows = 1; + * * @param index The index of the element to return. * @return The serializedRows at the given index. */ diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchema.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchema.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchema.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchema.java index 58274fcd4e..ab2b02ea16 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchema.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchema.java @@ -1,50 +1,70 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/protobuf.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * ProtoSchema describes the schema of the serialized protocol buffer data rows.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ProtoSchema} */ -public final class ProtoSchema extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProtoSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ProtoSchema) ProtoSchemaOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProtoSchema.newBuilder() to construct. private ProtoSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProtoSchema() { - } + + private ProtoSchema() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProtoSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.class, com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.class, + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder.class); } public static final int PROTO_DESCRIPTOR_FIELD_NUMBER = 1; private com.google.protobuf.DescriptorProtos.DescriptorProto protoDescriptor_; /** + * + * *
    * Descriptor for input message. The descriptor has to be self contained,
    * including all the nested types, excepted for proto buffer well known types
@@ -52,6 +72,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; + * * @return Whether the protoDescriptor field is set. */ @java.lang.Override @@ -59,6 +80,8 @@ public boolean hasProtoDescriptor() { return protoDescriptor_ != null; } /** + * + * *
    * Descriptor for input message. The descriptor has to be self contained,
    * including all the nested types, excepted for proto buffer well known types
@@ -66,13 +89,18 @@ public boolean hasProtoDescriptor() {
    * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; + * * @return The protoDescriptor. */ @java.lang.Override public com.google.protobuf.DescriptorProtos.DescriptorProto getProtoDescriptor() { - return protoDescriptor_ == null ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance() : protoDescriptor_; + return protoDescriptor_ == null + ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance() + : protoDescriptor_; } /** + * + * *
    * Descriptor for input message. The descriptor has to be self contained,
    * including all the nested types, excepted for proto buffer well known types
@@ -82,11 +110,15 @@ public com.google.protobuf.DescriptorProtos.DescriptorProto getProtoDescriptor()
    * .google.protobuf.DescriptorProto proto_descriptor = 1;
    */
   @java.lang.Override
-  public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getProtoDescriptorOrBuilder() {
-    return protoDescriptor_ == null ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance() : protoDescriptor_;
+  public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder
+      getProtoDescriptorOrBuilder() {
+    return protoDescriptor_ == null
+        ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()
+        : protoDescriptor_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -104,8 +136,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (protoDescriptor_ != null) {
       output.writeMessage(1, getProtoDescriptor());
     }
@@ -119,8 +150,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (protoDescriptor_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getProtoDescriptor());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProtoDescriptor());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -130,17 +160,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ProtoSchema)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.storage.v1beta2.ProtoSchema other = (com.google.cloud.bigquery.storage.v1beta2.ProtoSchema) obj;
+    com.google.cloud.bigquery.storage.v1beta2.ProtoSchema other =
+        (com.google.cloud.bigquery.storage.v1beta2.ProtoSchema) obj;
 
     if (hasProtoDescriptor() != other.hasProtoDescriptor()) return false;
     if (hasProtoDescriptor()) {
-      if (!getProtoDescriptor()
-          .equals(other.getProtoDescriptor())) return false;
+      if (!getProtoDescriptor().equals(other.getProtoDescriptor())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -163,131 +193,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ProtoSchema prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.storage.v1beta2.ProtoSchema prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * ProtoSchema describes the schema of the serialized protocol buffer data rows.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ProtoSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ProtoSchema) com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.class, com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.class, + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +336,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor; } @java.lang.Override @@ -322,8 +357,11 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoSchema build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ProtoSchema buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema result = new com.google.cloud.bigquery.storage.v1beta2.ProtoSchema(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema result = + new com.google.cloud.bigquery.storage.v1beta2.ProtoSchema(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -331,9 +369,8 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoSchema buildPartial() { private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ProtoSchema result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.protoDescriptor_ = protoDescriptorBuilder_ == null - ? protoDescriptor_ - : protoDescriptorBuilder_.build(); + result.protoDescriptor_ = + protoDescriptorBuilder_ == null ? protoDescriptor_ : protoDescriptorBuilder_.build(); } } @@ -341,38 +378,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ProtoSchema public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ProtoSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ProtoSchema)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ProtoSchema) other); } else { super.mergeFrom(other); return this; @@ -380,7 +418,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ProtoSchema other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance()) + return this; if (other.hasProtoDescriptor()) { mergeProtoDescriptor(other.getProtoDescriptor()); } @@ -415,19 +454,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getProtoDescriptorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getProtoDescriptorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -437,12 +476,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.DescriptorProtos.DescriptorProto protoDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> protoDescriptorBuilder_; + com.google.protobuf.DescriptorProtos.DescriptorProto, + com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, + com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> + protoDescriptorBuilder_; /** + * + * *
      * Descriptor for input message. The descriptor has to be self contained,
      * including all the nested types, excepted for proto buffer well known types
@@ -450,12 +495,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; + * * @return Whether the protoDescriptor field is set. */ public boolean hasProtoDescriptor() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Descriptor for input message. The descriptor has to be self contained,
      * including all the nested types, excepted for proto buffer well known types
@@ -463,16 +511,21 @@ public boolean hasProtoDescriptor() {
      * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; + * * @return The protoDescriptor. */ public com.google.protobuf.DescriptorProtos.DescriptorProto getProtoDescriptor() { if (protoDescriptorBuilder_ == null) { - return protoDescriptor_ == null ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance() : protoDescriptor_; + return protoDescriptor_ == null + ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance() + : protoDescriptor_; } else { return protoDescriptorBuilder_.getMessage(); } } /** + * + * *
      * Descriptor for input message. The descriptor has to be self contained,
      * including all the nested types, excepted for proto buffer well known types
@@ -495,6 +548,8 @@ public Builder setProtoDescriptor(com.google.protobuf.DescriptorProtos.Descripto
       return this;
     }
     /**
+     *
+     *
      * 
      * Descriptor for input message. The descriptor has to be self contained,
      * including all the nested types, excepted for proto buffer well known types
@@ -515,6 +570,8 @@ public Builder setProtoDescriptor(
       return this;
     }
     /**
+     *
+     *
      * 
      * Descriptor for input message. The descriptor has to be self contained,
      * including all the nested types, excepted for proto buffer well known types
@@ -523,11 +580,13 @@ public Builder setProtoDescriptor(
      *
      * .google.protobuf.DescriptorProto proto_descriptor = 1;
      */
-    public Builder mergeProtoDescriptor(com.google.protobuf.DescriptorProtos.DescriptorProto value) {
+    public Builder mergeProtoDescriptor(
+        com.google.protobuf.DescriptorProtos.DescriptorProto value) {
       if (protoDescriptorBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          protoDescriptor_ != null &&
-          protoDescriptor_ != com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && protoDescriptor_ != null
+            && protoDescriptor_
+                != com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()) {
           getProtoDescriptorBuilder().mergeFrom(value);
         } else {
           protoDescriptor_ = value;
@@ -540,6 +599,8 @@ public Builder mergeProtoDescriptor(com.google.protobuf.DescriptorProtos.Descrip
       return this;
     }
     /**
+     *
+     *
      * 
      * Descriptor for input message. The descriptor has to be self contained,
      * including all the nested types, excepted for proto buffer well known types
@@ -559,6 +620,8 @@ public Builder clearProtoDescriptor() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Descriptor for input message. The descriptor has to be self contained,
      * including all the nested types, excepted for proto buffer well known types
@@ -567,12 +630,15 @@ public Builder clearProtoDescriptor() {
      *
      * .google.protobuf.DescriptorProto proto_descriptor = 1;
      */
-    public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder getProtoDescriptorBuilder() {
+    public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder
+        getProtoDescriptorBuilder() {
       bitField0_ |= 0x00000001;
       onChanged();
       return getProtoDescriptorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Descriptor for input message. The descriptor has to be self contained,
      * including all the nested types, excepted for proto buffer well known types
@@ -581,15 +647,19 @@ public com.google.protobuf.DescriptorProtos.DescriptorProto.Builder getProtoDesc
      *
      * .google.protobuf.DescriptorProto proto_descriptor = 1;
      */
-    public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getProtoDescriptorOrBuilder() {
+    public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder
+        getProtoDescriptorOrBuilder() {
       if (protoDescriptorBuilder_ != null) {
         return protoDescriptorBuilder_.getMessageOrBuilder();
       } else {
-        return protoDescriptor_ == null ?
-            com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance() : protoDescriptor_;
+        return protoDescriptor_ == null
+            ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()
+            : protoDescriptor_;
       }
     }
     /**
+     *
+     *
      * 
      * Descriptor for input message. The descriptor has to be self contained,
      * including all the nested types, excepted for proto buffer well known types
@@ -599,21 +669,24 @@ public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getProtoDes
      * .google.protobuf.DescriptorProto proto_descriptor = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> 
+            com.google.protobuf.DescriptorProtos.DescriptorProto,
+            com.google.protobuf.DescriptorProtos.DescriptorProto.Builder,
+            com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>
         getProtoDescriptorFieldBuilder() {
       if (protoDescriptorBuilder_ == null) {
-        protoDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>(
-                getProtoDescriptor(),
-                getParentForChildren(),
-                isClean());
+        protoDescriptorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.DescriptorProtos.DescriptorProto,
+                com.google.protobuf.DescriptorProtos.DescriptorProto.Builder,
+                com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder>(
+                getProtoDescriptor(), getParentForChildren(), isClean());
         protoDescriptor_ = null;
       }
       return protoDescriptorBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -623,12 +696,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ProtoSchema)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ProtoSchema)
   private static final com.google.cloud.bigquery.storage.v1beta2.ProtoSchema DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ProtoSchema();
   }
@@ -637,27 +710,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ProtoSchema parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ProtoSchema parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -672,6 +745,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.storage.v1beta2.ProtoSchema getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchemaOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchemaOrBuilder.java
similarity index 71%
rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchemaOrBuilder.java
rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchemaOrBuilder.java
index 9ad82e4562..bbbf752b31 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchemaOrBuilder.java
+++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchemaOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1beta2/protobuf.proto
 
 package com.google.cloud.bigquery.storage.v1beta2;
 
-public interface ProtoSchemaOrBuilder extends
+public interface ProtoSchemaOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ProtoSchema)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Descriptor for input message. The descriptor has to be self contained,
    * including all the nested types, excepted for proto buffer well known types
@@ -15,10 +33,13 @@ public interface ProtoSchemaOrBuilder extends
    * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; + * * @return Whether the protoDescriptor field is set. */ boolean hasProtoDescriptor(); /** + * + * *
    * Descriptor for input message. The descriptor has to be self contained,
    * including all the nested types, excepted for proto buffer well known types
@@ -26,10 +47,13 @@ public interface ProtoSchemaOrBuilder extends
    * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; + * * @return The protoDescriptor. */ com.google.protobuf.DescriptorProtos.DescriptorProto getProtoDescriptor(); /** + * + * *
    * Descriptor for input message. The descriptor has to be self contained,
    * including all the nested types, excepted for proto buffer well known types
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java
similarity index 64%
rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java
rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java
index c751a74cac..48d0fa1b9c 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java
+++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java
@@ -1,57 +1,82 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1beta2/storage.proto
 
 package com.google.cloud.bigquery.storage.v1beta2;
 
 /**
+ *
+ *
  * 
  * Request message for `ReadRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadRowsRequest} */ -public final class ReadRowsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReadRowsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) ReadRowsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadRowsRequest.newBuilder() to construct. private ReadRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReadRowsRequest() { readStream_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.class, com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.class, + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.Builder.class); } public static final int READ_STREAM_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object readStream_ = ""; /** + * + * *
    * Required. Stream to read rows from.
    * 
* - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The readStream. */ @java.lang.Override @@ -60,29 +85,31 @@ public java.lang.String getReadStream() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); readStream_ = s; return s; } } /** + * + * *
    * Required. Stream to read rows from.
    * 
* - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for readStream. */ @java.lang.Override - public com.google.protobuf.ByteString - getReadStreamBytes() { + public com.google.protobuf.ByteString getReadStreamBytes() { java.lang.Object ref = readStream_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); readStream_ = b; return b; } else { @@ -93,6 +120,8 @@ public java.lang.String getReadStream() { public static final int OFFSET_FIELD_NUMBER = 2; private long offset_ = 0L; /** + * + * *
    * The offset requested must be less than the last row read from Read.
    * Requesting a larger offset is undefined. If not specified, start reading
@@ -100,6 +129,7 @@ public java.lang.String getReadStream() {
    * 
* * int64 offset = 2; + * * @return The offset. */ @java.lang.Override @@ -108,6 +138,7 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,8 +150,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(readStream_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, readStream_); } @@ -140,8 +170,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, readStream_); } if (offset_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, offset_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, offset_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -151,17 +180,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest other = (com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) obj; + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest other = + (com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) obj; - if (!getReadStream() - .equals(other.getReadStream())) return false; - if (getOffset() - != other.getOffset()) return false; + if (!getReadStream().equals(other.getReadStream())) return false; + if (getOffset() != other.getOffset()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,139 +204,143 @@ public int hashCode() { hash = (37 * hash) + READ_STREAM_FIELD_NUMBER; hash = (53 * hash) + getReadStream().hashCode(); hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `ReadRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadRowsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.class, com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.class, + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -319,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor; } @java.lang.Override @@ -340,8 +372,11 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest result = new com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest result = + new com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -360,38 +395,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadRowsReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) other); } else { super.mergeFrom(other); return this; @@ -399,7 +435,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.getDefaultInstance()) + return this; if (!other.getReadStream().isEmpty()) { readStream_ = other.readStream_; bitField0_ |= 0x00000001; @@ -434,22 +471,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - readStream_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - offset_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + readStream_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + offset_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -459,22 +499,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object readStream_ = ""; /** + * + * *
      * Required. Stream to read rows from.
      * 
* - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The readStream. */ public java.lang.String getReadStream() { java.lang.Object ref = readStream_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); readStream_ = s; return s; @@ -483,20 +528,23 @@ public java.lang.String getReadStream() { } } /** + * + * *
      * Required. Stream to read rows from.
      * 
* - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for readStream. */ - public com.google.protobuf.ByteString - getReadStreamBytes() { + public com.google.protobuf.ByteString getReadStreamBytes() { java.lang.Object ref = readStream_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); readStream_ = b; return b; } else { @@ -504,28 +552,39 @@ public java.lang.String getReadStream() { } } /** + * + * *
      * Required. Stream to read rows from.
      * 
* - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The readStream to set. * @return This builder for chaining. */ - public Builder setReadStream( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReadStream(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } readStream_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Stream to read rows from.
      * 
* - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearReadStream() { @@ -535,17 +594,23 @@ public Builder clearReadStream() { return this; } /** + * + * *
      * Required. Stream to read rows from.
      * 
* - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for readStream to set. * @return This builder for chaining. */ - public Builder setReadStreamBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReadStreamBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); readStream_ = value; bitField0_ |= 0x00000001; @@ -553,8 +618,10 @@ public Builder setReadStreamBytes( return this; } - private long offset_ ; + private long offset_; /** + * + * *
      * The offset requested must be less than the last row read from Read.
      * Requesting a larger offset is undefined. If not specified, start reading
@@ -562,6 +629,7 @@ public Builder setReadStreamBytes(
      * 
* * int64 offset = 2; + * * @return The offset. */ @java.lang.Override @@ -569,6 +637,8 @@ public long getOffset() { return offset_; } /** + * + * *
      * The offset requested must be less than the last row read from Read.
      * Requesting a larger offset is undefined. If not specified, start reading
@@ -576,6 +646,7 @@ public long getOffset() {
      * 
* * int64 offset = 2; + * * @param value The offset to set. * @return This builder for chaining. */ @@ -587,6 +658,8 @@ public Builder setOffset(long value) { return this; } /** + * + * *
      * The offset requested must be less than the last row read from Read.
      * Requesting a larger offset is undefined. If not specified, start reading
@@ -594,6 +667,7 @@ public Builder setOffset(long value) {
      * 
* * int64 offset = 2; + * * @return This builder for chaining. */ public Builder clearOffset() { @@ -602,9 +676,9 @@ public Builder clearOffset() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,12 +688,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) private static final com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest(); } @@ -628,27 +702,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,6 +737,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java new file mode 100644 index 0000000000..ea4cd1fa55 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java @@ -0,0 +1,69 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public interface ReadRowsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Stream to read rows from.
+   * 
+ * + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The readStream. + */ + java.lang.String getReadStream(); + /** + * + * + *
+   * Required. Stream to read rows from.
+   * 
+ * + * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for readStream. + */ + com.google.protobuf.ByteString getReadStreamBytes(); + + /** + * + * + *
+   * The offset requested must be less than the last row read from Read.
+   * Requesting a larger offset is undefined. If not specified, start reading
+   * from offset zero.
+   * 
+ * + * int64 offset = 2; + * + * @return The offset. + */ + long getOffset(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java index 1e79515c21..f568898dd7 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java @@ -1,9 +1,26 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Response from calling `ReadRows` may include row data, progress and
  * throttling information.
@@ -11,48 +28,53 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadRowsResponse}
  */
-public final class ReadRowsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReadRowsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ReadRowsResponse)
     ReadRowsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReadRowsResponse.newBuilder() to construct.
   private ReadRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ReadRowsResponse() {
-  }
+
+  private ReadRowsResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReadRowsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1beta2.StorageProto
+        .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1beta2.StorageProto
+        .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.class, com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.Builder.class);
+            com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.class,
+            com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.Builder.class);
   }
 
   private int rowsCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object rows_;
+
   public enum RowsCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AVRO_ROWS(3),
     ARROW_RECORD_BATCH(4),
     ROWS_NOT_SET(0);
     private final int value;
+
     private RowsCase(int value) {
       this.value = value;
     }
@@ -68,33 +90,40 @@ public static RowsCase valueOf(int value) {
 
     public static RowsCase forNumber(int value) {
       switch (value) {
-        case 3: return AVRO_ROWS;
-        case 4: return ARROW_RECORD_BATCH;
-        case 0: return ROWS_NOT_SET;
-        default: return null;
+        case 3:
+          return AVRO_ROWS;
+        case 4:
+          return ARROW_RECORD_BATCH;
+        case 0:
+          return ROWS_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public RowsCase
-  getRowsCase() {
-    return RowsCase.forNumber(
-        rowsCase_);
+  public RowsCase getRowsCase() {
+    return RowsCase.forNumber(rowsCase_);
   }
 
   private int schemaCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object schema_;
+
   public enum SchemaCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AVRO_SCHEMA(7),
     ARROW_SCHEMA(8),
     SCHEMA_NOT_SET(0);
     private final int value;
+
     private SchemaCase(int value) {
       this.value = value;
     }
@@ -110,30 +139,36 @@ public static SchemaCase valueOf(int value) {
 
     public static SchemaCase forNumber(int value) {
       switch (value) {
-        case 7: return AVRO_SCHEMA;
-        case 8: return ARROW_SCHEMA;
-        case 0: return SCHEMA_NOT_SET;
-        default: return null;
+        case 7:
+          return AVRO_SCHEMA;
+        case 8:
+          return ARROW_SCHEMA;
+        case 0:
+          return SCHEMA_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SchemaCase
-  getSchemaCase() {
-    return SchemaCase.forNumber(
-        schemaCase_);
+  public SchemaCase getSchemaCase() {
+    return SchemaCase.forNumber(schemaCase_);
   }
 
   public static final int AVRO_ROWS_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * Serialized row data in AVRO format.
    * 
* * .google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3; + * * @return Whether the avroRows field is set. */ @java.lang.Override @@ -141,21 +176,26 @@ public boolean hasAvroRows() { return rowsCase_ == 3; } /** + * + * *
    * Serialized row data in AVRO format.
    * 
* * .google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3; + * * @return The avroRows. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AvroRows getAvroRows() { if (rowsCase_ == 3) { - return (com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_; + return (com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_; } return com.google.cloud.bigquery.storage.v1beta2.AvroRows.getDefaultInstance(); } /** + * + * *
    * Serialized row data in AVRO format.
    * 
@@ -165,18 +205,21 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRows getAvroRows() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder getAvroRowsOrBuilder() { if (rowsCase_ == 3) { - return (com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_; + return (com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_; } return com.google.cloud.bigquery.storage.v1beta2.AvroRows.getDefaultInstance(); } public static final int ARROW_RECORD_BATCH_FIELD_NUMBER = 4; /** + * + * *
    * Serialized row data in Arrow RecordBatch format.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4; + * * @return Whether the arrowRecordBatch field is set. */ @java.lang.Override @@ -184,21 +227,26 @@ public boolean hasArrowRecordBatch() { return rowsCase_ == 4; } /** + * + * *
    * Serialized row data in Arrow RecordBatch format.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4; + * * @return The arrowRecordBatch. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch getArrowRecordBatch() { if (rowsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_; + return (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_; } return com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.getDefaultInstance(); } /** + * + * *
    * Serialized row data in Arrow RecordBatch format.
    * 
@@ -206,9 +254,10 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch getArrowRecord * .google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder getArrowRecordBatchOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder + getArrowRecordBatchOrBuilder() { if (rowsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_; + return (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_; } return com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.getDefaultInstance(); } @@ -216,11 +265,14 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder getAr public static final int ROW_COUNT_FIELD_NUMBER = 6; private long rowCount_ = 0L; /** + * + * *
    * Number of serialized rows in the rows block.
    * 
* * int64 row_count = 6; + * * @return The rowCount. */ @java.lang.Override @@ -231,11 +283,14 @@ public long getRowCount() { public static final int STATS_FIELD_NUMBER = 2; private com.google.cloud.bigquery.storage.v1beta2.StreamStats stats_; /** + * + * *
    * Statistics for the stream.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2; + * * @return Whether the stats field is set. */ @java.lang.Override @@ -243,18 +298,25 @@ public boolean hasStats() { return stats_ != null; } /** + * + * *
    * Statistics for the stream.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2; + * * @return The stats. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.StreamStats getStats() { - return stats_ == null ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance() + : stats_; } /** + * + * *
    * Statistics for the stream.
    * 
@@ -263,18 +325,23 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStats getStats() { */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder getStatsOrBuilder() { - return stats_ == null ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance() + : stats_; } public static final int THROTTLE_STATE_FIELD_NUMBER = 5; private com.google.cloud.bigquery.storage.v1beta2.ThrottleState throttleState_; /** + * + * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5; + * * @return Whether the throttleState field is set. */ @java.lang.Override @@ -282,19 +349,26 @@ public boolean hasThrottleState() { return throttleState_ != null; } /** + * + * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5; + * * @return The throttleState. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ThrottleState getThrottleState() { - return throttleState_ == null ? com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance() : throttleState_; + return throttleState_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance() + : throttleState_; } /** + * + * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
@@ -303,17 +377,25 @@ public com.google.cloud.bigquery.storage.v1beta2.ThrottleState getThrottleState(
    * .google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;
    */
   @java.lang.Override
-  public com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder getThrottleStateOrBuilder() {
-    return throttleState_ == null ? com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance() : throttleState_;
+  public com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder
+      getThrottleStateOrBuilder() {
+    return throttleState_ == null
+        ? com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance()
+        : throttleState_;
   }
 
   public static final int AVRO_SCHEMA_FIELD_NUMBER = 7;
   /**
+   *
+   *
    * 
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -321,42 +403,56 @@ public boolean hasAvroSchema() { return schemaCase_ == 7; } /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AvroSchema getAvroSchema() { if (schemaCase_ == 7) { - return (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta2.AvroSchema.getDefaultInstance(); } /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder getAvroSchemaOrBuilder() { if (schemaCase_ == 7) { - return (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta2.AvroSchema.getDefaultInstance(); } public static final int ARROW_SCHEMA_FIELD_NUMBER = 8; /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -364,36 +460,46 @@ public boolean hasArrowSchema() { return schemaCase_ == 8; } /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema getArrowSchema() { if (schemaCase_ == 8) { - return (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.getDefaultInstance(); } /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { if (schemaCase_ == 8) { - return (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -405,8 +511,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (stats_ != null) { output.writeMessage(2, getStats()); } @@ -438,32 +543,33 @@ public int getSerializedSize() { size = 0; if (stats_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStats()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStats()); } if (rowsCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_); } if (rowsCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_); } if (throttleState_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getThrottleState()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getThrottleState()); } if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(6, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, rowCount_); } if (schemaCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_); } if (schemaCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -473,34 +579,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse other = (com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse) obj; + com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse other = + (com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse) obj; - if (getRowCount() - != other.getRowCount()) return false; + if (getRowCount() != other.getRowCount()) return false; if (hasStats() != other.hasStats()) return false; if (hasStats()) { - if (!getStats() - .equals(other.getStats())) return false; + if (!getStats().equals(other.getStats())) return false; } if (hasThrottleState() != other.hasThrottleState()) return false; if (hasThrottleState()) { - if (!getThrottleState() - .equals(other.getThrottleState())) return false; + if (!getThrottleState().equals(other.getThrottleState())) return false; } if (!getRowsCase().equals(other.getRowsCase())) return false; switch (rowsCase_) { case 3: - if (!getAvroRows() - .equals(other.getAvroRows())) return false; + if (!getAvroRows().equals(other.getAvroRows())) return false; break; case 4: - if (!getArrowRecordBatch() - .equals(other.getArrowRecordBatch())) return false; + if (!getArrowRecordBatch().equals(other.getArrowRecordBatch())) return false; break; case 0: default: @@ -508,12 +610,10 @@ public boolean equals(final java.lang.Object obj) { if (!getSchemaCase().equals(other.getSchemaCase())) return false; switch (schemaCase_) { case 7: - if (!getAvroSchema() - .equals(other.getAvroSchema())) return false; + if (!getAvroSchema().equals(other.getAvroSchema())) return false; break; case 8: - if (!getArrowSchema() - .equals(other.getArrowSchema())) return false; + if (!getArrowSchema().equals(other.getArrowSchema())) return false; break; case 0: default: @@ -530,8 +630,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); if (hasStats()) { hash = (37 * hash) + STATS_FIELD_NUMBER; hash = (53 * hash) + getStats().hashCode(); @@ -570,98 +669,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response from calling `ReadRows` may include row data, progress and
    * throttling information.
@@ -669,33 +774,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadRowsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ReadRowsResponse)
       com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1beta2.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1beta2.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.class, com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.Builder.class);
+              com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.class,
+              com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -731,9 +835,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.storage.v1beta2.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -752,8 +856,11 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse buildPartial() {
-      com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse result = new com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse result =
+          new com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -765,36 +872,30 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadRowsRes
         result.rowCount_ = rowCount_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.stats_ = statsBuilder_ == null
-            ? stats_
-            : statsBuilder_.build();
+        result.stats_ = statsBuilder_ == null ? stats_ : statsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.throttleState_ = throttleStateBuilder_ == null
-            ? throttleState_
-            : throttleStateBuilder_.build();
+        result.throttleState_ =
+            throttleStateBuilder_ == null ? throttleState_ : throttleStateBuilder_.build();
       }
     }
 
-    private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse result) {
+    private void buildPartialOneofs(
+        com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse result) {
       result.rowsCase_ = rowsCase_;
       result.rows_ = this.rows_;
-      if (rowsCase_ == 3 &&
-          avroRowsBuilder_ != null) {
+      if (rowsCase_ == 3 && avroRowsBuilder_ != null) {
         result.rows_ = avroRowsBuilder_.build();
       }
-      if (rowsCase_ == 4 &&
-          arrowRecordBatchBuilder_ != null) {
+      if (rowsCase_ == 4 && arrowRecordBatchBuilder_ != null) {
         result.rows_ = arrowRecordBatchBuilder_.build();
       }
       result.schemaCase_ = schemaCase_;
       result.schema_ = this.schema_;
-      if (schemaCase_ == 7 &&
-          avroSchemaBuilder_ != null) {
+      if (schemaCase_ == 7 && avroSchemaBuilder_ != null) {
         result.schema_ = avroSchemaBuilder_.build();
       }
-      if (schemaCase_ == 8 &&
-          arrowSchemaBuilder_ != null) {
+      if (schemaCase_ == 8 && arrowSchemaBuilder_ != null) {
         result.schema_ = arrowSchemaBuilder_.build();
       }
     }
@@ -803,38 +904,39 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta2.ReadRo
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse)other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -842,7 +944,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse other) {
-      if (other == com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.getDefaultInstance())
+        return this;
       if (other.getRowCount() != 0L) {
         setRowCount(other.getRowCount());
       }
@@ -853,30 +956,36 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ReadRowsRespo
         mergeThrottleState(other.getThrottleState());
       }
       switch (other.getRowsCase()) {
-        case AVRO_ROWS: {
-          mergeAvroRows(other.getAvroRows());
-          break;
-        }
-        case ARROW_RECORD_BATCH: {
-          mergeArrowRecordBatch(other.getArrowRecordBatch());
-          break;
-        }
-        case ROWS_NOT_SET: {
-          break;
-        }
+        case AVRO_ROWS:
+          {
+            mergeAvroRows(other.getAvroRows());
+            break;
+          }
+        case ARROW_RECORD_BATCH:
+          {
+            mergeArrowRecordBatch(other.getArrowRecordBatch());
+            break;
+          }
+        case ROWS_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getSchemaCase()) {
-        case AVRO_SCHEMA: {
-          mergeAvroSchema(other.getAvroSchema());
-          break;
-        }
-        case ARROW_SCHEMA: {
-          mergeArrowSchema(other.getArrowSchema());
-          break;
-        }
-        case SCHEMA_NOT_SET: {
-          break;
-        }
+        case AVRO_SCHEMA:
+          {
+            mergeAvroSchema(other.getAvroSchema());
+            break;
+          }
+        case ARROW_SCHEMA:
+          {
+            mergeArrowSchema(other.getArrowSchema());
+            break;
+          }
+        case SCHEMA_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -904,59 +1013,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              input.readMessage(
-                  getStatsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getAvroRowsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              rowsCase_ = 3;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getArrowRecordBatchFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              rowsCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getThrottleStateFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 48: {
-              rowCount_ = input.readInt64();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 48
-            case 58: {
-              input.readMessage(
-                  getAvroSchemaFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              schemaCase_ = 7;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getArrowSchemaFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              schemaCase_ = 8;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                input.readMessage(getStatsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getAvroRowsFieldBuilder().getBuilder(), extensionRegistry);
+                rowsCase_ = 3;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getArrowRecordBatchFieldBuilder().getBuilder(), extensionRegistry);
+                rowsCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getThrottleStateFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 48:
+              {
+                rowCount_ = input.readInt64();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 48
+            case 58:
+              {
+                input.readMessage(getAvroSchemaFieldBuilder().getBuilder(), extensionRegistry);
+                schemaCase_ = 7;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getArrowSchemaFieldBuilder().getBuilder(), extensionRegistry);
+                schemaCase_ = 8;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -966,12 +1072,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int rowsCase_ = 0;
     private java.lang.Object rows_;
-    public RowsCase
-        getRowsCase() {
-      return RowsCase.forNumber(
-          rowsCase_);
+
+    public RowsCase getRowsCase() {
+      return RowsCase.forNumber(rowsCase_);
     }
 
     public Builder clearRows() {
@@ -983,10 +1089,9 @@ public Builder clearRows() {
 
     private int schemaCase_ = 0;
     private java.lang.Object schema_;
-    public SchemaCase
-        getSchemaCase() {
-      return SchemaCase.forNumber(
-          schemaCase_);
+
+    public SchemaCase getSchemaCase() {
+      return SchemaCase.forNumber(schemaCase_);
     }
 
     public Builder clearSchema() {
@@ -999,13 +1104,19 @@ public Builder clearSchema() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1beta2.AvroRows, com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder, com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder> avroRowsBuilder_;
+            com.google.cloud.bigquery.storage.v1beta2.AvroRows,
+            com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder,
+            com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder>
+        avroRowsBuilder_;
     /**
+     *
+     *
      * 
      * Serialized row data in AVRO format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3; + * * @return Whether the avroRows field is set. */ @java.lang.Override @@ -1013,11 +1124,14 @@ public boolean hasAvroRows() { return rowsCase_ == 3; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3; + * * @return The avroRows. */ @java.lang.Override @@ -1035,6 +1149,8 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRows getAvroRows() { } } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1055,6 +1171,8 @@ public Builder setAvroRows(com.google.cloud.bigquery.storage.v1beta2.AvroRows va return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1073,6 +1191,8 @@ public Builder setAvroRows( return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1081,10 +1201,13 @@ public Builder setAvroRows( */ public Builder mergeAvroRows(com.google.cloud.bigquery.storage.v1beta2.AvroRows value) { if (avroRowsBuilder_ == null) { - if (rowsCase_ == 3 && - rows_ != com.google.cloud.bigquery.storage.v1beta2.AvroRows.getDefaultInstance()) { - rows_ = com.google.cloud.bigquery.storage.v1beta2.AvroRows.newBuilder((com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_) - .mergeFrom(value).buildPartial(); + if (rowsCase_ == 3 + && rows_ != com.google.cloud.bigquery.storage.v1beta2.AvroRows.getDefaultInstance()) { + rows_ = + com.google.cloud.bigquery.storage.v1beta2.AvroRows.newBuilder( + (com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_) + .mergeFrom(value) + .buildPartial(); } else { rows_ = value; } @@ -1100,6 +1223,8 @@ public Builder mergeAvroRows(com.google.cloud.bigquery.storage.v1beta2.AvroRows return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1123,6 +1248,8 @@ public Builder clearAvroRows() { return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1133,6 +1260,8 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder getAvroRowsBui return getAvroRowsFieldBuilder().getBuilder(); } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1151,6 +1280,8 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder getAvroRowsOr } } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1158,14 +1289,19 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder getAvroRowsOr * .google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.AvroRows, com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder, com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.AvroRows, + com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder, + com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder> getAvroRowsFieldBuilder() { if (avroRowsBuilder_ == null) { if (!(rowsCase_ == 3)) { rows_ = com.google.cloud.bigquery.storage.v1beta2.AvroRows.getDefaultInstance(); } - avroRowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.AvroRows, com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder, com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder>( + avroRowsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.AvroRows, + com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder, + com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder>( (com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_, getParentForChildren(), isClean()); @@ -1177,13 +1313,19 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder getAvroRowsOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch, com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder> arrowRecordBatchBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch, + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder, + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder> + arrowRecordBatchBuilder_; /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4; + * * @return Whether the arrowRecordBatch field is set. */ @java.lang.Override @@ -1191,11 +1333,14 @@ public boolean hasArrowRecordBatch() { return rowsCase_ == 4; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4; + * * @return The arrowRecordBatch. */ @java.lang.Override @@ -1213,13 +1358,16 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch getArrowRecord } } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4; */ - public Builder setArrowRecordBatch(com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch value) { + public Builder setArrowRecordBatch( + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch value) { if (arrowRecordBatchBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1233,6 +1381,8 @@ public Builder setArrowRecordBatch(com.google.cloud.bigquery.storage.v1beta2.Arr return this; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1251,18 +1401,26 @@ public Builder setArrowRecordBatch( return this; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4; */ - public Builder mergeArrowRecordBatch(com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch value) { + public Builder mergeArrowRecordBatch( + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch value) { if (arrowRecordBatchBuilder_ == null) { - if (rowsCase_ == 4 && - rows_ != com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.getDefaultInstance()) { - rows_ = com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.newBuilder((com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_) - .mergeFrom(value).buildPartial(); + if (rowsCase_ == 4 + && rows_ + != com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch + .getDefaultInstance()) { + rows_ = + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.newBuilder( + (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_) + .mergeFrom(value) + .buildPartial(); } else { rows_ = value; } @@ -1278,6 +1436,8 @@ public Builder mergeArrowRecordBatch(com.google.cloud.bigquery.storage.v1beta2.A return this; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1301,16 +1461,21 @@ public Builder clearArrowRecordBatch() { return this; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4; */ - public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder getArrowRecordBatchBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder + getArrowRecordBatchBuilder() { return getArrowRecordBatchFieldBuilder().getBuilder(); } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1318,7 +1483,8 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder getArr * .google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder getArrowRecordBatchOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder + getArrowRecordBatchOrBuilder() { if ((rowsCase_ == 4) && (arrowRecordBatchBuilder_ != null)) { return arrowRecordBatchBuilder_.getMessageOrBuilder(); } else { @@ -1329,6 +1495,8 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder getAr } } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1336,14 +1504,19 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder getAr * .google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch, com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch, + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder, + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder> getArrowRecordBatchFieldBuilder() { if (arrowRecordBatchBuilder_ == null) { if (!(rowsCase_ == 4)) { rows_ = com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.getDefaultInstance(); } - arrowRecordBatchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch, com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder>( + arrowRecordBatchBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch, + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder, + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder>( (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_, getParentForChildren(), isClean()); @@ -1354,13 +1527,16 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder getAr return arrowRecordBatchBuilder_; } - private long rowCount_ ; + private long rowCount_; /** + * + * *
      * Number of serialized rows in the rows block.
      * 
* * int64 row_count = 6; + * * @return The rowCount. */ @java.lang.Override @@ -1368,11 +1544,14 @@ public long getRowCount() { return rowCount_; } /** + * + * *
      * Number of serialized rows in the rows block.
      * 
* * int64 row_count = 6; + * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -1384,11 +1563,14 @@ public Builder setRowCount(long value) { return this; } /** + * + * *
      * Number of serialized rows in the rows block.
      * 
* * int64 row_count = 6; + * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -1400,34 +1582,47 @@ public Builder clearRowCount() { private com.google.cloud.bigquery.storage.v1beta2.StreamStats stats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.StreamStats, com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder, com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder> statsBuilder_; + com.google.cloud.bigquery.storage.v1beta2.StreamStats, + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder, + com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder> + statsBuilder_; /** + * + * *
      * Statistics for the stream.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2; + * * @return Whether the stats field is set. */ public boolean hasStats() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Statistics for the stream.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2; + * * @return The stats. */ public com.google.cloud.bigquery.storage.v1beta2.StreamStats getStats() { if (statsBuilder_ == null) { - return stats_ == null ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance() + : stats_; } else { return statsBuilder_.getMessage(); } } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1448,6 +1643,8 @@ public Builder setStats(com.google.cloud.bigquery.storage.v1beta2.StreamStats va return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1466,6 +1663,8 @@ public Builder setStats( return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1474,9 +1673,10 @@ public Builder setStats( */ public Builder mergeStats(com.google.cloud.bigquery.storage.v1beta2.StreamStats value) { if (statsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - stats_ != null && - stats_ != com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && stats_ != null + && stats_ + != com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance()) { getStatsBuilder().mergeFrom(value); } else { stats_ = value; @@ -1489,6 +1689,8 @@ public Builder mergeStats(com.google.cloud.bigquery.storage.v1beta2.StreamStats return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1506,6 +1708,8 @@ public Builder clearStats() { return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1518,6 +1722,8 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder getStatsBui return getStatsFieldBuilder().getBuilder(); } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1528,11 +1734,14 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder getStatsOr if (statsBuilder_ != null) { return statsBuilder_.getMessageOrBuilder(); } else { - return stats_ == null ? - com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance() : stats_; + return stats_ == null + ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance() + : stats_; } } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1540,14 +1749,17 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder getStatsOr * .google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.StreamStats, com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder, com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.StreamStats, + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder, + com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder> getStatsFieldBuilder() { if (statsBuilder_ == null) { - statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.StreamStats, com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder, com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder>( - getStats(), - getParentForChildren(), - isClean()); + statsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.StreamStats, + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder, + com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder>( + getStats(), getParentForChildren(), isClean()); stats_ = null; } return statsBuilder_; @@ -1555,36 +1767,49 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder getStatsOr private com.google.cloud.bigquery.storage.v1beta2.ThrottleState throttleState_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ThrottleState, com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder, com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder> throttleStateBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ThrottleState, + com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder, + com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder> + throttleStateBuilder_; /** + * + * *
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5; + * * @return Whether the throttleState field is set. */ public boolean hasThrottleState() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5; + * * @return The throttleState. */ public com.google.cloud.bigquery.storage.v1beta2.ThrottleState getThrottleState() { if (throttleStateBuilder_ == null) { - return throttleState_ == null ? com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance() : throttleState_; + return throttleState_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance() + : throttleState_; } else { return throttleStateBuilder_.getMessage(); } } /** + * + * *
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1606,6 +1831,8 @@ public Builder setThrottleState(com.google.cloud.bigquery.storage.v1beta2.Thrott
       return this;
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1625,6 +1852,8 @@ public Builder setThrottleState(
       return this;
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1632,11 +1861,13 @@ public Builder setThrottleState(
      *
      * .google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;
      */
-    public Builder mergeThrottleState(com.google.cloud.bigquery.storage.v1beta2.ThrottleState value) {
+    public Builder mergeThrottleState(
+        com.google.cloud.bigquery.storage.v1beta2.ThrottleState value) {
       if (throttleStateBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          throttleState_ != null &&
-          throttleState_ != com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && throttleState_ != null
+            && throttleState_
+                != com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance()) {
           getThrottleStateBuilder().mergeFrom(value);
         } else {
           throttleState_ = value;
@@ -1649,6 +1880,8 @@ public Builder mergeThrottleState(com.google.cloud.bigquery.storage.v1beta2.Thro
       return this;
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1667,6 +1900,8 @@ public Builder clearThrottleState() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1674,12 +1909,15 @@ public Builder clearThrottleState() {
      *
      * .google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;
      */
-    public com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder getThrottleStateBuilder() {
+    public com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder
+        getThrottleStateBuilder() {
       bitField0_ |= 0x00000010;
       onChanged();
       return getThrottleStateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1687,15 +1925,19 @@ public com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder getThrott
      *
      * .google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;
      */
-    public com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder getThrottleStateOrBuilder() {
+    public com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder
+        getThrottleStateOrBuilder() {
       if (throttleStateBuilder_ != null) {
         return throttleStateBuilder_.getMessageOrBuilder();
       } else {
-        return throttleState_ == null ?
-            com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance() : throttleState_;
+        return throttleState_ == null
+            ? com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance()
+            : throttleState_;
       }
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1704,27 +1946,38 @@ public com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder getThrot
      * .google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1beta2.ThrottleState, com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder, com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder> 
+            com.google.cloud.bigquery.storage.v1beta2.ThrottleState,
+            com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder,
+            com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder>
         getThrottleStateFieldBuilder() {
       if (throttleStateBuilder_ == null) {
-        throttleStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1beta2.ThrottleState, com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder, com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder>(
-                getThrottleState(),
-                getParentForChildren(),
-                isClean());
+        throttleStateBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.bigquery.storage.v1beta2.ThrottleState,
+                com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder,
+                com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder>(
+                getThrottleState(), getParentForChildren(), isClean());
         throttleState_ = null;
       }
       return throttleStateBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1beta2.AvroSchema, com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder> avroSchemaBuilder_;
+            com.google.cloud.bigquery.storage.v1beta2.AvroSchema,
+            com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder,
+            com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder>
+        avroSchemaBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -1732,11 +1985,16 @@ public boolean hasAvroSchema() { return schemaCase_ == 7; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ @java.lang.Override @@ -1754,11 +2012,15 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroSchema getAvroSchema() { } } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAvroSchema(com.google.cloud.bigquery.storage.v1beta2.AvroSchema value) { if (avroSchemaBuilder_ == null) { @@ -1774,11 +2036,15 @@ public Builder setAvroSchema(com.google.cloud.bigquery.storage.v1beta2.AvroSchem return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAvroSchema( com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder builderForValue) { @@ -1792,18 +2058,26 @@ public Builder setAvroSchema( return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeAvroSchema(com.google.cloud.bigquery.storage.v1beta2.AvroSchema value) { if (avroSchemaBuilder_ == null) { - if (schemaCase_ == 7 && - schema_ != com.google.cloud.bigquery.storage.v1beta2.AvroSchema.getDefaultInstance()) { - schema_ = com.google.cloud.bigquery.storage.v1beta2.AvroSchema.newBuilder((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 7 + && schema_ + != com.google.cloud.bigquery.storage.v1beta2.AvroSchema.getDefaultInstance()) { + schema_ = + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.newBuilder( + (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -1819,11 +2093,15 @@ public Builder mergeAvroSchema(com.google.cloud.bigquery.storage.v1beta2.AvroSch return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAvroSchema() { if (avroSchemaBuilder_ == null) { @@ -1842,21 +2120,29 @@ public Builder clearAvroSchema() { return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder getAvroSchemaBuilder() { return getAvroSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder getAvroSchemaOrBuilder() { @@ -1870,21 +2156,30 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder getAvroSche } } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.AvroSchema, com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.AvroSchema, + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder> getAvroSchemaFieldBuilder() { if (avroSchemaBuilder_ == null) { if (!(schemaCase_ == 7)) { schema_ = com.google.cloud.bigquery.storage.v1beta2.AvroSchema.getDefaultInstance(); } - avroSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.AvroSchema, com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder>( + avroSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.AvroSchema, + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder>( (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_, getParentForChildren(), isClean()); @@ -1896,13 +2191,21 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder getAvroSche } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder> arrowSchemaBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder> + arrowSchemaBuilder_; /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -1910,11 +2213,16 @@ public boolean hasArrowSchema() { return schemaCase_ == 8; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ @java.lang.Override @@ -1932,11 +2240,15 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema getArrowSchema() { } } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1beta2.ArrowSchema value) { if (arrowSchemaBuilder_ == null) { @@ -1952,11 +2264,15 @@ public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1beta2.ArrowSch return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setArrowSchema( com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder builderForValue) { @@ -1970,18 +2286,26 @@ public Builder setArrowSchema( return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeArrowSchema(com.google.cloud.bigquery.storage.v1beta2.ArrowSchema value) { if (arrowSchemaBuilder_ == null) { - if (schemaCase_ == 8 && - schema_ != com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.getDefaultInstance()) { - schema_ = com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.newBuilder((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 8 + && schema_ + != com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.getDefaultInstance()) { + schema_ = + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.newBuilder( + (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -1997,11 +2321,15 @@ public Builder mergeArrowSchema(com.google.cloud.bigquery.storage.v1beta2.ArrowS return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearArrowSchema() { if (arrowSchemaBuilder_ == null) { @@ -2020,24 +2348,33 @@ public Builder clearArrowSchema() { return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder getArrowSchemaBuilder() { return getArrowSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder + getArrowSchemaOrBuilder() { if ((schemaCase_ == 8) && (arrowSchemaBuilder_ != null)) { return arrowSchemaBuilder_.getMessageOrBuilder(); } else { @@ -2048,21 +2385,30 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder getArrowSc } } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder> getArrowSchemaFieldBuilder() { if (arrowSchemaBuilder_ == null) { if (!(schemaCase_ == 8)) { schema_ = com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.getDefaultInstance(); } - arrowSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder>( + arrowSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder>( (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_, getParentForChildren(), isClean()); @@ -2072,9 +2418,9 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder getArrowSc onChanged(); return arrowSchemaBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2084,12 +2430,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ReadRowsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ReadRowsResponse) private static final com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse(); } @@ -2098,27 +2444,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2133,6 +2479,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponseOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponseOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponseOrBuilder.java index b6fe415ef8..aba0ebfa61 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponseOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface ReadRowsResponseOrBuilder extends +public interface ReadRowsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ReadRowsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Serialized row data in AVRO format.
    * 
* * .google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3; + * * @return Whether the avroRows field is set. */ boolean hasAvroRows(); /** + * + * *
    * Serialized row data in AVRO format.
    * 
* * .google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3; + * * @return The avroRows. */ com.google.cloud.bigquery.storage.v1beta2.AvroRows getAvroRows(); /** + * + * *
    * Serialized row data in AVRO format.
    * 
@@ -35,61 +59,81 @@ public interface ReadRowsResponseOrBuilder extends com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder getAvroRowsOrBuilder(); /** + * + * *
    * Serialized row data in Arrow RecordBatch format.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4; + * * @return Whether the arrowRecordBatch field is set. */ boolean hasArrowRecordBatch(); /** + * + * *
    * Serialized row data in Arrow RecordBatch format.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4; + * * @return The arrowRecordBatch. */ com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch getArrowRecordBatch(); /** + * + * *
    * Serialized row data in Arrow RecordBatch format.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4; */ - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder getArrowRecordBatchOrBuilder(); + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder + getArrowRecordBatchOrBuilder(); /** + * + * *
    * Number of serialized rows in the rows block.
    * 
* * int64 row_count = 6; + * * @return The rowCount. */ long getRowCount(); /** + * + * *
    * Statistics for the stream.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2; + * * @return Whether the stats field is set. */ boolean hasStats(); /** + * + * *
    * Statistics for the stream.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2; + * * @return The stats. */ com.google.cloud.bigquery.storage.v1beta2.StreamStats getStats(); /** + * + * *
    * Statistics for the stream.
    * 
@@ -99,26 +143,34 @@ public interface ReadRowsResponseOrBuilder extends com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder getStatsOrBuilder(); /** + * + * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5; + * * @return Whether the throttleState field is set. */ boolean hasThrottleState(); /** + * + * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5; + * * @return The throttleState. */ com.google.cloud.bigquery.storage.v1beta2.ThrottleState getThrottleState(); /** + * + * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
@@ -129,56 +181,84 @@ public interface ReadRowsResponseOrBuilder extends
   com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder getThrottleStateOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ boolean hasAvroSchema(); /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ com.google.cloud.bigquery.storage.v1beta2.AvroSchema getAvroSchema(); /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder getAvroSchemaOrBuilder(); /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ boolean hasArrowSchema(); /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ com.google.cloud.bigquery.storage.v1beta2.ArrowSchema getArrowSchema(); /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder getArrowSchemaOrBuilder(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java index fc39661bb8..99a773fc7b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java @@ -1,24 +1,42 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/stream.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Information about the ReadSession.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadSession} */ -public final class ReadSession extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReadSession extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ReadSession) ReadSessionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadSession.newBuilder() to construct. private ReadSession(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReadSession() { name_ = ""; dataFormat_ = 0; @@ -28,47 +46,57 @@ private ReadSession() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadSession(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.class, com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.class, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder.class); } - public interface TableModifiersOrBuilder extends + public interface TableModifiersOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return Whether the snapshotTime field is set. */ boolean hasSnapshotTime(); /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return The snapshotTime. */ com.google.protobuf.Timestamp getSnapshotTime(); /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
@@ -78,52 +106,58 @@ public interface TableModifiersOrBuilder extends com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder(); } /** + * + * *
    * Additional attributes when reading a table.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers} */ - public static final class TableModifiers extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TableModifiers extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) TableModifiersOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableModifiers.newBuilder() to construct. private TableModifiers(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableModifiers() { - } + + private TableModifiers() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableModifiers(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.class, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.class, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder.class); } public static final int SNAPSHOT_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp snapshotTime_; /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return Whether the snapshotTime field is set. */ @java.lang.Override @@ -131,18 +165,25 @@ public boolean hasSnapshotTime() { return snapshotTime_ != null; } /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return The snapshotTime. */ @java.lang.Override public com.google.protobuf.Timestamp getSnapshotTime() { - return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; + return snapshotTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : snapshotTime_; } /** + * + * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
@@ -151,10 +192,13 @@ public com.google.protobuf.Timestamp getSnapshotTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { - return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; + return snapshotTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : snapshotTime_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +210,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (snapshotTime_ != null) { output.writeMessage(1, getSnapshotTime()); } @@ -181,8 +224,7 @@ public int getSerializedSize() { size = 0; if (snapshotTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSnapshotTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSnapshotTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -192,17 +234,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers other = (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) obj; + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers other = + (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) obj; if (hasSnapshotTime() != other.hasSnapshotTime()) return false; if (hasSnapshotTime()) { - if (!getSnapshotTime() - .equals(other.getSnapshotTime())) return false; + if (!getSnapshotTime().equals(other.getSnapshotTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -225,89 +267,95 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -317,39 +365,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Additional attributes when reading a table.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.class, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.class, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder.class); } - // Construct using com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -363,19 +414,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers build() { - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers result = buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -384,18 +438,21 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers buil @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers result = new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers result = + new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.snapshotTime_ = snapshotTimeBuilder_ == null - ? snapshotTime_ - : snapshotTimeBuilder_.build(); + result.snapshotTime_ = + snapshotTimeBuilder_ == null ? snapshotTime_ : snapshotTimeBuilder_.build(); } } @@ -403,46 +460,53 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadSession public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers)other); + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers other) { + if (other + == com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers + .getDefaultInstance()) return this; if (other.hasSnapshotTime()) { mergeSnapshotTime(other.getSnapshotTime()); } @@ -472,19 +536,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getSnapshotTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getSnapshotTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,38 +558,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp snapshotTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> snapshotTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + snapshotTimeBuilder_; /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return Whether the snapshotTime field is set. */ public boolean hasSnapshotTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; + * * @return The snapshotTime. */ public com.google.protobuf.Timestamp getSnapshotTime() { if (snapshotTimeBuilder_ == null) { - return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; + return snapshotTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : snapshotTime_; } else { return snapshotTimeBuilder_.getMessage(); } } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -546,14 +624,15 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; */ - public Builder setSnapshotTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (snapshotTimeBuilder_ == null) { snapshotTime_ = builderForValue.build(); } else { @@ -564,6 +643,8 @@ public Builder setSnapshotTime( return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -572,9 +653,9 @@ public Builder setSnapshotTime( */ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { if (snapshotTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - snapshotTime_ != null && - snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && snapshotTime_ != null + && snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getSnapshotTimeBuilder().mergeFrom(value); } else { snapshotTime_ = value; @@ -587,6 +668,8 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -604,6 +687,8 @@ public Builder clearSnapshotTime() { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -616,6 +701,8 @@ public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() { return getSnapshotTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -626,11 +713,14 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { if (snapshotTimeBuilder_ != null) { return snapshotTimeBuilder_.getMessageOrBuilder(); } else { - return snapshotTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; + return snapshotTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : snapshotTime_; } } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -638,18 +728,22 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { * .google.protobuf.Timestamp snapshot_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getSnapshotTimeFieldBuilder() { if (snapshotTimeBuilder_ == null) { - snapshotTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getSnapshotTime(), - getParentForChildren(), - isClean()); + snapshotTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getSnapshotTime(), getParentForChildren(), isClean()); snapshotTime_ = null; } return snapshotTimeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -662,41 +756,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) - private static final com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers(); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableModifiers parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableModifiers parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -708,17 +805,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TableReadOptionsOrBuilder extends + public interface TableReadOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Names of the fields in the table that should be read. If empty, all
      * fields will be read. If the specified field is a nested field, all
@@ -727,11 +827,13 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * repeated string selected_fields = 1; + * * @return A list containing the selectedFields. */ - java.util.List - getSelectedFieldsList(); + java.util.List getSelectedFieldsList(); /** + * + * *
      * Names of the fields in the table that should be read. If empty, all
      * fields will be read. If the specified field is a nested field, all
@@ -740,10 +842,13 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * repeated string selected_fields = 1; + * * @return The count of selectedFields. */ int getSelectedFieldsCount(); /** + * + * *
      * Names of the fields in the table that should be read. If empty, all
      * fields will be read. If the specified field is a nested field, all
@@ -752,11 +857,14 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * repeated string selected_fields = 1; + * * @param index The index of the element to return. * @return The selectedFields at the given index. */ java.lang.String getSelectedFields(int index); /** + * + * *
      * Names of the fields in the table that should be read. If empty, all
      * fields will be read. If the specified field is a nested field, all
@@ -765,13 +873,15 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * repeated string selected_fields = 1; + * * @param index The index of the value to return. * @return The bytes of the selectedFields at the given index. */ - com.google.protobuf.ByteString - getSelectedFieldsBytes(int index); + com.google.protobuf.ByteString getSelectedFieldsBytes(int index); /** + * + * *
      * SQL text filtering statement, similar to a WHERE clause in a query.
      * Aggregates are not supported.
@@ -786,10 +896,13 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * string row_restriction = 2; + * * @return The rowRestriction. */ java.lang.String getRowRestriction(); /** + * + * *
      * SQL text filtering statement, similar to a WHERE clause in a query.
      * Aggregates are not supported.
@@ -804,85 +917,107 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * string row_restriction = 2; + * * @return The bytes for rowRestriction. */ - com.google.protobuf.ByteString - getRowRestrictionBytes(); + com.google.protobuf.ByteString getRowRestrictionBytes(); /** + * + * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the arrowSerializationOptions field is set. */ boolean hasArrowSerializationOptions(); /** + * + * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The arrowSerializationOptions. */ - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions getArrowSerializationOptions(); + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + getArrowSerializationOptions(); /** + * + * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder getArrowSerializationOptionsOrBuilder(); + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder + getArrowSerializationOptionsOrBuilder(); } /** + * + * *
    * Options dictating how we read a table.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions} */ - public static final class TableReadOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TableReadOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) TableReadOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableReadOptions.newBuilder() to construct. private TableReadOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TableReadOptions() { - selectedFields_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); rowRestriction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableReadOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.class, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.class, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder.class); } public static final int SELECTED_FIELDS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Names of the fields in the table that should be read. If empty, all
      * fields will be read. If the specified field is a nested field, all
@@ -891,13 +1026,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string selected_fields = 1; + * * @return A list containing the selectedFields. */ - public com.google.protobuf.ProtocolStringList - getSelectedFieldsList() { + public com.google.protobuf.ProtocolStringList getSelectedFieldsList() { return selectedFields_; } /** + * + * *
      * Names of the fields in the table that should be read. If empty, all
      * fields will be read. If the specified field is a nested field, all
@@ -906,12 +1043,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string selected_fields = 1; + * * @return The count of selectedFields. */ public int getSelectedFieldsCount() { return selectedFields_.size(); } /** + * + * *
      * Names of the fields in the table that should be read. If empty, all
      * fields will be read. If the specified field is a nested field, all
@@ -920,6 +1060,7 @@ public int getSelectedFieldsCount() {
      * 
* * repeated string selected_fields = 1; + * * @param index The index of the element to return. * @return The selectedFields at the given index. */ @@ -927,6 +1068,8 @@ public java.lang.String getSelectedFields(int index) { return selectedFields_.get(index); } /** + * + * *
      * Names of the fields in the table that should be read. If empty, all
      * fields will be read. If the specified field is a nested field, all
@@ -935,18 +1078,21 @@ public java.lang.String getSelectedFields(int index) {
      * 
* * repeated string selected_fields = 1; + * * @param index The index of the value to return. * @return The bytes of the selectedFields at the given index. */ - public com.google.protobuf.ByteString - getSelectedFieldsBytes(int index) { + public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) { return selectedFields_.getByteString(index); } public static final int ROW_RESTRICTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object rowRestriction_ = ""; /** + * + * *
      * SQL text filtering statement, similar to a WHERE clause in a query.
      * Aggregates are not supported.
@@ -961,6 +1107,7 @@ public java.lang.String getSelectedFields(int index) {
      * 
* * string row_restriction = 2; + * * @return The rowRestriction. */ @java.lang.Override @@ -969,14 +1116,15 @@ public java.lang.String getRowRestriction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rowRestriction_ = s; return s; } } /** + * + * *
      * SQL text filtering statement, similar to a WHERE clause in a query.
      * Aggregates are not supported.
@@ -991,16 +1139,15 @@ public java.lang.String getRowRestriction() {
      * 
* * string row_restriction = 2; + * * @return The bytes for rowRestriction. */ @java.lang.Override - public com.google.protobuf.ByteString - getRowRestrictionBytes() { + public com.google.protobuf.ByteString getRowRestrictionBytes() { java.lang.Object ref = rowRestriction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rowRestriction_ = b; return b; } else { @@ -1009,13 +1156,19 @@ public java.lang.String getRowRestriction() { } public static final int ARROW_SERIALIZATION_OPTIONS_FIELD_NUMBER = 3; - private com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrowSerializationOptions_; + private com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + arrowSerializationOptions_; /** + * + * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the arrowSerializationOptions field is set. */ @java.lang.Override @@ -1023,30 +1176,46 @@ public boolean hasArrowSerializationOptions() { return arrowSerializationOptions_ != null; } /** + * + * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The arrowSerializationOptions. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions getArrowSerializationOptions() { - return arrowSerializationOptions_ == null ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance() : arrowSerializationOptions_; + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + getArrowSerializationOptions() { + return arrowSerializationOptions_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance() + : arrowSerializationOptions_; } /** + * + * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder getArrowSerializationOptionsOrBuilder() { - return arrowSerializationOptions_ == null ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance() : arrowSerializationOptions_; + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder + getArrowSerializationOptionsOrBuilder() { + return arrowSerializationOptions_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance() + : arrowSerializationOptions_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1058,8 +1227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < selectedFields_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selectedFields_.getRaw(i)); } @@ -1090,8 +1258,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rowRestriction_); } if (arrowSerializationOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getArrowSerializationOptions()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getArrowSerializationOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1101,21 +1270,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions)) { + if (!(obj + instanceof com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions other = (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) obj; + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions other = + (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) obj; - if (!getSelectedFieldsList() - .equals(other.getSelectedFieldsList())) return false; - if (!getRowRestriction() - .equals(other.getRowRestriction())) return false; + if (!getSelectedFieldsList().equals(other.getSelectedFieldsList())) return false; + if (!getRowRestriction().equals(other.getRowRestriction())) return false; if (hasArrowSerializationOptions() != other.hasArrowSerializationOptions()) return false; if (hasArrowSerializationOptions()) { - if (!getArrowSerializationOptions() - .equals(other.getArrowSerializationOptions())) return false; + if (!getArrowSerializationOptions().equals(other.getArrowSerializationOptions())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1144,89 +1313,95 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1236,45 +1411,48 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Options dictating how we read a table.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.class, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.class, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder + .class); } - // Construct using com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - selectedFields_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); rowRestriction_ = ""; arrowSerializationOptions_ = null; if (arrowSerializationOptionsBuilder_ != null) { @@ -1285,19 +1463,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions + getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions build() { - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions result = buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1306,13 +1487,17 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions bu @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions result = new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions result = + new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { selectedFields_.makeImmutable(); @@ -1322,9 +1507,10 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadSession result.rowRestriction_ = rowRestriction_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.arrowSerializationOptions_ = arrowSerializationOptionsBuilder_ == null - ? arrowSerializationOptions_ - : arrowSerializationOptionsBuilder_.build(); + result.arrowSerializationOptions_ = + arrowSerializationOptionsBuilder_ == null + ? arrowSerializationOptions_ + : arrowSerializationOptionsBuilder_.build(); } } @@ -1332,46 +1518,54 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadSession public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions)other); + if (other + instanceof com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) { + return mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions other) { + if (other + == com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions + .getDefaultInstance()) return this; if (!other.selectedFields_.isEmpty()) { if (selectedFields_.isEmpty()) { selectedFields_ = other.selectedFields_; @@ -1416,30 +1610,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSelectedFieldsIsMutable(); - selectedFields_.add(s); - break; - } // case 10 - case 18: { - rowRestriction_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getArrowSerializationOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSelectedFieldsIsMutable(); + selectedFields_.add(s); + break; + } // case 10 + case 18: + { + rowRestriction_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getArrowSerializationOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1449,10 +1646,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSelectedFieldsIsMutable() { if (!selectedFields_.isModifiable()) { selectedFields_ = new com.google.protobuf.LazyStringArrayList(selectedFields_); @@ -1460,6 +1659,8 @@ private void ensureSelectedFieldsIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
        * Names of the fields in the table that should be read. If empty, all
        * fields will be read. If the specified field is a nested field, all
@@ -1468,14 +1669,16 @@ private void ensureSelectedFieldsIsMutable() {
        * 
* * repeated string selected_fields = 1; + * * @return A list containing the selectedFields. */ - public com.google.protobuf.ProtocolStringList - getSelectedFieldsList() { + public com.google.protobuf.ProtocolStringList getSelectedFieldsList() { selectedFields_.makeImmutable(); return selectedFields_; } /** + * + * *
        * Names of the fields in the table that should be read. If empty, all
        * fields will be read. If the specified field is a nested field, all
@@ -1484,12 +1687,15 @@ private void ensureSelectedFieldsIsMutable() {
        * 
* * repeated string selected_fields = 1; + * * @return The count of selectedFields. */ public int getSelectedFieldsCount() { return selectedFields_.size(); } /** + * + * *
        * Names of the fields in the table that should be read. If empty, all
        * fields will be read. If the specified field is a nested field, all
@@ -1498,6 +1704,7 @@ public int getSelectedFieldsCount() {
        * 
* * repeated string selected_fields = 1; + * * @param index The index of the element to return. * @return The selectedFields at the given index. */ @@ -1505,6 +1712,8 @@ public java.lang.String getSelectedFields(int index) { return selectedFields_.get(index); } /** + * + * *
        * Names of the fields in the table that should be read. If empty, all
        * fields will be read. If the specified field is a nested field, all
@@ -1513,14 +1722,16 @@ public java.lang.String getSelectedFields(int index) {
        * 
* * repeated string selected_fields = 1; + * * @param index The index of the value to return. * @return The bytes of the selectedFields at the given index. */ - public com.google.protobuf.ByteString - getSelectedFieldsBytes(int index) { + public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) { return selectedFields_.getByteString(index); } /** + * + * *
        * Names of the fields in the table that should be read. If empty, all
        * fields will be read. If the specified field is a nested field, all
@@ -1529,13 +1740,15 @@ public java.lang.String getSelectedFields(int index) {
        * 
* * repeated string selected_fields = 1; + * * @param index The index to set the value at. * @param value The selectedFields to set. * @return This builder for chaining. */ - public Builder setSelectedFields( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSelectedFields(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSelectedFieldsIsMutable(); selectedFields_.set(index, value); bitField0_ |= 0x00000001; @@ -1543,6 +1756,8 @@ public Builder setSelectedFields( return this; } /** + * + * *
        * Names of the fields in the table that should be read. If empty, all
        * fields will be read. If the specified field is a nested field, all
@@ -1551,12 +1766,14 @@ public Builder setSelectedFields(
        * 
* * repeated string selected_fields = 1; + * * @param value The selectedFields to add. * @return This builder for chaining. */ - public Builder addSelectedFields( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSelectedFields(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSelectedFieldsIsMutable(); selectedFields_.add(value); bitField0_ |= 0x00000001; @@ -1564,6 +1781,8 @@ public Builder addSelectedFields( return this; } /** + * + * *
        * Names of the fields in the table that should be read. If empty, all
        * fields will be read. If the specified field is a nested field, all
@@ -1572,19 +1791,20 @@ public Builder addSelectedFields(
        * 
* * repeated string selected_fields = 1; + * * @param values The selectedFields to add. * @return This builder for chaining. */ - public Builder addAllSelectedFields( - java.lang.Iterable values) { + public Builder addAllSelectedFields(java.lang.Iterable values) { ensureSelectedFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, selectedFields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, selectedFields_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Names of the fields in the table that should be read. If empty, all
        * fields will be read. If the specified field is a nested field, all
@@ -1593,16 +1813,19 @@ public Builder addAllSelectedFields(
        * 
* * repeated string selected_fields = 1; + * * @return This builder for chaining. */ public Builder clearSelectedFields() { - selectedFields_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * Names of the fields in the table that should be read. If empty, all
        * fields will be read. If the specified field is a nested field, all
@@ -1611,12 +1834,14 @@ public Builder clearSelectedFields() {
        * 
* * repeated string selected_fields = 1; + * * @param value The bytes of the selectedFields to add. * @return This builder for chaining. */ - public Builder addSelectedFieldsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSelectedFieldsIsMutable(); selectedFields_.add(value); @@ -1627,6 +1852,8 @@ public Builder addSelectedFieldsBytes( private java.lang.Object rowRestriction_ = ""; /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1641,13 +1868,13 @@ public Builder addSelectedFieldsBytes(
        * 
* * string row_restriction = 2; + * * @return The rowRestriction. */ public java.lang.String getRowRestriction() { java.lang.Object ref = rowRestriction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rowRestriction_ = s; return s; @@ -1656,6 +1883,8 @@ public java.lang.String getRowRestriction() { } } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1670,15 +1899,14 @@ public java.lang.String getRowRestriction() {
        * 
* * string row_restriction = 2; + * * @return The bytes for rowRestriction. */ - public com.google.protobuf.ByteString - getRowRestrictionBytes() { + public com.google.protobuf.ByteString getRowRestrictionBytes() { java.lang.Object ref = rowRestriction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rowRestriction_ = b; return b; } else { @@ -1686,6 +1914,8 @@ public java.lang.String getRowRestriction() { } } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1700,18 +1930,22 @@ public java.lang.String getRowRestriction() {
        * 
* * string row_restriction = 2; + * * @param value The rowRestriction to set. * @return This builder for chaining. */ - public Builder setRowRestriction( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRowRestriction(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } rowRestriction_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1726,6 +1960,7 @@ public Builder setRowRestriction(
        * 
* * string row_restriction = 2; + * * @return This builder for chaining. */ public Builder clearRowRestriction() { @@ -1735,6 +1970,8 @@ public Builder clearRowRestriction() { return this; } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1749,12 +1986,14 @@ public Builder clearRowRestriction() {
        * 
* * string row_restriction = 2; + * * @param value The bytes for rowRestriction to set. * @return This builder for chaining. */ - public Builder setRowRestrictionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRowRestrictionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); rowRestriction_ = value; bitField0_ |= 0x00000002; @@ -1762,43 +2001,66 @@ public Builder setRowRestrictionBytes( return this; } - private com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrowSerializationOptions_; + private com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + arrowSerializationOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder> arrowSerializationOptionsBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions, + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder, + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder> + arrowSerializationOptionsBuilder_; /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the arrowSerializationOptions field is set. */ public boolean hasArrowSerializationOptions() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The arrowSerializationOptions. */ - public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions getArrowSerializationOptions() { + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + getArrowSerializationOptions() { if (arrowSerializationOptionsBuilder_ == null) { - return arrowSerializationOptions_ == null ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance() : arrowSerializationOptions_; + return arrowSerializationOptions_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + .getDefaultInstance() + : arrowSerializationOptions_; } else { return arrowSerializationOptionsBuilder_.getMessage(); } } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setArrowSerializationOptions(com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions value) { + public Builder setArrowSerializationOptions( + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions value) { if (arrowSerializationOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1812,14 +2074,19 @@ public Builder setArrowSerializationOptions(com.google.cloud.bigquery.storage.v1 return this; } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setArrowSerializationOptions( - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder + builderForValue) { if (arrowSerializationOptionsBuilder_ == null) { arrowSerializationOptions_ = builderForValue.build(); } else { @@ -1830,17 +2097,24 @@ public Builder setArrowSerializationOptions( return this; } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeArrowSerializationOptions(com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions value) { + public Builder mergeArrowSerializationOptions( + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions value) { if (arrowSerializationOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - arrowSerializationOptions_ != null && - arrowSerializationOptions_ != com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && arrowSerializationOptions_ != null + && arrowSerializationOptions_ + != com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + .getDefaultInstance()) { getArrowSerializationOptionsBuilder().mergeFrom(value); } else { arrowSerializationOptions_ = value; @@ -1853,11 +2127,15 @@ public Builder mergeArrowSerializationOptions(com.google.cloud.bigquery.storage. return this; } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearArrowSerializationOptions() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1870,52 +2148,72 @@ public Builder clearArrowSerializationOptions() { return this; } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder getArrowSerializationOptionsBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder + getArrowSerializationOptionsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getArrowSerializationOptionsFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder getArrowSerializationOptionsOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder + getArrowSerializationOptionsOrBuilder() { if (arrowSerializationOptionsBuilder_ != null) { return arrowSerializationOptionsBuilder_.getMessageOrBuilder(); } else { - return arrowSerializationOptions_ == null ? - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance() : arrowSerializationOptions_; + return arrowSerializationOptions_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + .getDefaultInstance() + : arrowSerializationOptions_; } } /** + * + * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions, + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder, + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder> getArrowSerializationOptionsFieldBuilder() { if (arrowSerializationOptionsBuilder_ == null) { - arrowSerializationOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder>( - getArrowSerializationOptions(), - getParentForChildren(), - isClean()); + arrowSerializationOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions, + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder, + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder>( + getArrowSerializationOptions(), getParentForChildren(), isClean()); arrowSerializationOptions_ = null; } return arrowSerializationOptionsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1928,41 +2226,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) - private static final com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions(); + DEFAULT_INSTANCE = + new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions(); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableReadOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableReadOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1974,22 +2276,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int schemaCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object schema_; + public enum SchemaCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO_SCHEMA(4), ARROW_SCHEMA(5), SCHEMA_NOT_SET(0); private final int value; + private SchemaCase(int value) { this.value = value; } @@ -2005,33 +2311,40 @@ public static SchemaCase valueOf(int value) { public static SchemaCase forNumber(int value) { switch (value) { - case 4: return AVRO_SCHEMA; - case 5: return ARROW_SCHEMA; - case 0: return SCHEMA_NOT_SET; - default: return null; + case 4: + return AVRO_SCHEMA; + case 5: + return ARROW_SCHEMA; + case 0: + return SCHEMA_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SchemaCase - getSchemaCase() { - return SchemaCase.forNumber( - schemaCase_); + public SchemaCase getSchemaCase() { + return SchemaCase.forNumber(schemaCase_); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Unique identifier for the session, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -2040,30 +2353,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Unique identifier for the session, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2074,13 +2387,17 @@ public java.lang.String getName() { public static final int EXPIRE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp expireTime_; /** + * + * *
    * Output only. Time at which the session becomes invalid. After this time, subsequent
    * requests to read this Session will return errors. The expire_time is
    * automatically assigned and currently cannot be specified or updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -2088,13 +2405,17 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * Output only. Time at which the session becomes invalid. After this time, subsequent
    * requests to read this Session will return errors. The expire_time is
    * automatically assigned and currently cannot be specified or updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ @java.lang.Override @@ -2102,13 +2423,16 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * Output only. Time at which the session becomes invalid. After this time, subsequent
    * requests to read this Session will return errors. The expire_time is
    * automatically assigned and currently cannot be specified or updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -2118,36 +2442,56 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int DATA_FORMAT_FIELD_NUMBER = 3; private int dataFormat_ = 0; /** + * + * *
    * Immutable. Data format of the output data.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for dataFormat. */ - @java.lang.Override public int getDataFormatValue() { + @java.lang.Override + public int getDataFormatValue() { return dataFormat_; } /** + * + * *
    * Immutable. Data format of the output data.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The dataFormat. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.DataFormat getDataFormat() { - com.google.cloud.bigquery.storage.v1beta2.DataFormat result = com.google.cloud.bigquery.storage.v1beta2.DataFormat.forNumber(dataFormat_); - return result == null ? com.google.cloud.bigquery.storage.v1beta2.DataFormat.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta2.DataFormat getDataFormat() { + com.google.cloud.bigquery.storage.v1beta2.DataFormat result = + com.google.cloud.bigquery.storage.v1beta2.DataFormat.forNumber(dataFormat_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta2.DataFormat.UNRECOGNIZED + : result; } public static final int AVRO_SCHEMA_FIELD_NUMBER = 4; /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -2155,42 +2499,56 @@ public boolean hasAvroSchema() { return schemaCase_ == 4; } /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AvroSchema getAvroSchema() { if (schemaCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta2.AvroSchema.getDefaultInstance(); } /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder getAvroSchemaOrBuilder() { if (schemaCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta2.AvroSchema.getDefaultInstance(); } public static final int ARROW_SCHEMA_FIELD_NUMBER = 5; /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -2198,45 +2556,60 @@ public boolean hasArrowSchema() { return schemaCase_ == 5; } /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema getArrowSchema() { if (schemaCase_ == 5) { - return (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.getDefaultInstance(); } /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { if (schemaCase_ == 5) { - return (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.getDefaultInstance(); } public static final int TABLE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** + * + * *
    * Immutable. Table that this ReadSession is reading from, in the form
    * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}
    * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The table. */ @java.lang.Override @@ -2245,30 +2618,32 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** + * + * *
    * Immutable. Table that this ReadSession is reading from, in the form
    * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}
    * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -2279,11 +2654,16 @@ public java.lang.String getTable() { public static final int TABLE_MODIFIERS_FIELD_NUMBER = 7; private com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers tableModifiers_; /** + * + * *
    * Optional. Any modifiers which are applied when reading from the specified table.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the tableModifiers field is set. */ @java.lang.Override @@ -2291,37 +2671,56 @@ public boolean hasTableModifiers() { return tableModifiers_ != null; } /** + * + * *
    * Optional. Any modifiers which are applied when reading from the specified table.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The tableModifiers. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers getTableModifiers() { - return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance() + : tableModifiers_; } /** + * + * *
    * Optional. Any modifiers which are applied when reading from the specified table.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder getTableModifiersOrBuilder() { - return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder + getTableModifiersOrBuilder() { + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance() + : tableModifiers_; } public static final int READ_OPTIONS_FIELD_NUMBER = 8; private com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions readOptions_; /** + * + * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readOptions field is set. */ @java.lang.Override @@ -2329,33 +2728,52 @@ public boolean hasReadOptions() { return readOptions_ != null; } /** + * + * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readOptions. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions getReadOptions() { - return readOptions_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions + .getDefaultInstance() + : readOptions_; } /** + * + * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { - return readOptions_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder + getReadOptionsOrBuilder() { + return readOptions_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions + .getDefaultInstance() + : readOptions_; } public static final int STREAMS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private java.util.List streams_; /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -2365,13 +2783,17 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrB
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getStreamsList() { return streams_; } /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -2381,14 +2803,18 @@ public java.util.List getS
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getStreamsOrBuilderList() { return streams_; } /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -2398,13 +2824,17 @@ public java.util.List getS
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getStreamsCount() { return streams_.size(); } /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -2414,13 +2844,17 @@ public int getStreamsCount() {
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadStream getStreams(int index) { return streams_.get(index); } /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -2430,7 +2864,9 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream getStreams(int index
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getStreamsOrBuilder( @@ -2439,6 +2875,7 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getStreamsO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2450,15 +2887,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (expireTime_ != null) { output.writeMessage(2, getExpireTime()); } - if (dataFormat_ != com.google.cloud.bigquery.storage.v1beta2.DataFormat.DATA_FORMAT_UNSPECIFIED.getNumber()) { + if (dataFormat_ + != com.google.cloud.bigquery.storage.v1beta2.DataFormat.DATA_FORMAT_UNSPECIFIED + .getNumber()) { output.writeEnum(3, dataFormat_); } if (schemaCase_ == 4) { @@ -2492,35 +2930,34 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpireTime()); } - if (dataFormat_ != com.google.cloud.bigquery.storage.v1beta2.DataFormat.DATA_FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, dataFormat_); + if (dataFormat_ + != com.google.cloud.bigquery.storage.v1beta2.DataFormat.DATA_FORMAT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, dataFormat_); } if (schemaCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_); } if (schemaCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, table_); } if (tableModifiers_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getTableModifiers()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTableModifiers()); } if (readOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getReadOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getReadOptions()); } for (int i = 0; i < streams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, streams_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, streams_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2530,44 +2967,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ReadSession)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ReadSession other = (com.google.cloud.bigquery.storage.v1beta2.ReadSession) obj; + com.google.cloud.bigquery.storage.v1beta2.ReadSession other = + (com.google.cloud.bigquery.storage.v1beta2.ReadSession) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime() - .equals(other.getExpireTime())) return false; + if (!getExpireTime().equals(other.getExpireTime())) return false; } if (dataFormat_ != other.dataFormat_) return false; - if (!getTable() - .equals(other.getTable())) return false; + if (!getTable().equals(other.getTable())) return false; if (hasTableModifiers() != other.hasTableModifiers()) return false; if (hasTableModifiers()) { - if (!getTableModifiers() - .equals(other.getTableModifiers())) return false; + if (!getTableModifiers().equals(other.getTableModifiers())) return false; } if (hasReadOptions() != other.hasReadOptions()) return false; if (hasReadOptions()) { - if (!getReadOptions() - .equals(other.getReadOptions())) return false; + if (!getReadOptions().equals(other.getReadOptions())) return false; } - if (!getStreamsList() - .equals(other.getStreamsList())) return false; + if (!getStreamsList().equals(other.getStreamsList())) return false; if (!getSchemaCase().equals(other.getSchemaCase())) return false; switch (schemaCase_) { case 4: - if (!getAvroSchema() - .equals(other.getAvroSchema())) return false; + if (!getAvroSchema().equals(other.getAvroSchema())) return false; break; case 5: - if (!getArrowSchema() - .equals(other.getArrowSchema())) return false; + if (!getArrowSchema().equals(other.getArrowSchema())) return false; break; case 0: default: @@ -2623,131 +3053,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.ReadSession parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadSession parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadSession parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.ReadSession parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ReadSession prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.ReadSession prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about the ReadSession.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadSession} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ReadSession) com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.class, com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.class, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.ReadSession.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2789,9 +3224,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor; } @java.lang.Override @@ -2810,15 +3245,19 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSession buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.ReadSession result = new com.google.cloud.bigquery.storage.v1beta2.ReadSession(this); + com.google.cloud.bigquery.storage.v1beta2.ReadSession result = + new com.google.cloud.bigquery.storage.v1beta2.ReadSession(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta2.ReadSession result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.storage.v1beta2.ReadSession result) { if (streamsBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -2836,9 +3275,7 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadSession result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null - ? expireTime_ - : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.dataFormat_ = dataFormat_; @@ -2847,26 +3284,22 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadSession result.table_ = table_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.tableModifiers_ = tableModifiersBuilder_ == null - ? tableModifiers_ - : tableModifiersBuilder_.build(); + result.tableModifiers_ = + tableModifiersBuilder_ == null ? tableModifiers_ : tableModifiersBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.readOptions_ = readOptionsBuilder_ == null - ? readOptions_ - : readOptionsBuilder_.build(); + result.readOptions_ = + readOptionsBuilder_ == null ? readOptions_ : readOptionsBuilder_.build(); } } private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta2.ReadSession result) { result.schemaCase_ = schemaCase_; result.schema_ = this.schema_; - if (schemaCase_ == 4 && - avroSchemaBuilder_ != null) { + if (schemaCase_ == 4 && avroSchemaBuilder_ != null) { result.schema_ = avroSchemaBuilder_.build(); } - if (schemaCase_ == 5 && - arrowSchemaBuilder_ != null) { + if (schemaCase_ == 5 && arrowSchemaBuilder_ != null) { result.schema_ = arrowSchemaBuilder_.build(); } } @@ -2875,38 +3308,39 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta2.ReadSe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ReadSession) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadSession)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadSession) other); } else { super.mergeFrom(other); return this; @@ -2914,7 +3348,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ReadSession other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -2955,26 +3390,30 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ReadSession o streamsBuilder_ = null; streams_ = other.streams_; bitField0_ = (bitField0_ & ~0x00000100); - streamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStreamsFieldBuilder() : null; + streamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStreamsFieldBuilder() + : null; } else { streamsBuilder_.addAllMessages(other.streams_); } } } switch (other.getSchemaCase()) { - case AVRO_SCHEMA: { - mergeAvroSchema(other.getAvroSchema()); - break; - } - case ARROW_SCHEMA: { - mergeArrowSchema(other.getArrowSchema()); - break; - } - case SCHEMA_NOT_SET: { - break; - } + case AVRO_SCHEMA: + { + mergeAvroSchema(other.getAvroSchema()); + break; + } + case ARROW_SCHEMA: + { + mergeArrowSchema(other.getArrowSchema()); + break; + } + case SCHEMA_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2993,84 +3432,84 @@ public Builder mergeFrom( throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - dataFormat_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - input.readMessage( - getAvroSchemaFieldBuilder().getBuilder(), - extensionRegistry); - schemaCase_ = 4; - break; - } // case 34 - case 42: { - input.readMessage( - getArrowSchemaFieldBuilder().getBuilder(), - extensionRegistry); - schemaCase_ = 5; - break; - } // case 42 - case 50: { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - input.readMessage( - getTableModifiersFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - input.readMessage( - getReadOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 82: { - com.google.cloud.bigquery.storage.v1beta2.ReadStream m = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), - extensionRegistry); - if (streamsBuilder_ == null) { - ensureStreamsIsMutable(); - streams_.add(m); - } else { - streamsBuilder_.addMessage(m); - } - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + dataFormat_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + input.readMessage(getAvroSchemaFieldBuilder().getBuilder(), extensionRegistry); + schemaCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage(getArrowSchemaFieldBuilder().getBuilder(), extensionRegistry); + schemaCase_ = 5; + break; + } // case 42 + case 50: + { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + input.readMessage(getTableModifiersFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + input.readMessage(getReadOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 82: + { + com.google.cloud.bigquery.storage.v1beta2.ReadStream m = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), + extensionRegistry); + if (streamsBuilder_ == null) { + ensureStreamsIsMutable(); + streams_.add(m); + } else { + streamsBuilder_.addMessage(m); + } + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3080,12 +3519,12 @@ public Builder mergeFrom( } // finally return this; } + private int schemaCase_ = 0; private java.lang.Object schema_; - public SchemaCase - getSchemaCase() { - return SchemaCase.forNumber( - schemaCase_); + + public SchemaCase getSchemaCase() { + return SchemaCase.forNumber(schemaCase_); } public Builder clearSchema() { @@ -3099,19 +3538,21 @@ public Builder clearSchema() { private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3120,21 +3561,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -3142,30 +3584,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -3175,18 +3624,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3196,45 +3649,64 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expireTimeBuilder_; /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors. The expire_time is
      * automatically assigned and currently cannot be specified or updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors. The expire_time is
      * automatically assigned and currently cannot be specified or updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors. The expire_time is
      * automatically assigned and currently cannot be specified or updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -3250,16 +3722,19 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors. The expire_time is
      * automatically assigned and currently cannot be specified or updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpireTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -3270,19 +3745,23 @@ public Builder setExpireTime( return this; } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors. The expire_time is
      * automatically assigned and currently cannot be specified or updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - expireTime_ != null && - expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && expireTime_ != null + && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -3295,13 +3774,17 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors. The expire_time is
      * automatically assigned and currently cannot be specified or updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -3314,13 +3797,17 @@ public Builder clearExpireTime() { return this; } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors. The expire_time is
      * automatically assigned and currently cannot be specified or updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000002; @@ -3328,40 +3815,52 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors. The expire_time is
      * automatically assigned and currently cannot be specified or updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; } } /** + * + * *
      * Output only. Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors. The expire_time is
      * automatically assigned and currently cannot be specified or updated.
      * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), - getParentForChildren(), - isClean()); + expireTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), getParentForChildren(), isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -3369,22 +3868,33 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private int dataFormat_ = 0; /** + * + * *
      * Immutable. Data format of the output data.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for dataFormat. */ - @java.lang.Override public int getDataFormatValue() { + @java.lang.Override + public int getDataFormatValue() { return dataFormat_; } /** + * + * *
      * Immutable. Data format of the output data.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for dataFormat to set. * @return This builder for chaining. */ @@ -3395,24 +3905,37 @@ public Builder setDataFormatValue(int value) { return this; } /** + * + * *
      * Immutable. Data format of the output data.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The dataFormat. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.DataFormat getDataFormat() { - com.google.cloud.bigquery.storage.v1beta2.DataFormat result = com.google.cloud.bigquery.storage.v1beta2.DataFormat.forNumber(dataFormat_); - return result == null ? com.google.cloud.bigquery.storage.v1beta2.DataFormat.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1beta2.DataFormat result = + com.google.cloud.bigquery.storage.v1beta2.DataFormat.forNumber(dataFormat_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta2.DataFormat.UNRECOGNIZED + : result; } /** + * + * *
      * Immutable. Data format of the output data.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The dataFormat to set. * @return This builder for chaining. */ @@ -3426,11 +3949,16 @@ public Builder setDataFormat(com.google.cloud.bigquery.storage.v1beta2.DataForma return this; } /** + * + * *
      * Immutable. Data format of the output data.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearDataFormat() { @@ -3441,13 +3969,21 @@ public Builder clearDataFormat() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.AvroSchema, com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder> avroSchemaBuilder_; + com.google.cloud.bigquery.storage.v1beta2.AvroSchema, + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder> + avroSchemaBuilder_; /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -3455,11 +3991,16 @@ public boolean hasAvroSchema() { return schemaCase_ == 4; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ @java.lang.Override @@ -3477,11 +4018,15 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroSchema getAvroSchema() { } } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAvroSchema(com.google.cloud.bigquery.storage.v1beta2.AvroSchema value) { if (avroSchemaBuilder_ == null) { @@ -3497,11 +4042,15 @@ public Builder setAvroSchema(com.google.cloud.bigquery.storage.v1beta2.AvroSchem return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAvroSchema( com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder builderForValue) { @@ -3515,18 +4064,26 @@ public Builder setAvroSchema( return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeAvroSchema(com.google.cloud.bigquery.storage.v1beta2.AvroSchema value) { if (avroSchemaBuilder_ == null) { - if (schemaCase_ == 4 && - schema_ != com.google.cloud.bigquery.storage.v1beta2.AvroSchema.getDefaultInstance()) { - schema_ = com.google.cloud.bigquery.storage.v1beta2.AvroSchema.newBuilder((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 4 + && schema_ + != com.google.cloud.bigquery.storage.v1beta2.AvroSchema.getDefaultInstance()) { + schema_ = + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.newBuilder( + (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -3542,11 +4099,15 @@ public Builder mergeAvroSchema(com.google.cloud.bigquery.storage.v1beta2.AvroSch return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAvroSchema() { if (avroSchemaBuilder_ == null) { @@ -3565,21 +4126,29 @@ public Builder clearAvroSchema() { return this; } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder getAvroSchemaBuilder() { return getAvroSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder getAvroSchemaOrBuilder() { @@ -3593,21 +4162,30 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder getAvroSche } } /** + * + * *
      * Output only. Avro schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.AvroSchema, com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.AvroSchema, + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder> getAvroSchemaFieldBuilder() { if (avroSchemaBuilder_ == null) { if (!(schemaCase_ == 4)) { schema_ = com.google.cloud.bigquery.storage.v1beta2.AvroSchema.getDefaultInstance(); } - avroSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.AvroSchema, com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder>( + avroSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.AvroSchema, + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder>( (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_, getParentForChildren(), isClean()); @@ -3619,13 +4197,21 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder getAvroSche } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder> arrowSchemaBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder> + arrowSchemaBuilder_; /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -3633,11 +4219,16 @@ public boolean hasArrowSchema() { return schemaCase_ == 5; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ @java.lang.Override @@ -3655,11 +4246,15 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema getArrowSchema() { } } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1beta2.ArrowSchema value) { if (arrowSchemaBuilder_ == null) { @@ -3675,11 +4270,15 @@ public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1beta2.ArrowSch return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setArrowSchema( com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder builderForValue) { @@ -3693,18 +4292,26 @@ public Builder setArrowSchema( return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeArrowSchema(com.google.cloud.bigquery.storage.v1beta2.ArrowSchema value) { if (arrowSchemaBuilder_ == null) { - if (schemaCase_ == 5 && - schema_ != com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.getDefaultInstance()) { - schema_ = com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.newBuilder((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_) - .mergeFrom(value).buildPartial(); + if (schemaCase_ == 5 + && schema_ + != com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.getDefaultInstance()) { + schema_ = + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.newBuilder( + (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_) + .mergeFrom(value) + .buildPartial(); } else { schema_ = value; } @@ -3720,11 +4327,15 @@ public Builder mergeArrowSchema(com.google.cloud.bigquery.storage.v1beta2.ArrowS return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearArrowSchema() { if (arrowSchemaBuilder_ == null) { @@ -3743,24 +4354,33 @@ public Builder clearArrowSchema() { return this; } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder getArrowSchemaBuilder() { return getArrowSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder + getArrowSchemaOrBuilder() { if ((schemaCase_ == 5) && (arrowSchemaBuilder_ != null)) { return arrowSchemaBuilder_.getMessageOrBuilder(); } else { @@ -3771,21 +4391,30 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder getArrowSc } } /** + * + * *
      * Output only. Arrow schema.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder> getArrowSchemaFieldBuilder() { if (arrowSchemaBuilder_ == null) { if (!(schemaCase_ == 5)) { schema_ = com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.getDefaultInstance(); } - arrowSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder>( + arrowSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder>( (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_, getParentForChildren(), isClean()); @@ -3798,19 +4427,23 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder getArrowSc private java.lang.Object table_ = ""; /** + * + * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}
      * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -3819,21 +4452,24 @@ public java.lang.String getTable() { } } /** + * + * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}
      * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for table. */ - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -3841,30 +4477,41 @@ public java.lang.String getTable() { } } /** + * + * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}
      * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } table_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}
      * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTable() { @@ -3874,18 +4521,24 @@ public Builder clearTable() { return this; } /** + * + * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}
      * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000020; @@ -3895,41 +4548,63 @@ public Builder setTableBytes( private com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers tableModifiers_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder> tableModifiersBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder> + tableModifiersBuilder_; /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified table.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the tableModifiers field is set. */ public boolean hasTableModifiers() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified table.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The tableModifiers. */ - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers getTableModifiers() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers + getTableModifiers() { if (tableModifiersBuilder_ == null) { - return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers + .getDefaultInstance() + : tableModifiers_; } else { return tableModifiersBuilder_.getMessage(); } } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified table.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers value) { + public Builder setTableModifiers( + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers value) { if (tableModifiersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3943,14 +4618,19 @@ public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1beta2.ReadS return this; } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified table.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setTableModifiers( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder + builderForValue) { if (tableModifiersBuilder_ == null) { tableModifiers_ = builderForValue.build(); } else { @@ -3961,17 +4641,24 @@ public Builder setTableModifiers( return this; } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified table.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeTableModifiers(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers value) { + public Builder mergeTableModifiers( + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers value) { if (tableModifiersBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - tableModifiers_ != null && - tableModifiers_ != com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && tableModifiers_ != null + && tableModifiers_ + != com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers + .getDefaultInstance()) { getTableModifiersBuilder().mergeFrom(value); } else { tableModifiers_ = value; @@ -3984,11 +4671,15 @@ public Builder mergeTableModifiers(com.google.cloud.bigquery.storage.v1beta2.Rea return this; } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified table.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearTableModifiers() { bitField0_ = (bitField0_ & ~0x00000040); @@ -4001,48 +4692,67 @@ public Builder clearTableModifiers() { return this; } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified table.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder getTableModifiersBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder + getTableModifiersBuilder() { bitField0_ |= 0x00000040; onChanged(); return getTableModifiersFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified table.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder getTableModifiersOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder + getTableModifiersOrBuilder() { if (tableModifiersBuilder_ != null) { return tableModifiersBuilder_.getMessageOrBuilder(); } else { - return tableModifiers_ == null ? - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; + return tableModifiers_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers + .getDefaultInstance() + : tableModifiers_; } } /** + * + * *
      * Optional. Any modifiers which are applied when reading from the specified table.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder> getTableModifiersFieldBuilder() { if (tableModifiersBuilder_ == null) { - tableModifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder>( - getTableModifiers(), - getParentForChildren(), - isClean()); + tableModifiersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder>( + getTableModifiers(), getParentForChildren(), isClean()); tableModifiers_ = null; } return tableModifiersBuilder_; @@ -4050,41 +4760,62 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBui private com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions readOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder> readOptionsBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder> + readOptionsBuilder_; /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readOptions field is set. */ public boolean hasReadOptions() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readOptions. */ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions getReadOptions() { if (readOptionsBuilder_ == null) { - return readOptions_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions + .getDefaultInstance() + : readOptions_; } else { return readOptionsBuilder_.getMessage(); } } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadOptions(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions value) { + public Builder setReadOptions( + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions value) { if (readOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4098,14 +4829,19 @@ public Builder setReadOptions(com.google.cloud.bigquery.storage.v1beta2.ReadSess return this; } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadOptions( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder builderForValue) { + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder + builderForValue) { if (readOptionsBuilder_ == null) { readOptions_ = builderForValue.build(); } else { @@ -4116,17 +4852,24 @@ public Builder setReadOptions( return this; } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeReadOptions(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions value) { + public Builder mergeReadOptions( + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions value) { if (readOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - readOptions_ != null && - readOptions_ != com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && readOptions_ != null + && readOptions_ + != com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions + .getDefaultInstance()) { getReadOptionsBuilder().mergeFrom(value); } else { readOptions_ = value; @@ -4139,11 +4882,15 @@ public Builder mergeReadOptions(com.google.cloud.bigquery.storage.v1beta2.ReadSe return this; } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadOptions() { bitField0_ = (bitField0_ & ~0x00000080); @@ -4156,66 +4903,92 @@ public Builder clearReadOptions() { return this; } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder getReadOptionsBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder + getReadOptionsBuilder() { bitField0_ |= 0x00000080; onChanged(); return getReadOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder + getReadOptionsOrBuilder() { if (readOptionsBuilder_ != null) { return readOptionsBuilder_.getMessageOrBuilder(); } else { - return readOptions_ == null ? - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions + .getDefaultInstance() + : readOptions_; } } /** + * + * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder> getReadOptionsFieldBuilder() { if (readOptionsBuilder_ == null) { - readOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder>( - getReadOptions(), - getParentForChildren(), - isClean()); + readOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder, + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder>( + getReadOptions(), getParentForChildren(), isClean()); readOptions_ = null; } return readOptionsBuilder_; } private java.util.List streams_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureStreamsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { - streams_ = new java.util.ArrayList(streams_); + streams_ = + new java.util.ArrayList(streams_); bitField0_ |= 0x00000100; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadStream, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder> streamsBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ReadStream, + com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, + com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder> + streamsBuilder_; /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4225,7 +4998,9 @@ private void ensureStreamsIsMutable() {
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getStreamsList() { if (streamsBuilder_ == null) { @@ -4235,6 +5010,8 @@ public java.util.List getS } } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4244,7 +5021,9 @@ public java.util.List getS
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getStreamsCount() { if (streamsBuilder_ == null) { @@ -4254,6 +5033,8 @@ public int getStreamsCount() { } } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4263,7 +5044,9 @@ public int getStreamsCount() {
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1beta2.ReadStream getStreams(int index) { if (streamsBuilder_ == null) { @@ -4273,6 +5056,8 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream getStreams(int index } } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4282,7 +5067,9 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream getStreams(int index
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStreams( int index, com.google.cloud.bigquery.storage.v1beta2.ReadStream value) { @@ -4299,6 +5086,8 @@ public Builder setStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4308,7 +5097,9 @@ public Builder setStreams(
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStreams( int index, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder builderForValue) { @@ -4322,6 +5113,8 @@ public Builder setStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4331,7 +5124,9 @@ public Builder setStreams(
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addStreams(com.google.cloud.bigquery.storage.v1beta2.ReadStream value) { if (streamsBuilder_ == null) { @@ -4347,6 +5142,8 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1beta2.ReadStream v return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4356,7 +5153,9 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1beta2.ReadStream v
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addStreams( int index, com.google.cloud.bigquery.storage.v1beta2.ReadStream value) { @@ -4373,6 +5172,8 @@ public Builder addStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4382,7 +5183,9 @@ public Builder addStreams(
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addStreams( com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder builderForValue) { @@ -4396,6 +5199,8 @@ public Builder addStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4405,7 +5210,9 @@ public Builder addStreams(
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addStreams( int index, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder builderForValue) { @@ -4419,6 +5226,8 @@ public Builder addStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4428,14 +5237,15 @@ public Builder addStreams(
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllStreams( java.lang.Iterable values) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, streams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, streams_); onChanged(); } else { streamsBuilder_.addAllMessages(values); @@ -4443,6 +5253,8 @@ public Builder addAllStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4452,7 +5264,9 @@ public Builder addAllStreams(
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStreams() { if (streamsBuilder_ == null) { @@ -4465,6 +5279,8 @@ public Builder clearStreams() { return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4474,7 +5290,9 @@ public Builder clearStreams() {
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeStreams(int index) { if (streamsBuilder_ == null) { @@ -4487,6 +5305,8 @@ public Builder removeStreams(int index) { return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4496,13 +5316,17 @@ public Builder removeStreams(int index) {
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder getStreamsBuilder( int index) { return getStreamsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4512,16 +5336,21 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder getStreamsBu
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getStreamsOrBuilder( int index) { if (streamsBuilder_ == null) { - return streams_.get(index); } else { + return streams_.get(index); + } else { return streamsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4531,10 +5360,12 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getStreamsO
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getStreamsOrBuilderList() { + public java.util.List + getStreamsOrBuilderList() { if (streamsBuilder_ != null) { return streamsBuilder_.getMessageOrBuilderList(); } else { @@ -4542,6 +5373,8 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getStreamsO } } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4551,13 +5384,17 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getStreamsO
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder addStreamsBuilder() { - return getStreamsFieldBuilder().addBuilder( - com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()); + return getStreamsFieldBuilder() + .addBuilder(com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()); } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4567,14 +5404,19 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder addStreamsBu
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder addStreamsBuilder( int index) { - return getStreamsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()); + return getStreamsFieldBuilder() + .addBuilder( + index, com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()); } /** + * + * *
      * Output only. A list of streams created with the session.
      *
@@ -4584,29 +5426,34 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder addStreamsBu
      * instead, which is not yet available.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getStreamsBuilderList() { + public java.util.List + getStreamsBuilderList() { return getStreamsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadStream, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.ReadStream, + com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, + com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder> getStreamsFieldBuilder() { if (streamsBuilder_ == null) { - streamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadStream, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder>( - streams_, - ((bitField0_ & 0x00000100) != 0), - getParentForChildren(), - isClean()); + streamsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ReadStream, + com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, + com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder>( + streams_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); streams_ = null; } return streamsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4616,12 +5463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ReadSession) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ReadSession) private static final com.google.cloud.bigquery.storage.v1beta2.ReadSession DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ReadSession(); } @@ -4630,27 +5477,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ReadSession getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadSession parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadSession parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4665,6 +5512,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ReadSession getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java index 081b2b66c5..ad01e9787b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java @@ -1,217 +1,328 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/stream.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface ReadSessionOrBuilder extends +public interface ReadSessionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ReadSession) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Unique identifier for the session, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Unique identifier for the session, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Time at which the session becomes invalid. After this time, subsequent
    * requests to read this Session will return errors. The expire_time is
    * automatically assigned and currently cannot be specified or updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
    * Output only. Time at which the session becomes invalid. After this time, subsequent
    * requests to read this Session will return errors. The expire_time is
    * automatically assigned and currently cannot be specified or updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
    * Output only. Time at which the session becomes invalid. After this time, subsequent
    * requests to read this Session will return errors. The expire_time is
    * automatically assigned and currently cannot be specified or updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** + * + * *
    * Immutable. Data format of the output data.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for dataFormat. */ int getDataFormatValue(); /** + * + * *
    * Immutable. Data format of the output data.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The dataFormat. */ com.google.cloud.bigquery.storage.v1beta2.DataFormat getDataFormat(); /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the avroSchema field is set. */ boolean hasAvroSchema(); /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The avroSchema. */ com.google.cloud.bigquery.storage.v1beta2.AvroSchema getAvroSchema(); /** + * + * *
    * Output only. Avro schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder getAvroSchemaOrBuilder(); /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the arrowSchema field is set. */ boolean hasArrowSchema(); /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The arrowSchema. */ com.google.cloud.bigquery.storage.v1beta2.ArrowSchema getArrowSchema(); /** + * + * *
    * Output only. Arrow schema.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder getArrowSchemaOrBuilder(); /** + * + * *
    * Immutable. Table that this ReadSession is reading from, in the form
    * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}
    * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The table. */ java.lang.String getTable(); /** + * + * *
    * Immutable. Table that this ReadSession is reading from, in the form
    * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}
    * 
* - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for table. */ - com.google.protobuf.ByteString - getTableBytes(); + com.google.protobuf.ByteString getTableBytes(); /** + * + * *
    * Optional. Any modifiers which are applied when reading from the specified table.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the tableModifiers field is set. */ boolean hasTableModifiers(); /** + * + * *
    * Optional. Any modifiers which are applied when reading from the specified table.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The tableModifiers. */ com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers getTableModifiers(); /** + * + * *
    * Optional. Any modifiers which are applied when reading from the specified table.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder getTableModifiersOrBuilder(); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder + getTableModifiersOrBuilder(); /** + * + * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readOptions field is set. */ boolean hasReadOptions(); /** + * + * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readOptions. */ com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions getReadOptions(); /** + * + * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder getReadOptionsOrBuilder(); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder + getReadOptionsOrBuilder(); /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -221,11 +332,14 @@ public interface ReadSessionOrBuilder extends
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getStreamsList(); + java.util.List getStreamsList(); /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -235,10 +349,14 @@ public interface ReadSessionOrBuilder extends
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.storage.v1beta2.ReadStream getStreams(int index); /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -248,10 +366,14 @@ public interface ReadSessionOrBuilder extends
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getStreamsCount(); /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -261,11 +383,15 @@ public interface ReadSessionOrBuilder extends
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getStreamsOrBuilderList(); /** + * + * *
    * Output only. A list of streams created with the session.
    *
@@ -275,10 +401,11 @@ public interface ReadSessionOrBuilder extends
    * instead, which is not yet available.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getStreamsOrBuilder( - int index); + com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getStreamsOrBuilder(int index); com.google.cloud.bigquery.storage.v1beta2.ReadSession.SchemaCase getSchemaCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStream.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStream.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStream.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStream.java index 7846d9cb11..9b044378ac 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStream.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStream.java @@ -1,9 +1,26 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/stream.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Information about a single stream that gets data out of the storage system.
  * Most of the information about `ReadStream` instances is aggregated, making
@@ -12,49 +29,55 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadStream}
  */
-public final class ReadStream extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReadStream extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ReadStream)
     ReadStreamOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReadStream.newBuilder() to construct.
   private ReadStream(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReadStream() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReadStream();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1beta2.StreamProto
+        .internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1beta2.StreamProto
+        .internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1beta2.ReadStream.class, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder.class);
+            com.google.cloud.bigquery.storage.v1beta2.ReadStream.class,
+            com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Name of the stream, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -63,30 +86,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Name of the stream, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -95,6 +118,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +130,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,15 +154,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ReadStream)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ReadStream other = (com.google.cloud.bigquery.storage.v1beta2.ReadStream) obj; + com.google.cloud.bigquery.storage.v1beta2.ReadStream other = + (com.google.cloud.bigquery.storage.v1beta2.ReadStream) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -159,98 +182,103 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.ReadStream parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadStream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadStream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadStream parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.ReadStream parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadStream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadStream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ReadStream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.ReadStream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadStream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ReadStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ReadStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about a single stream that gets data out of the storage system.
    * Most of the information about `ReadStream` instances is aggregated, making
@@ -259,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadStream}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ReadStream)
       com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1beta2.StreamProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1beta2.StreamProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1beta2.ReadStream.class, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder.class);
+              com.google.cloud.bigquery.storage.v1beta2.ReadStream.class,
+              com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.storage.v1beta2.ReadStream.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -295,9 +322,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.storage.v1beta2.StreamProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +343,11 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1beta2.ReadStream buildPartial() {
-      com.google.cloud.bigquery.storage.v1beta2.ReadStream result = new com.google.cloud.bigquery.storage.v1beta2.ReadStream(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.storage.v1beta2.ReadStream result =
+          new com.google.cloud.bigquery.storage.v1beta2.ReadStream(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +363,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadStream
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ReadStream) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadStream)other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadStream) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ReadStream other) {
-      if (other == com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -404,17 +436,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,23 +458,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -449,21 +486,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -471,30 +509,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -504,27 +549,31 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +583,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ReadStream) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ReadStream) private static final com.google.cloud.bigquery.storage.v1beta2.ReadStream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ReadStream(); } @@ -548,27 +597,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ReadStream getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +632,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ReadStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamName.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamName.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamName.java diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamOrBuilder.java similarity index 56% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamOrBuilder.java index 042b73a755..920de0cb44 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamOrBuilder.java @@ -1,31 +1,52 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/stream.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface ReadStreamOrBuilder extends +public interface ReadStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ReadStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of the stream, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Name of the stream, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequest.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequest.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequest.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequest.java index 48773c3b05..c61e988ca1 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequest.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequest.java @@ -1,57 +1,82 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Request message for `SplitReadStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest} */ -public final class SplitReadStreamRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SplitReadStreamRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) SplitReadStreamRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SplitReadStreamRequest.newBuilder() to construct. private SplitReadStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SplitReadStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SplitReadStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.class, + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the stream to split.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -60,29 +85,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the stream to split.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,8 @@ public java.lang.String getName() { public static final int FRACTION_FIELD_NUMBER = 2; private double fraction_ = 0D; /** + * + * *
    * A value in the range (0.0, 1.0) that specifies the fractional point at
    * which the original stream should be split. The actual split point is
@@ -104,6 +133,7 @@ public java.lang.String getName() {
    * 
* * double fraction = 2; + * * @return The fraction. */ @java.lang.Override @@ -112,6 +142,7 @@ public double getFraction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -123,8 +154,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -144,8 +174,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (java.lang.Double.doubleToRawLongBits(fraction_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, fraction_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, fraction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -155,18 +184,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest other = (com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) obj; + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest other = + (com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (java.lang.Double.doubleToLongBits(getFraction()) - != java.lang.Double.doubleToLongBits( - other.getFraction())) return false; + != java.lang.Double.doubleToLongBits(other.getFraction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -181,139 +209,146 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FRACTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getFraction())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getFraction())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `SplitReadStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.class, + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -324,13 +359,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.getDefaultInstance(); } @@ -345,13 +381,17 @@ public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest build() @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest result = new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest result = + new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -365,46 +405,50 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.SplitReadSt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest other) { + if (other + == com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -439,22 +483,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: { - fraction_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: + { + fraction_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -464,22 +511,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the stream to split.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,20 +540,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the stream to split.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -509,28 +564,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the stream to split.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the stream to split.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -540,17 +606,23 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the stream to split.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -558,8 +630,10 @@ public Builder setNameBytes( return this; } - private double fraction_ ; + private double fraction_; /** + * + * *
      * A value in the range (0.0, 1.0) that specifies the fractional point at
      * which the original stream should be split. The actual split point is
@@ -571,6 +645,7 @@ public Builder setNameBytes(
      * 
* * double fraction = 2; + * * @return The fraction. */ @java.lang.Override @@ -578,6 +653,8 @@ public double getFraction() { return fraction_; } /** + * + * *
      * A value in the range (0.0, 1.0) that specifies the fractional point at
      * which the original stream should be split. The actual split point is
@@ -589,6 +666,7 @@ public double getFraction() {
      * 
* * double fraction = 2; + * * @param value The fraction to set. * @return This builder for chaining. */ @@ -600,6 +678,8 @@ public Builder setFraction(double value) { return this; } /** + * + * *
      * A value in the range (0.0, 1.0) that specifies the fractional point at
      * which the original stream should be split. The actual split point is
@@ -611,6 +691,7 @@ public Builder setFraction(double value) {
      * 
* * double fraction = 2; + * * @return This builder for chaining. */ public Builder clearFraction() { @@ -619,9 +700,9 @@ public Builder clearFraction() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -631,41 +712,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) - private static final com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest(); } - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SplitReadStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SplitReadStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -677,9 +760,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequestOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequestOrBuilder.java index cac57d55d0..5d6fcf13b7 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequestOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface SplitReadStreamRequestOrBuilder extends +public interface SplitReadStreamRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the stream to split.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Name of the stream to split.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A value in the range (0.0, 1.0) that specifies the fractional point at
    * which the original stream should be split. The actual split point is
@@ -39,6 +66,7 @@ public interface SplitReadStreamRequestOrBuilder extends
    * 
* * double fraction = 2; + * * @return The fraction. */ double getFraction(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponse.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponse.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponse.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponse.java index 134f21104e..8cf7629c4d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponse.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponse.java @@ -1,46 +1,62 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; -/** - * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse} - */ -public final class SplitReadStreamResponse extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse} */ +public final class SplitReadStreamResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse) SplitReadStreamResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SplitReadStreamResponse.newBuilder() to construct. private SplitReadStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SplitReadStreamResponse() { - } + + private SplitReadStreamResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SplitReadStreamResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.class, com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.class, + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.Builder.class); } public static final int PRIMARY_STREAM_FIELD_NUMBER = 1; private com.google.cloud.bigquery.storage.v1beta2.ReadStream primaryStream_; /** + * + * *
    * Primary stream, which contains the beginning portion of
    * |original_stream|. An empty value indicates that the original stream can no
@@ -48,6 +64,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ @java.lang.Override @@ -55,6 +72,8 @@ public boolean hasPrimaryStream() { return primaryStream_ != null; } /** + * + * *
    * Primary stream, which contains the beginning portion of
    * |original_stream|. An empty value indicates that the original stream can no
@@ -62,13 +81,18 @@ public boolean hasPrimaryStream() {
    * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1; + * * @return The primaryStream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadStream getPrimaryStream() { - return primaryStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() : primaryStream_; + return primaryStream_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() + : primaryStream_; } /** + * + * *
    * Primary stream, which contains the beginning portion of
    * |original_stream|. An empty value indicates that the original stream can no
@@ -79,18 +103,23 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream getPrimaryStream() {
    */
   @java.lang.Override
   public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getPrimaryStreamOrBuilder() {
-    return primaryStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() : primaryStream_;
+    return primaryStream_ == null
+        ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()
+        : primaryStream_;
   }
 
   public static final int REMAINDER_STREAM_FIELD_NUMBER = 2;
   private com.google.cloud.bigquery.storage.v1beta2.ReadStream remainderStream_;
   /**
+   *
+   *
    * 
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream remainder_stream = 2; + * * @return Whether the remainderStream field is set. */ @java.lang.Override @@ -98,19 +127,26 @@ public boolean hasRemainderStream() { return remainderStream_ != null; } /** + * + * *
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream remainder_stream = 2; + * * @return The remainderStream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadStream getRemainderStream() { - return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() : remainderStream_; + return remainderStream_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() + : remainderStream_; } /** + * + * *
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
@@ -119,11 +155,15 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream getRemainderStream()
    * .google.cloud.bigquery.storage.v1beta2.ReadStream remainder_stream = 2;
    */
   @java.lang.Override
-  public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getRemainderStreamOrBuilder() {
-    return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() : remainderStream_;
+  public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder
+      getRemainderStreamOrBuilder() {
+    return remainderStream_ == null
+        ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()
+        : remainderStream_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -135,8 +175,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (primaryStream_ != null) {
       output.writeMessage(1, getPrimaryStream());
     }
@@ -153,12 +192,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (primaryStream_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getPrimaryStream());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPrimaryStream());
     }
     if (remainderStream_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getRemainderStream());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRemainderStream());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -168,22 +205,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse other = (com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse) obj;
+    com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse other =
+        (com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse) obj;
 
     if (hasPrimaryStream() != other.hasPrimaryStream()) return false;
     if (hasPrimaryStream()) {
-      if (!getPrimaryStream()
-          .equals(other.getPrimaryStream())) return false;
+      if (!getPrimaryStream().equals(other.getPrimaryStream())) return false;
     }
     if (hasRemainderStream() != other.hasRemainderStream()) return false;
     if (hasRemainderStream()) {
-      if (!getRemainderStream()
-          .equals(other.getRemainderStream())) return false;
+      if (!getRemainderStream().equals(other.getRemainderStream())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -210,127 +246,130 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
-  public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+  public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse
+      parseDelimitedFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
-  /**
-   * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse}
-   */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  /** Protobuf type {@code google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse} */
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse)
       com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1beta2.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1beta2.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.class, com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.Builder.class);
+              com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.class,
+              com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.Builder.class);
     }
 
-    // Construct using com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.newBuilder()
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -349,13 +388,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.storage.v1beta2.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse
+        getDefaultInstanceForType() {
       return com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.getDefaultInstance();
     }
 
@@ -370,23 +410,25 @@ public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse build()
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse buildPartial() {
-      com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse result = new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse result =
+          new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse result) {
+    private void buildPartial0(
+        com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.primaryStream_ = primaryStreamBuilder_ == null
-            ? primaryStream_
-            : primaryStreamBuilder_.build();
+        result.primaryStream_ =
+            primaryStreamBuilder_ == null ? primaryStream_ : primaryStreamBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.remainderStream_ = remainderStreamBuilder_ == null
-            ? remainderStream_
-            : remainderStreamBuilder_.build();
+        result.remainderStream_ =
+            remainderStreamBuilder_ == null ? remainderStream_ : remainderStreamBuilder_.build();
       }
     }
 
@@ -394,46 +436,50 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.SplitReadSt
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse)other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse other) {
-      if (other == com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse other) {
+      if (other
+          == com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.getDefaultInstance())
+        return this;
       if (other.hasPrimaryStream()) {
         mergePrimaryStream(other.getPrimaryStream());
       }
@@ -466,26 +512,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getPrimaryStreamFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getRemainderStreamFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getPrimaryStreamFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getRemainderStreamFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -495,12 +540,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.bigquery.storage.v1beta2.ReadStream primaryStream_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1beta2.ReadStream, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder> primaryStreamBuilder_;
+            com.google.cloud.bigquery.storage.v1beta2.ReadStream,
+            com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder,
+            com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder>
+        primaryStreamBuilder_;
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -508,12 +559,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ public boolean hasPrimaryStream() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -521,16 +575,21 @@ public boolean hasPrimaryStream() {
      * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1; + * * @return The primaryStream. */ public com.google.cloud.bigquery.storage.v1beta2.ReadStream getPrimaryStream() { if (primaryStreamBuilder_ == null) { - return primaryStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() : primaryStream_; + return primaryStream_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() + : primaryStream_; } else { return primaryStreamBuilder_.getMessage(); } } /** + * + * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -553,6 +612,8 @@ public Builder setPrimaryStream(com.google.cloud.bigquery.storage.v1beta2.ReadSt
       return this;
     }
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -573,6 +634,8 @@ public Builder setPrimaryStream(
       return this;
     }
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -583,9 +646,10 @@ public Builder setPrimaryStream(
      */
     public Builder mergePrimaryStream(com.google.cloud.bigquery.storage.v1beta2.ReadStream value) {
       if (primaryStreamBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          primaryStream_ != null &&
-          primaryStream_ != com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && primaryStream_ != null
+            && primaryStream_
+                != com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()) {
           getPrimaryStreamBuilder().mergeFrom(value);
         } else {
           primaryStream_ = value;
@@ -598,6 +662,8 @@ public Builder mergePrimaryStream(com.google.cloud.bigquery.storage.v1beta2.Read
       return this;
     }
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -617,6 +683,8 @@ public Builder clearPrimaryStream() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -631,6 +699,8 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder getPrimarySt
       return getPrimaryStreamFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -639,15 +709,19 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder getPrimarySt
      *
      * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1;
      */
-    public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getPrimaryStreamOrBuilder() {
+    public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder
+        getPrimaryStreamOrBuilder() {
       if (primaryStreamBuilder_ != null) {
         return primaryStreamBuilder_.getMessageOrBuilder();
       } else {
-        return primaryStream_ == null ?
-            com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() : primaryStream_;
+        return primaryStream_ == null
+            ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()
+            : primaryStream_;
       }
     }
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -657,14 +731,17 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getPrimaryS
      * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1beta2.ReadStream, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder> 
+            com.google.cloud.bigquery.storage.v1beta2.ReadStream,
+            com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder,
+            com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder>
         getPrimaryStreamFieldBuilder() {
       if (primaryStreamBuilder_ == null) {
-        primaryStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1beta2.ReadStream, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder>(
-                getPrimaryStream(),
-                getParentForChildren(),
-                isClean());
+        primaryStreamBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.bigquery.storage.v1beta2.ReadStream,
+                com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder,
+                com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder>(
+                getPrimaryStream(), getParentForChildren(), isClean());
         primaryStream_ = null;
       }
       return primaryStreamBuilder_;
@@ -672,36 +749,49 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getPrimaryS
 
     private com.google.cloud.bigquery.storage.v1beta2.ReadStream remainderStream_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1beta2.ReadStream, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder> remainderStreamBuilder_;
+            com.google.cloud.bigquery.storage.v1beta2.ReadStream,
+            com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder,
+            com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder>
+        remainderStreamBuilder_;
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream remainder_stream = 2; + * * @return Whether the remainderStream field is set. */ public boolean hasRemainderStream() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream remainder_stream = 2; + * * @return The remainderStream. */ public com.google.cloud.bigquery.storage.v1beta2.ReadStream getRemainderStream() { if (remainderStreamBuilder_ == null) { - return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() : remainderStream_; + return remainderStream_ == null + ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() + : remainderStream_; } else { return remainderStreamBuilder_.getMessage(); } } /** + * + * *
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -723,6 +813,8 @@ public Builder setRemainderStream(com.google.cloud.bigquery.storage.v1beta2.Read
       return this;
     }
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -742,6 +834,8 @@ public Builder setRemainderStream(
       return this;
     }
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -749,11 +843,13 @@ public Builder setRemainderStream(
      *
      * .google.cloud.bigquery.storage.v1beta2.ReadStream remainder_stream = 2;
      */
-    public Builder mergeRemainderStream(com.google.cloud.bigquery.storage.v1beta2.ReadStream value) {
+    public Builder mergeRemainderStream(
+        com.google.cloud.bigquery.storage.v1beta2.ReadStream value) {
       if (remainderStreamBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          remainderStream_ != null &&
-          remainderStream_ != com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && remainderStream_ != null
+            && remainderStream_
+                != com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()) {
           getRemainderStreamBuilder().mergeFrom(value);
         } else {
           remainderStream_ = value;
@@ -766,6 +862,8 @@ public Builder mergeRemainderStream(com.google.cloud.bigquery.storage.v1beta2.Re
       return this;
     }
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -784,6 +882,8 @@ public Builder clearRemainderStream() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -791,12 +891,15 @@ public Builder clearRemainderStream() {
      *
      * .google.cloud.bigquery.storage.v1beta2.ReadStream remainder_stream = 2;
      */
-    public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder getRemainderStreamBuilder() {
+    public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder
+        getRemainderStreamBuilder() {
       bitField0_ |= 0x00000002;
       onChanged();
       return getRemainderStreamFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -804,15 +907,19 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder getRemainder
      *
      * .google.cloud.bigquery.storage.v1beta2.ReadStream remainder_stream = 2;
      */
-    public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getRemainderStreamOrBuilder() {
+    public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder
+        getRemainderStreamOrBuilder() {
       if (remainderStreamBuilder_ != null) {
         return remainderStreamBuilder_.getMessageOrBuilder();
       } else {
-        return remainderStream_ == null ?
-            com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() : remainderStream_;
+        return remainderStream_ == null
+            ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()
+            : remainderStream_;
       }
     }
     /**
+     *
+     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -821,21 +928,24 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getRemainde
      * .google.cloud.bigquery.storage.v1beta2.ReadStream remainder_stream = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.bigquery.storage.v1beta2.ReadStream, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder> 
+            com.google.cloud.bigquery.storage.v1beta2.ReadStream,
+            com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder,
+            com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder>
         getRemainderStreamFieldBuilder() {
       if (remainderStreamBuilder_ == null) {
-        remainderStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1beta2.ReadStream, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder>(
-                getRemainderStream(),
-                getParentForChildren(),
-                isClean());
+        remainderStreamBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.bigquery.storage.v1beta2.ReadStream,
+                com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder,
+                com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder>(
+                getRemainderStream(), getParentForChildren(), isClean());
         remainderStream_ = null;
       }
       return remainderStreamBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -845,41 +955,43 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse)
-  private static final com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse DEFAULT_INSTANCE;
+  private static final com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse();
   }
 
-  public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse getDefaultInstance() {
+  public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public SplitReadStreamResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public SplitReadStreamResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -891,9 +1003,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse getDefaultInstanceForType() {
+  public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponseOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponseOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponseOrBuilder.java
rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponseOrBuilder.java
index 96a62e1daf..ec948975d9 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponseOrBuilder.java
+++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1beta2/storage.proto
 
 package com.google.cloud.bigquery.storage.v1beta2;
 
-public interface SplitReadStreamResponseOrBuilder extends
+public interface SplitReadStreamResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Primary stream, which contains the beginning portion of
    * |original_stream|. An empty value indicates that the original stream can no
@@ -15,10 +33,13 @@ public interface SplitReadStreamResponseOrBuilder extends
    * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ boolean hasPrimaryStream(); /** + * + * *
    * Primary stream, which contains the beginning portion of
    * |original_stream|. An empty value indicates that the original stream can no
@@ -26,10 +47,13 @@ public interface SplitReadStreamResponseOrBuilder extends
    * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1; + * * @return The primaryStream. */ com.google.cloud.bigquery.storage.v1beta2.ReadStream getPrimaryStream(); /** + * + * *
    * Primary stream, which contains the beginning portion of
    * |original_stream|. An empty value indicates that the original stream can no
@@ -41,26 +65,34 @@ public interface SplitReadStreamResponseOrBuilder extends
   com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getPrimaryStreamOrBuilder();
 
   /**
+   *
+   *
    * 
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream remainder_stream = 2; + * * @return Whether the remainderStream field is set. */ boolean hasRemainderStream(); /** + * + * *
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream remainder_stream = 2; + * * @return The remainderStream. */ com.google.cloud.bigquery.storage.v1beta2.ReadStream getRemainderStream(); /** + * + * *
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageError.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageError.java
similarity index 69%
rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageError.java
rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageError.java
index c464049825..0648a3be85 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageError.java
+++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageError.java
@@ -1,9 +1,26 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1beta2/storage.proto
 
 package com.google.cloud.bigquery.storage.v1beta2;
 
 /**
+ *
+ *
  * 
  * Structured custom BigQuery Storage error message. The error can be attached
  * as error details in the returned rpc Status. In particular, the use of error
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.StorageError}
  */
-public final class StorageError extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StorageError extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.StorageError)
     StorageErrorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StorageError.newBuilder() to construct.
   private StorageError(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StorageError() {
     code_ = 0;
     entity_ = "";
@@ -30,34 +48,38 @@ private StorageError() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StorageError();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1beta2.StorageProto
+        .internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1beta2.StorageProto
+        .internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1beta2.StorageError.class, com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder.class);
+            com.google.cloud.bigquery.storage.v1beta2.StorageError.class,
+            com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Error code for `StorageError`.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode} */ - public enum StorageErrorCode - implements com.google.protobuf.ProtocolMessageEnum { + public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default error.
      * 
@@ -66,6 +88,8 @@ public enum StorageErrorCode */ STORAGE_ERROR_CODE_UNSPECIFIED(0), /** + * + * *
      * Table is not found in the system.
      * 
@@ -74,6 +98,8 @@ public enum StorageErrorCode */ TABLE_NOT_FOUND(1), /** + * + * *
      * Stream is already committed.
      * 
@@ -82,6 +108,8 @@ public enum StorageErrorCode */ STREAM_ALREADY_COMMITTED(2), /** + * + * *
      * Stream is not found.
      * 
@@ -90,6 +118,8 @@ public enum StorageErrorCode */ STREAM_NOT_FOUND(3), /** + * + * *
      * Invalid Stream type.
      * For example, you try to commit a stream that is not pending.
@@ -99,6 +129,8 @@ public enum StorageErrorCode
      */
     INVALID_STREAM_TYPE(4),
     /**
+     *
+     *
      * 
      * Invalid Stream state.
      * For example, you try to commit a stream that is not finalized or is
@@ -109,6 +141,8 @@ public enum StorageErrorCode
      */
     INVALID_STREAM_STATE(5),
     /**
+     *
+     *
      * 
      * Stream is finalized.
      * 
@@ -120,6 +154,8 @@ public enum StorageErrorCode ; /** + * + * *
      * Default error.
      * 
@@ -128,6 +164,8 @@ public enum StorageErrorCode */ public static final int STORAGE_ERROR_CODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Table is not found in the system.
      * 
@@ -136,6 +174,8 @@ public enum StorageErrorCode */ public static final int TABLE_NOT_FOUND_VALUE = 1; /** + * + * *
      * Stream is already committed.
      * 
@@ -144,6 +184,8 @@ public enum StorageErrorCode */ public static final int STREAM_ALREADY_COMMITTED_VALUE = 2; /** + * + * *
      * Stream is not found.
      * 
@@ -152,6 +194,8 @@ public enum StorageErrorCode */ public static final int STREAM_NOT_FOUND_VALUE = 3; /** + * + * *
      * Invalid Stream type.
      * For example, you try to commit a stream that is not pending.
@@ -161,6 +205,8 @@ public enum StorageErrorCode
      */
     public static final int INVALID_STREAM_TYPE_VALUE = 4;
     /**
+     *
+     *
      * 
      * Invalid Stream state.
      * For example, you try to commit a stream that is not finalized or is
@@ -171,6 +217,8 @@ public enum StorageErrorCode
      */
     public static final int INVALID_STREAM_STATE_VALUE = 5;
     /**
+     *
+     *
      * 
      * Stream is finalized.
      * 
@@ -179,7 +227,6 @@ public enum StorageErrorCode */ public static final int STREAM_FINALIZED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -204,44 +251,53 @@ public static StorageErrorCode valueOf(int value) { */ public static StorageErrorCode forNumber(int value) { switch (value) { - case 0: return STORAGE_ERROR_CODE_UNSPECIFIED; - case 1: return TABLE_NOT_FOUND; - case 2: return STREAM_ALREADY_COMMITTED; - case 3: return STREAM_NOT_FOUND; - case 4: return INVALID_STREAM_TYPE; - case 5: return INVALID_STREAM_STATE; - case 6: return STREAM_FINALIZED; - default: return null; + case 0: + return STORAGE_ERROR_CODE_UNSPECIFIED; + case 1: + return TABLE_NOT_FOUND; + case 2: + return STREAM_ALREADY_COMMITTED; + case 3: + return STREAM_NOT_FOUND; + case 4: + return INVALID_STREAM_TYPE; + case 5: + return INVALID_STREAM_STATE; + case 6: + return STREAM_FINALIZED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - StorageErrorCode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StorageErrorCode findValueByNumber(int number) { - return StorageErrorCode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StorageErrorCode findValueByNumber(int number) { + return StorageErrorCode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageError.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageError.getDescriptor() + .getEnumTypes() + .get(0); } private static final StorageErrorCode[] VALUES = values(); @@ -249,8 +305,7 @@ public StorageErrorCode findValueByNumber(int number) { public static StorageErrorCode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -270,38 +325,53 @@ private StorageErrorCode(int value) { public static final int CODE_FIELD_NUMBER = 1; private int code_ = 0; /** + * + * *
    * BigQuery Storage specific error code.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
    * BigQuery Storage specific error code.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; + * * @return The code. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode getCode() { - com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode result = com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.forNumber(code_); - return result == null ? com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode getCode() { + com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode result = + com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.forNumber(code_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.UNRECOGNIZED + : result; } public static final int ENTITY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object entity_ = ""; /** + * + * *
    * Name of the failed entity.
    * 
* * string entity = 2; + * * @return The entity. */ @java.lang.Override @@ -310,29 +380,29 @@ public java.lang.String getEntity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; } } /** + * + * *
    * Name of the failed entity.
    * 
* * string entity = 2; + * * @return The bytes for entity. */ @java.lang.Override - public com.google.protobuf.ByteString - getEntityBytes() { + public com.google.protobuf.ByteString getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entity_ = b; return b; } else { @@ -341,14 +411,18 @@ public java.lang.String getEntity() { } public static final int ERROR_MESSAGE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object errorMessage_ = ""; /** + * + * *
    * Message that describes the error.
    * 
* * string error_message = 3; + * * @return The errorMessage. */ @java.lang.Override @@ -357,29 +431,29 @@ public java.lang.String getErrorMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** + * + * *
    * Message that describes the error.
    * 
* * string error_message = 3; + * * @return The bytes for errorMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -388,6 +462,7 @@ public java.lang.String getErrorMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -399,9 +474,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (code_ != com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.STORAGE_ERROR_CODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (code_ + != com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode + .STORAGE_ERROR_CODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { @@ -419,9 +496,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (code_ != com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.STORAGE_ERROR_CODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, code_); + if (code_ + != com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode + .STORAGE_ERROR_CODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entity_); @@ -437,18 +516,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.StorageError)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.StorageError other = (com.google.cloud.bigquery.storage.v1beta2.StorageError) obj; + com.google.cloud.bigquery.storage.v1beta2.StorageError other = + (com.google.cloud.bigquery.storage.v1beta2.StorageError) obj; if (code_ != other.code_) return false; - if (!getEntity() - .equals(other.getEntity())) return false; - if (!getErrorMessage() - .equals(other.getErrorMessage())) return false; + if (!getEntity().equals(other.getEntity())) return false; + if (!getErrorMessage().equals(other.getErrorMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -472,98 +550,104 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.StorageError parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.StorageError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.StorageError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.StorageError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.StorageError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.StorageError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.StorageError parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.StorageError parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.StorageError parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.StorageError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.StorageError parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.StorageError parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.StorageError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.StorageError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.StorageError prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.StorageError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Structured custom BigQuery Storage error message. The error can be attached
    * as error details in the returned rpc Status. In particular, the use of error
@@ -573,33 +657,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.StorageError}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.StorageError)
       com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1beta2.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1beta2.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1beta2.StorageError.class, com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder.class);
+              com.google.cloud.bigquery.storage.v1beta2.StorageError.class,
+              com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.storage.v1beta2.StorageError.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -611,9 +694,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.bigquery.storage.v1beta2.StorageProto
+          .internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_descriptor;
     }
 
     @java.lang.Override
@@ -632,8 +715,11 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageError build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1beta2.StorageError buildPartial() {
-      com.google.cloud.bigquery.storage.v1beta2.StorageError result = new com.google.cloud.bigquery.storage.v1beta2.StorageError(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.bigquery.storage.v1beta2.StorageError result =
+          new com.google.cloud.bigquery.storage.v1beta2.StorageError(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -655,38 +741,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.StorageErro
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1beta2.StorageError) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.StorageError)other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.StorageError) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -694,7 +781,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.StorageError other) {
-      if (other == com.google.cloud.bigquery.storage.v1beta2.StorageError.getDefaultInstance()) return this;
+      if (other == com.google.cloud.bigquery.storage.v1beta2.StorageError.getDefaultInstance())
+        return this;
       if (other.code_ != 0) {
         setCodeValue(other.getCodeValue());
       }
@@ -734,27 +822,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              code_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              entity_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              errorMessage_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                code_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                entity_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                errorMessage_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -764,26 +856,34 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int code_ = 0;
     /**
+     *
+     *
      * 
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; + * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -794,28 +894,38 @@ public Builder setCodeValue(int value) { return this; } /** + * + * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; + * * @return The code. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode getCode() { - com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode result = com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.forNumber(code_); - return result == null ? com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode result = + com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.forNumber(code_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.UNRECOGNIZED + : result; } /** + * + * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; + * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode(com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode value) { + public Builder setCode( + com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode value) { if (value == null) { throw new NullPointerException(); } @@ -825,11 +935,14 @@ public Builder setCode(com.google.cloud.bigquery.storage.v1beta2.StorageError.St return this; } /** + * + * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; + * * @return This builder for chaining. */ public Builder clearCode() { @@ -841,18 +954,20 @@ public Builder clearCode() { private java.lang.Object entity_ = ""; /** + * + * *
      * Name of the failed entity.
      * 
* * string entity = 2; + * * @return The entity. */ public java.lang.String getEntity() { java.lang.Object ref = entity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); entity_ = s; return s; @@ -861,20 +976,21 @@ public java.lang.String getEntity() { } } /** + * + * *
      * Name of the failed entity.
      * 
* * string entity = 2; + * * @return The bytes for entity. */ - public com.google.protobuf.ByteString - getEntityBytes() { + public com.google.protobuf.ByteString getEntityBytes() { java.lang.Object ref = entity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); entity_ = b; return b; } else { @@ -882,28 +998,35 @@ public java.lang.String getEntity() { } } /** + * + * *
      * Name of the failed entity.
      * 
* * string entity = 2; + * * @param value The entity to set. * @return This builder for chaining. */ - public Builder setEntity( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntity(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } entity_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Name of the failed entity.
      * 
* * string entity = 2; + * * @return This builder for chaining. */ public Builder clearEntity() { @@ -913,17 +1036,21 @@ public Builder clearEntity() { return this; } /** + * + * *
      * Name of the failed entity.
      * 
* * string entity = 2; + * * @param value The bytes for entity to set. * @return This builder for chaining. */ - public Builder setEntityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEntityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); entity_ = value; bitField0_ |= 0x00000002; @@ -933,18 +1060,20 @@ public Builder setEntityBytes( private java.lang.Object errorMessage_ = ""; /** + * + * *
      * Message that describes the error.
      * 
* * string error_message = 3; + * * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; @@ -953,20 +1082,21 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
      * Message that describes the error.
      * 
* * string error_message = 3; + * * @return The bytes for errorMessage. */ - public com.google.protobuf.ByteString - getErrorMessageBytes() { + public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMessage_ = b; return b; } else { @@ -974,28 +1104,35 @@ public java.lang.String getErrorMessage() { } } /** + * + * *
      * Message that describes the error.
      * 
* * string error_message = 3; + * * @param value The errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } errorMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Message that describes the error.
      * 
* * string error_message = 3; + * * @return This builder for chaining. */ public Builder clearErrorMessage() { @@ -1005,26 +1142,30 @@ public Builder clearErrorMessage() { return this; } /** + * + * *
      * Message that describes the error.
      * 
* * string error_message = 3; + * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); errorMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1034,12 +1175,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.StorageError) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.StorageError) private static final com.google.cloud.bigquery.storage.v1beta2.StorageError DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.StorageError(); } @@ -1048,27 +1189,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.StorageError getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StorageError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1083,6 +1224,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.StorageError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageErrorOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageErrorOrBuilder.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageErrorOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageErrorOrBuilder.java index 5ff3305f7f..54db1615c4 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageErrorOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageErrorOrBuilder.java @@ -1,68 +1,100 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface StorageErrorOrBuilder extends +public interface StorageErrorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.StorageError) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * BigQuery Storage specific error code.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; + * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** + * + * *
    * BigQuery Storage specific error code.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; + * * @return The code. */ com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode getCode(); /** + * + * *
    * Name of the failed entity.
    * 
* * string entity = 2; + * * @return The entity. */ java.lang.String getEntity(); /** + * + * *
    * Name of the failed entity.
    * 
* * string entity = 2; + * * @return The bytes for entity. */ - com.google.protobuf.ByteString - getEntityBytes(); + com.google.protobuf.ByteString getEntityBytes(); /** + * + * *
    * Message that describes the error.
    * 
* * string error_message = 3; + * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** + * + * *
    * Message that describes the error.
    * 
* * string error_message = 3; + * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString - getErrorMessageBytes(); + com.google.protobuf.ByteString getErrorMessageBytes(); } diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageProto.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageProto.java new file mode 100644 index 0000000000..2e9a011e8d --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageProto.java @@ -0,0 +1,506 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public final class StorageProto { + private StorageProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/cloud/bigquery/storage/v1beta2/" + + "storage.proto\022%google.cloud.bigquery.sto" + + "rage.v1beta2\032\034google/api/annotations.pro" + + "to\032\027google/api/client.proto\032\037google/api/" + + "field_behavior.proto\032\031google/api/resourc" + + "e.proto\0321google/cloud/bigquery/storage/v" + + "1beta2/arrow.proto\0320google/cloud/bigquer" + + "y/storage/v1beta2/avro.proto\0324google/clo" + + "ud/bigquery/storage/v1beta2/protobuf.pro" + + "to\0322google/cloud/bigquery/storage/v1beta" + + "2/stream.proto\0321google/cloud/bigquery/st" + + "orage/v1beta2/table.proto\032\037google/protob" + + "uf/timestamp.proto\032\036google/protobuf/wrap" + + "pers.proto\032\027google/rpc/status.proto\"\312\001\n\030" + + "CreateReadSessionRequest\022D\n\006parent\030\001 \001(\t" + + "B4\342A\001\002\372A-\n+cloudresourcemanager.googleap" + + "is.com/Project\022N\n\014read_session\030\002 \001(\01322.g" + + "oogle.cloud.bigquery.storage.v1beta2.Rea" + + "dSessionB\004\342A\001\002\022\030\n\020max_stream_count\030\003 \001(\005" + + "\"j\n\017ReadRowsRequest\022G\n\013read_stream\030\001 \001(\t" + + "B2\342A\001\002\372A+\n)bigquerystorage.googleapis.co" + + "m/ReadStream\022\016\n\006offset\030\002 \001(\003\")\n\rThrottle" + + "State\022\030\n\020throttle_percent\030\001 \001(\005\"\234\001\n\013Stre" + + "amStats\022M\n\010progress\030\002 \001(\0132;.google.cloud" + + ".bigquery.storage.v1beta2.StreamStats.Pr" + + "ogress\032>\n\010Progress\022\031\n\021at_response_start\030" + + "\001 \001(\001\022\027\n\017at_response_end\030\002 \001(\001\"\207\004\n\020ReadR" + + "owsResponse\022D\n\tavro_rows\030\003 \001(\0132/.google." + + "cloud.bigquery.storage.v1beta2.AvroRowsH" + + "\000\022U\n\022arrow_record_batch\030\004 \001(\01327.google.c" + + "loud.bigquery.storage.v1beta2.ArrowRecor" + + "dBatchH\000\022\021\n\trow_count\030\006 \001(\003\022A\n\005stats\030\002 \001" + + "(\01322.google.cloud.bigquery.storage.v1bet" + + "a2.StreamStats\022L\n\016throttle_state\030\005 \001(\01324" + + ".google.cloud.bigquery.storage.v1beta2.T" + + "hrottleState\022N\n\013avro_schema\030\007 \001(\01321.goog" + + "le.cloud.bigquery.storage.v1beta2.AvroSc" + + "hemaB\004\342A\001\003H\001\022P\n\014arrow_schema\030\010 \001(\01322.goo" + + "gle.cloud.bigquery.storage.v1beta2.Arrow" + + "SchemaB\004\342A\001\003H\001B\006\n\004rowsB\010\n\006schema\"l\n\026Spli" + + "tReadStreamRequest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A" + + "+\n)bigquerystorage.googleapis.com/ReadSt" + + "ream\022\020\n\010fraction\030\002 \001(\001\"\261\001\n\027SplitReadStre" + + "amResponse\022I\n\016primary_stream\030\001 \001(\01321.goo" + + "gle.cloud.bigquery.storage.v1beta2.ReadS" + + "tream\022K\n\020remainder_stream\030\002 \001(\01321.google" + + ".cloud.bigquery.storage.v1beta2.ReadStre" + + "am\"\242\001\n\030CreateWriteStreamRequest\0226\n\006paren" + + "t\030\001 \001(\tB&\342A\001\002\372A\037\n\035bigquery.googleapis.co" + + "m/Table\022N\n\014write_stream\030\002 \001(\01322.google.c" + + "loud.bigquery.storage.v1beta2.WriteStrea" + + "mB\004\342A\001\002\"\230\003\n\021AppendRowsRequest\022I\n\014write_s" + + "tream\030\001 \001(\tB3\342A\001\002\372A,\n*bigquerystorage.go" + + "ogleapis.com/WriteStream\022+\n\006offset\030\002 \001(\013" + + "2\033.google.protobuf.Int64Value\022X\n\nproto_r" + + "ows\030\004 \001(\0132B.google.cloud.bigquery.storag" + + "e.v1beta2.AppendRowsRequest.ProtoDataH\000\022" + + "\020\n\010trace_id\030\006 \001(\t\032\226\001\n\tProtoData\022I\n\rwrite" + + "r_schema\030\001 \001(\01322.google.cloud.bigquery.s" + + "torage.v1beta2.ProtoSchema\022>\n\004rows\030\002 \001(\013" + + "20.google.cloud.bigquery.storage.v1beta2" + + ".ProtoRowsB\006\n\004rows\"\257\002\n\022AppendRowsRespons" + + "e\022_\n\rappend_result\030\001 \001(\0132F.google.cloud." + + "bigquery.storage.v1beta2.AppendRowsRespo" + + "nse.AppendResultH\000\022#\n\005error\030\002 \001(\0132\022.goog" + + "le.rpc.StatusH\000\022J\n\016updated_schema\030\003 \001(\0132" + + "2.google.cloud.bigquery.storage.v1beta2." + + "TableSchema\032;\n\014AppendResult\022+\n\006offset\030\001 " + + "\001(\0132\033.google.protobuf.Int64ValueB\n\n\010resp" + + "onse\"Z\n\025GetWriteStreamRequest\022A\n\004name\030\001 " + + "\001(\tB3\342A\001\002\372A,\n*bigquerystorage.googleapis" + + ".com/WriteStream\"S\n\036BatchCommitWriteStre" + + "amsRequest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022\033\n\rwrit" + + "e_streams\030\002 \003(\tB\004\342A\001\002\"\236\001\n\037BatchCommitWri" + + "teStreamsResponse\022/\n\013commit_time\030\001 \001(\0132\032" + + ".google.protobuf.Timestamp\022J\n\rstream_err" + + "ors\030\002 \003(\01323.google.cloud.bigquery.storag" + + "e.v1beta2.StorageError\"_\n\032FinalizeWriteS" + + "treamRequest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*big" + + "querystorage.googleapis.com/WriteStream\"" + + "0\n\033FinalizeWriteStreamResponse\022\021\n\trow_co" + + "unt\030\001 \001(\003\"\212\001\n\020FlushRowsRequest\022I\n\014write_" + + "stream\030\001 \001(\tB3\342A\001\002\372A,\n*bigquerystorage.g" + + "oogleapis.com/WriteStream\022+\n\006offset\030\002 \001(" + + "\0132\033.google.protobuf.Int64Value\"#\n\021FlushR" + + "owsResponse\022\016\n\006offset\030\001 \001(\003\"\324\002\n\014StorageE" + + "rror\022R\n\004code\030\001 \001(\0162D.google.cloud.bigque" + + "ry.storage.v1beta2.StorageError.StorageE" + + "rrorCode\022\016\n\006entity\030\002 \001(\t\022\025\n\rerror_messag" + + "e\030\003 \001(\t\"\310\001\n\020StorageErrorCode\022\"\n\036STORAGE_" + + "ERROR_CODE_UNSPECIFIED\020\000\022\023\n\017TABLE_NOT_FO" + + "UND\020\001\022\034\n\030STREAM_ALREADY_COMMITTED\020\002\022\024\n\020S" + + "TREAM_NOT_FOUND\020\003\022\027\n\023INVALID_STREAM_TYPE" + + "\020\004\022\030\n\024INVALID_STREAM_STATE\020\005\022\024\n\020STREAM_F" + + "INALIZED\020\0062\277\006\n\014BigQueryRead\022\370\001\n\021CreateRe" + + "adSession\022?.google.cloud.bigquery.storag" + + "e.v1beta2.CreateReadSessionRequest\0322.goo" + + "gle.cloud.bigquery.storage.v1beta2.ReadS" + + "ession\"n\332A$parent,read_session,max_strea" + + "m_count\202\323\344\223\002A\".google.clou" + + "d.bigquery.storage.v1beta2.SplitReadStre" + + "amResponse\"C\202\323\344\223\002=\022;/v1beta2/{name=proje" + + "cts/*/locations/*/sessions/*/streams/*}\032" + + "{\312A\036bigquerystorage.googleapis.com\322AWhtt" + + "ps://www.googleapis.com/auth/bigquery,ht" + + "tps://www.googleapis.com/auth/cloud-plat" + + "form2\226\014\n\rBigQueryWrite\022\346\001\n\021CreateWriteSt" + + "ream\022?.google.cloud.bigquery.storage.v1b" + + "eta2.CreateWriteStreamRequest\0322.google.c" + + "loud.bigquery.storage.v1beta2.WriteStrea" + + "m\"\\\332A\023parent,write_stream\202\323\344\223\002@\"0/v1beta" + + "2/{parent=projects/*/datasets/*/tables/*" + + "}:\014write_stream\022\341\001\n\nAppendRows\0228.google." + + "cloud.bigquery.storage.v1beta2.AppendRow" + + "sRequest\0329.google.cloud.bigquery.storage" + + ".v1beta2.AppendRowsResponse\"Z\332A\014write_st" + + "ream\202\323\344\223\002E\"@/v1beta2/{write_stream=proje" + + "cts/*/datasets/*/tables/*/streams/*}:\001*(" + + "\0010\001\022\316\001\n\016GetWriteStream\022<.google.cloud.bi" + + "gquery.storage.v1beta2.GetWriteStreamReq" + + "uest\0322.google.cloud.bigquery.storage.v1b" + + "eta2.WriteStream\"J\332A\004name\202\323\344\223\002=\"8/v1beta" + + "2/{name=projects/*/datasets/*/tables/*/s" + + "treams/*}:\001*\022\350\001\n\023FinalizeWriteStream\022A.g" + + "oogle.cloud.bigquery.storage.v1beta2.Fin" + + "alizeWriteStreamRequest\032B.google.cloud.b" + + "igquery.storage.v1beta2.FinalizeWriteStr" + + "eamResponse\"J\332A\004name\202\323\344\223\002=\"8/v1beta2/{na" + + "me=projects/*/datasets/*/tables/*/stream" + + "s/*}:\001*\022\353\001\n\027BatchCommitWriteStreams\022E.go" + + "ogle.cloud.bigquery.storage.v1beta2.Batc" + + "hCommitWriteStreamsRequest\032F.google.clou" + + "d.bigquery.storage.v1beta2.BatchCommitWr" + + "iteStreamsResponse\"A\332A\006parent\202\323\344\223\0022\0220/v1" + + "beta2/{parent=projects/*/datasets/*/tabl" + + "es/*}\022\332\001\n\tFlushRows\0227.google.cloud.bigqu" + + "ery.storage.v1beta2.FlushRowsRequest\0328.g" + + "oogle.cloud.bigquery.storage.v1beta2.Flu" + + "shRowsResponse\"Z\332A\014write_stream\202\323\344\223\002E\"@/" + + "v1beta2/{write_stream=projects/*/dataset" + + "s/*/tables/*/streams/*}:\001*\032\260\001\312A\036bigquery" + + "storage.googleapis.com\322A\213\001https://www.go" + + "ogleapis.com/auth/bigquery,https://www.g" + + "oogleapis.com/auth/bigquery.insertdata,h" + + "ttps://www.googleapis.com/auth/cloud-pla" + + "tformB\200\001\n)com.google.cloud.bigquery.stor" + + "age.v1beta2B\014StorageProtoP\001ZCcloud.googl" + + "e.com/go/bigquery/storage/apiv1beta2/sto" + + "ragepb;storagepbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1beta2.ArrowProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1beta2.AvroProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1beta2.StreamProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1beta2.TableProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_descriptor, + new java.lang.String[] { + "Parent", "ReadSession", "MaxStreamCount", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor, + new java.lang.String[] { + "ReadStream", "Offset", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor, + new java.lang.String[] { + "ThrottlePercent", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor, + new java.lang.String[] { + "Progress", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor = + internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor, + new java.lang.String[] { + "AtResponseStart", "AtResponseEnd", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_descriptor, + new java.lang.String[] { + "AvroRows", + "ArrowRecordBatch", + "RowCount", + "Stats", + "ThrottleState", + "AvroSchema", + "ArrowSchema", + "Rows", + "Schema", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor, + new java.lang.String[] { + "Name", "Fraction", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_descriptor, + new java.lang.String[] { + "PrimaryStream", "RemainderStream", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_descriptor, + new java.lang.String[] { + "Parent", "WriteStream", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor, + new java.lang.String[] { + "WriteStream", "Offset", "ProtoRows", "TraceId", "Rows", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_descriptor = + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_ProtoData_descriptor, + new java.lang.String[] { + "WriterSchema", "Rows", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor, + new java.lang.String[] { + "AppendResult", "Error", "UpdatedSchema", "Response", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_descriptor = + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_AppendResult_descriptor, + new java.lang.String[] { + "Offset", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor, + new java.lang.String[] { + "Parent", "WriteStreams", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_descriptor, + new java.lang.String[] { + "CommitTime", "StreamErrors", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor, + new java.lang.String[] { + "RowCount", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_descriptor, + new java.lang.String[] { + "WriteStream", "Offset", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor, + new java.lang.String[] { + "Offset", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_descriptor, + new java.lang.String[] { + "Code", "Entity", "ErrorMessage", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1beta2.ArrowProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1beta2.AvroProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1beta2.StreamProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1beta2.TableProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java new file mode 100644 index 0000000000..1fd91308f5 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java @@ -0,0 +1,199 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/stream.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public final class StreamProto { + private StreamProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/cloud/bigquery/storage/v1beta2/" + + "stream.proto\022%google.cloud.bigquery.stor" + + "age.v1beta2\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\0321google/" + + "cloud/bigquery/storage/v1beta2/arrow.pro" + + "to\0320google/cloud/bigquery/storage/v1beta" + + "2/avro.proto\0321google/cloud/bigquery/stor" + + "age/v1beta2/table.proto\032\037google/protobuf" + + "/timestamp.proto\"\374\007\n\013ReadSession\022\022\n\004name" + + "\030\001 \001(\tB\004\342A\001\003\0225\n\013expire_time\030\002 \001(\0132\032.goog" + + "le.protobuf.TimestampB\004\342A\001\003\022L\n\013data_form" + + "at\030\003 \001(\01621.google.cloud.bigquery.storage" + + ".v1beta2.DataFormatB\004\342A\001\005\022N\n\013avro_schema" + + "\030\004 \001(\01321.google.cloud.bigquery.storage.v" + + "1beta2.AvroSchemaB\004\342A\001\003H\000\022P\n\014arrow_schem" + + "a\030\005 \001(\01322.google.cloud.bigquery.storage." + + "v1beta2.ArrowSchemaB\004\342A\001\003H\000\0225\n\005table\030\006 \001" + + "(\tB&\342A\001\005\372A\037\n\035bigquery.googleapis.com/Tab" + + "le\022`\n\017table_modifiers\030\007 \001(\0132A.google.clo" + + "ud.bigquery.storage.v1beta2.ReadSession." + + "TableModifiersB\004\342A\001\001\022_\n\014read_options\030\010 \001" + + "(\0132C.google.cloud.bigquery.storage.v1bet" + + "a2.ReadSession.TableReadOptionsB\004\342A\001\001\022H\n" + + "\007streams\030\n \003(\01321.google.cloud.bigquery.s" + + "torage.v1beta2.ReadStreamB\004\342A\001\003\032C\n\016Table" + + "Modifiers\0221\n\rsnapshot_time\030\001 \001(\0132\032.googl" + + "e.protobuf.Timestamp\032\261\001\n\020TableReadOption" + + "s\022\027\n\017selected_fields\030\001 \003(\t\022\027\n\017row_restri" + + "ction\030\002 \001(\t\022k\n\033arrow_serialization_optio" + + "ns\030\003 \001(\0132@.google.cloud.bigquery.storage" + + ".v1beta2.ArrowSerializationOptionsB\004\342A\001\001" + + ":k\352Ah\n*bigquerystorage.googleapis.com/Re" + + "adSession\022:projects/{project}/locations/" + + "{location}/sessions/{session}B\010\n\006schema\"" + + "\235\001\n\nReadStream\022\022\n\004name\030\001 \001(\tB\004\342A\001\003:{\352Ax\n" + + ")bigquerystorage.googleapis.com/ReadStre" + + "am\022Kprojects/{project}/locations/{locati" + + "on}/sessions/{session}/streams/{stream}\"" + + "\354\003\n\013WriteStream\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022K\n\004t" + + "ype\030\002 \001(\01627.google.cloud.bigquery.storag" + + "e.v1beta2.WriteStream.TypeB\004\342A\001\005\0225\n\013crea" + + "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" + + "pB\004\342A\001\003\0225\n\013commit_time\030\004 \001(\0132\032.google.pr" + + "otobuf.TimestampB\004\342A\001\003\022N\n\014table_schema\030\005" + + " \001(\01322.google.cloud.bigquery.storage.v1b" + + "eta2.TableSchemaB\004\342A\001\003\"F\n\004Type\022\024\n\020TYPE_U" + + "NSPECIFIED\020\000\022\r\n\tCOMMITTED\020\001\022\013\n\007PENDING\020\002" + + "\022\014\n\010BUFFERED\020\003:v\352As\n*bigquerystorage.goo" + + "gleapis.com/WriteStream\022Eprojects/{proje" + + "ct}/datasets/{dataset}/tables/{table}/st" + + "reams/{stream}*>\n\nDataFormat\022\033\n\027DATA_FOR" + + "MAT_UNSPECIFIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\002B\327" + + "\001\n)com.google.cloud.bigquery.storage.v1b" + + "eta2B\013StreamProtoP\001ZCcloud.google.com/go" + + "/bigquery/storage/apiv1beta2/storagepb;s" + + "toragepb\352AU\n\035bigquery.googleapis.com/Tab" + + "le\0224projects/{project}/datasets/{dataset" + + "}/tables/{table}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1beta2.ArrowProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1beta2.AvroProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1beta2.TableProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor, + new java.lang.String[] { + "Name", + "ExpireTime", + "DataFormat", + "AvroSchema", + "ArrowSchema", + "Table", + "TableModifiers", + "ReadOptions", + "Streams", + "Schema", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor = + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor, + new java.lang.String[] { + "SnapshotTime", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor = + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor, + new java.lang.String[] { + "SelectedFields", "RowRestriction", "ArrowSerializationOptions", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor, + new java.lang.String[] { + "Name", "Type", "CreateTime", "CommitTime", "TableSchema", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1beta2.ArrowProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1beta2.AvroProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1beta2.TableProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStats.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStats.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStats.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStats.java index 4be3a84421..9f376ae524 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStats.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStats.java @@ -1,52 +1,73 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Estimated stream statistics for a given Stream.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.StreamStats} */ -public final class StreamStats extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StreamStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.StreamStats) StreamStatsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StreamStats.newBuilder() to construct. private StreamStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StreamStats() { - } + + private StreamStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StreamStats(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.StreamStats.class, com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.StreamStats.class, + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder.class); } - public interface ProgressOrBuilder extends + public interface ProgressOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The fraction of rows assigned to the stream that have been processed by
      * the server so far, not including the rows in the current response
@@ -63,59 +84,64 @@ public interface ProgressOrBuilder extends
      * 
* * double at_response_start = 1; + * * @return The atResponseStart. */ double getAtResponseStart(); /** + * + * *
      * Similar to `at_response_start`, except that this value includes the
      * rows in the current response.
      * 
* * double at_response_end = 2; + * * @return The atResponseEnd. */ double getAtResponseEnd(); } - /** - * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.StreamStats.Progress} - */ - public static final class Progress extends - com.google.protobuf.GeneratedMessageV3 implements + /** Protobuf type {@code google.cloud.bigquery.storage.v1beta2.StreamStats.Progress} */ + public static final class Progress extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) ProgressOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Progress.newBuilder() to construct. private Progress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Progress() { - } + + private Progress() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Progress(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.class, com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.class, + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder.class); } public static final int AT_RESPONSE_START_FIELD_NUMBER = 1; private double atResponseStart_ = 0D; /** + * + * *
      * The fraction of rows assigned to the stream that have been processed by
      * the server so far, not including the rows in the current response
@@ -132,6 +158,7 @@ protected java.lang.Object newInstance(
      * 
* * double at_response_start = 1; + * * @return The atResponseStart. */ @java.lang.Override @@ -142,12 +169,15 @@ public double getAtResponseStart() { public static final int AT_RESPONSE_END_FIELD_NUMBER = 2; private double atResponseEnd_ = 0D; /** + * + * *
      * Similar to `at_response_start`, except that this value includes the
      * rows in the current response.
      * 
* * double at_response_end = 2; + * * @return The atResponseEnd. */ @java.lang.Override @@ -156,6 +186,7 @@ public double getAtResponseEnd() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +198,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(atResponseStart_) != 0) { output.writeDouble(1, atResponseStart_); } @@ -185,12 +215,10 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(atResponseStart_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, atResponseStart_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, atResponseStart_); } if (java.lang.Double.doubleToRawLongBits(atResponseEnd_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, atResponseEnd_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, atResponseEnd_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -200,19 +228,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress other = (com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) obj; + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress other = + (com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) obj; if (java.lang.Double.doubleToLongBits(getAtResponseStart()) - != java.lang.Double.doubleToLongBits( - other.getAtResponseStart())) return false; + != java.lang.Double.doubleToLongBits(other.getAtResponseStart())) return false; if (java.lang.Double.doubleToLongBits(getAtResponseEnd()) - != java.lang.Double.doubleToLongBits( - other.getAtResponseEnd())) return false; + != java.lang.Double.doubleToLongBits(other.getAtResponseEnd())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -225,100 +252,109 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AT_RESPONSE_START_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAtResponseStart())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAtResponseStart())); hash = (37 * hash) + AT_RESPONSE_END_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAtResponseEnd())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAtResponseEnd())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -327,36 +363,34 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.StreamStats.Progress} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.bigquery.storage.v1beta2.StreamStats.Progress} */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.class, com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.class, + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -367,13 +401,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress + getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance(); } @@ -388,13 +423,17 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress result = new com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress result = + new com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress result) { + private void buildPartial0( + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.atResponseStart_ = atResponseStart_; @@ -408,46 +447,52 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.StreamStats public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress other) { + if (other + == com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance()) + return this; if (other.getAtResponseStart() != 0D) { setAtResponseStart(other.getAtResponseStart()); } @@ -480,22 +525,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 9: { - atResponseStart_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 9 - case 17: { - atResponseEnd_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 9: + { + atResponseStart_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 17: + { + atResponseEnd_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -505,10 +553,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private double atResponseStart_ ; + private double atResponseStart_; /** + * + * *
        * The fraction of rows assigned to the stream that have been processed by
        * the server so far, not including the rows in the current response
@@ -525,6 +576,7 @@ public Builder mergeFrom(
        * 
* * double at_response_start = 1; + * * @return The atResponseStart. */ @java.lang.Override @@ -532,6 +584,8 @@ public double getAtResponseStart() { return atResponseStart_; } /** + * + * *
        * The fraction of rows assigned to the stream that have been processed by
        * the server so far, not including the rows in the current response
@@ -548,6 +602,7 @@ public double getAtResponseStart() {
        * 
* * double at_response_start = 1; + * * @param value The atResponseStart to set. * @return This builder for chaining. */ @@ -559,6 +614,8 @@ public Builder setAtResponseStart(double value) { return this; } /** + * + * *
        * The fraction of rows assigned to the stream that have been processed by
        * the server so far, not including the rows in the current response
@@ -575,6 +632,7 @@ public Builder setAtResponseStart(double value) {
        * 
* * double at_response_start = 1; + * * @return This builder for chaining. */ public Builder clearAtResponseStart() { @@ -584,14 +642,17 @@ public Builder clearAtResponseStart() { return this; } - private double atResponseEnd_ ; + private double atResponseEnd_; /** + * + * *
        * Similar to `at_response_start`, except that this value includes the
        * rows in the current response.
        * 
* * double at_response_end = 2; + * * @return The atResponseEnd. */ @java.lang.Override @@ -599,12 +660,15 @@ public double getAtResponseEnd() { return atResponseEnd_; } /** + * + * *
        * Similar to `at_response_start`, except that this value includes the
        * rows in the current response.
        * 
* * double at_response_end = 2; + * * @param value The atResponseEnd to set. * @return This builder for chaining. */ @@ -616,12 +680,15 @@ public Builder setAtResponseEnd(double value) { return this; } /** + * + * *
        * Similar to `at_response_start`, except that this value includes the
        * rows in the current response.
        * 
* * double at_response_end = 2; + * * @return This builder for chaining. */ public Builder clearAtResponseEnd() { @@ -630,6 +697,7 @@ public Builder clearAtResponseEnd() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -642,41 +710,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) - private static final com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress DEFAULT_INSTANCE; + private static final com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress(); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Progress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Progress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -688,20 +759,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PROGRESS_FIELD_NUMBER = 2; private com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress_; /** + * + * *
    * Represents the progress of the current stream.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; + * * @return Whether the progress field is set. */ @java.lang.Override @@ -709,18 +783,25 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
    * Represents the progress of the current stream.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; + * * @return The progress. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress getProgress() { - return progress_ == null ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance() + : progress_; } /** + * + * *
    * Represents the progress of the current stream.
    * 
@@ -728,11 +809,15 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress getProgres * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder getProgressOrBuilder() { - return progress_ == null ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance() : progress_; + public com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder + getProgressOrBuilder() { + return progress_ == null + ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance() + : progress_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -744,8 +829,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (progress_ != null) { output.writeMessage(2, getProgress()); } @@ -759,8 +843,7 @@ public int getSerializedSize() { size = 0; if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -770,17 +853,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.StreamStats)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.StreamStats other = (com.google.cloud.bigquery.storage.v1beta2.StreamStats) obj; + com.google.cloud.bigquery.storage.v1beta2.StreamStats other = + (com.google.cloud.bigquery.storage.v1beta2.StreamStats) obj; if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress() - .equals(other.getProgress())) return false; + if (!getProgress().equals(other.getProgress())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -803,131 +886,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.StreamStats parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.StreamStats parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.StreamStats prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.StreamStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Estimated stream statistics for a given Stream.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.StreamStats} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.StreamStats) com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.StreamStats.class, com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.StreamStats.class, + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.StreamStats.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -941,9 +1029,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor; } @java.lang.Override @@ -962,8 +1050,11 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStats build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.StreamStats buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.StreamStats result = new com.google.cloud.bigquery.storage.v1beta2.StreamStats(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.StreamStats result = + new com.google.cloud.bigquery.storage.v1beta2.StreamStats(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -971,9 +1062,7 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStats buildPartial() { private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.StreamStats result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.progress_ = progressBuilder_ == null - ? progress_ - : progressBuilder_.build(); + result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build(); } } @@ -981,38 +1070,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.StreamStats public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.StreamStats) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.StreamStats)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.StreamStats) other); } else { super.mergeFrom(other); return this; @@ -1020,7 +1110,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.StreamStats other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance()) + return this; if (other.hasProgress()) { mergeProgress(other.getProgress()); } @@ -1050,19 +1141,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getProgressFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1072,45 +1163,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress, com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder, com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder> progressBuilder_; + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress, + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder, + com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder> + progressBuilder_; /** + * + * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; + * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; + * * @return The progress. */ public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress getProgress() { if (progressBuilder_ == null) { - return progress_ == null ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance() + : progress_; } else { return progressBuilder_.getMessage(); } } /** + * + * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; */ - public Builder setProgress(com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress value) { + public Builder setProgress( + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress value) { if (progressBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1124,6 +1230,8 @@ public Builder setProgress(com.google.cloud.bigquery.storage.v1beta2.StreamStats return this; } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1142,17 +1250,22 @@ public Builder setProgress( return this; } /** + * + * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; */ - public Builder mergeProgress(com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress value) { + public Builder mergeProgress( + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress value) { if (progressBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - progress_ != null && - progress_ != com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && progress_ != null + && progress_ + != com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress + .getDefaultInstance()) { getProgressBuilder().mergeFrom(value); } else { progress_ = value; @@ -1165,6 +1278,8 @@ public Builder mergeProgress(com.google.cloud.bigquery.storage.v1beta2.StreamSta return this; } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1182,33 +1297,42 @@ public Builder clearProgress() { return this; } /** + * + * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; */ - public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder getProgressBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder + getProgressBuilder() { bitField0_ |= 0x00000001; onChanged(); return getProgressFieldBuilder().getBuilder(); } /** + * + * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; */ - public com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder getProgressOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder + getProgressOrBuilder() { if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null ? - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance() + : progress_; } } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1216,21 +1340,24 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder g * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress, com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder, com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress, + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder, + com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder> getProgressFieldBuilder() { if (progressBuilder_ == null) { - progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress, com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder, com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder>( - getProgress(), - getParentForChildren(), - isClean()); + progressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress, + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder, + com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder>( + getProgress(), getParentForChildren(), isClean()); progress_ = null; } return progressBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1240,12 +1367,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.StreamStats) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.StreamStats) private static final com.google.cloud.bigquery.storage.v1beta2.StreamStats DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.StreamStats(); } @@ -1254,27 +1381,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.StreamStats getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1289,6 +1416,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.StreamStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStatsOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStatsOrBuilder.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStatsOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStatsOrBuilder.java index 7567961429..d2fd832e92 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStatsOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStatsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface StreamStatsOrBuilder extends +public interface StreamStatsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.StreamStats) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Represents the progress of the current stream.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; + * * @return Whether the progress field is set. */ boolean hasProgress(); /** + * + * *
    * Represents the progress of the current stream.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; + * * @return The progress. */ com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress getProgress(); /** + * + * *
    * Represents the progress of the current stream.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchema.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchema.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchema.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchema.java index a4cc5be678..b752effa69 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchema.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchema.java @@ -1,24 +1,42 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/table.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * A field in TableSchema
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.TableFieldSchema} */ -public final class TableFieldSchema extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TableFieldSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.TableFieldSchema) TableFieldSchemaOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableFieldSchema.newBuilder() to construct. private TableFieldSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TableFieldSchema() { name_ = ""; type_ = 0; @@ -29,30 +47,30 @@ private TableFieldSchema() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableFieldSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.TableProto + .internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.TableProto + .internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.class, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.class, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder.class); } - /** - * Protobuf enum {@code google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type} - */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + /** Protobuf enum {@code google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type} */ + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Illegal value
      * 
@@ -61,6 +79,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * 64K, UTF8
      * 
@@ -69,6 +89,8 @@ public enum Type */ STRING(1), /** + * + * *
      * 64-bit signed
      * 
@@ -77,6 +99,8 @@ public enum Type */ INT64(2), /** + * + * *
      * 64-bit IEEE floating point
      * 
@@ -85,6 +109,8 @@ public enum Type */ DOUBLE(3), /** + * + * *
      * Aggregate type
      * 
@@ -93,6 +119,8 @@ public enum Type */ STRUCT(4), /** + * + * *
      * 64K, Binary
      * 
@@ -101,6 +129,8 @@ public enum Type */ BYTES(5), /** + * + * *
      * 2-valued
      * 
@@ -109,6 +139,8 @@ public enum Type */ BOOL(6), /** + * + * *
      * 64-bit signed usec since UTC epoch
      * 
@@ -117,6 +149,8 @@ public enum Type */ TIMESTAMP(7), /** + * + * *
      * Civil date - Year, Month, Day
      * 
@@ -125,6 +159,8 @@ public enum Type */ DATE(8), /** + * + * *
      * Civil time - Hour, Minute, Second, Microseconds
      * 
@@ -133,6 +169,8 @@ public enum Type */ TIME(9), /** + * + * *
      * Combination of civil date and civil time
      * 
@@ -141,6 +179,8 @@ public enum Type */ DATETIME(10), /** + * + * *
      * Geography object
      * 
@@ -149,6 +189,8 @@ public enum Type */ GEOGRAPHY(11), /** + * + * *
      * Numeric value
      * 
@@ -157,6 +199,8 @@ public enum Type */ NUMERIC(12), /** + * + * *
      * BigNumeric value
      * 
@@ -165,6 +209,8 @@ public enum Type */ BIGNUMERIC(13), /** + * + * *
      * Interval
      * 
@@ -173,6 +219,8 @@ public enum Type */ INTERVAL(14), /** + * + * *
      * JSON, String
      * 
@@ -184,6 +232,8 @@ public enum Type ; /** + * + * *
      * Illegal value
      * 
@@ -192,6 +242,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * 64K, UTF8
      * 
@@ -200,6 +252,8 @@ public enum Type */ public static final int STRING_VALUE = 1; /** + * + * *
      * 64-bit signed
      * 
@@ -208,6 +262,8 @@ public enum Type */ public static final int INT64_VALUE = 2; /** + * + * *
      * 64-bit IEEE floating point
      * 
@@ -216,6 +272,8 @@ public enum Type */ public static final int DOUBLE_VALUE = 3; /** + * + * *
      * Aggregate type
      * 
@@ -224,6 +282,8 @@ public enum Type */ public static final int STRUCT_VALUE = 4; /** + * + * *
      * 64K, Binary
      * 
@@ -232,6 +292,8 @@ public enum Type */ public static final int BYTES_VALUE = 5; /** + * + * *
      * 2-valued
      * 
@@ -240,6 +302,8 @@ public enum Type */ public static final int BOOL_VALUE = 6; /** + * + * *
      * 64-bit signed usec since UTC epoch
      * 
@@ -248,6 +312,8 @@ public enum Type */ public static final int TIMESTAMP_VALUE = 7; /** + * + * *
      * Civil date - Year, Month, Day
      * 
@@ -256,6 +322,8 @@ public enum Type */ public static final int DATE_VALUE = 8; /** + * + * *
      * Civil time - Hour, Minute, Second, Microseconds
      * 
@@ -264,6 +332,8 @@ public enum Type */ public static final int TIME_VALUE = 9; /** + * + * *
      * Combination of civil date and civil time
      * 
@@ -272,6 +342,8 @@ public enum Type */ public static final int DATETIME_VALUE = 10; /** + * + * *
      * Geography object
      * 
@@ -280,6 +352,8 @@ public enum Type */ public static final int GEOGRAPHY_VALUE = 11; /** + * + * *
      * Numeric value
      * 
@@ -288,6 +362,8 @@ public enum Type */ public static final int NUMERIC_VALUE = 12; /** + * + * *
      * BigNumeric value
      * 
@@ -296,6 +372,8 @@ public enum Type */ public static final int BIGNUMERIC_VALUE = 13; /** + * + * *
      * Interval
      * 
@@ -304,6 +382,8 @@ public enum Type */ public static final int INTERVAL_VALUE = 14; /** + * + * *
      * JSON, String
      * 
@@ -312,7 +392,6 @@ public enum Type */ public static final int JSON_VALUE = 15; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -337,62 +416,77 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return STRING; - case 2: return INT64; - case 3: return DOUBLE; - case 4: return STRUCT; - case 5: return BYTES; - case 6: return BOOL; - case 7: return TIMESTAMP; - case 8: return DATE; - case 9: return TIME; - case 10: return DATETIME; - case 11: return GEOGRAPHY; - case 12: return NUMERIC; - case 13: return BIGNUMERIC; - case 14: return INTERVAL; - case 15: return JSON; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return STRING; + case 2: + return INT64; + case 3: + return DOUBLE; + case 4: + return STRUCT; + case 5: + return BYTES; + case 6: + return BOOL; + case 7: + return TIMESTAMP; + case 8: + return DATE; + case 9: + return TIME; + case 10: + return DATETIME; + case 11: + return GEOGRAPHY; + case 12: + return NUMERIC; + case 13: + return BIGNUMERIC; + case 14: + return INTERVAL; + case 15: + return JSON; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.getDescriptor() + .getEnumTypes() + .get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -409,12 +503,11 @@ private Type(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type) } - /** - * Protobuf enum {@code google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode} - */ - public enum Mode - implements com.google.protobuf.ProtocolMessageEnum { + /** Protobuf enum {@code google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode} */ + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Illegal value
      * 
@@ -422,22 +515,18 @@ public enum Mode * MODE_UNSPECIFIED = 0; */ MODE_UNSPECIFIED(0), - /** - * NULLABLE = 1; - */ + /** NULLABLE = 1; */ NULLABLE(1), - /** - * REQUIRED = 2; - */ + /** REQUIRED = 2; */ REQUIRED(2), - /** - * REPEATED = 3; - */ + /** REPEATED = 3; */ REPEATED(3), UNRECOGNIZED(-1), ; /** + * + * *
      * Illegal value
      * 
@@ -445,20 +534,13 @@ public enum Mode * MODE_UNSPECIFIED = 0; */ public static final int MODE_UNSPECIFIED_VALUE = 0; - /** - * NULLABLE = 1; - */ + /** NULLABLE = 1; */ public static final int NULLABLE_VALUE = 1; - /** - * REQUIRED = 2; - */ + /** REQUIRED = 2; */ public static final int REQUIRED_VALUE = 2; - /** - * REPEATED = 3; - */ + /** REPEATED = 3; */ public static final int REPEATED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -483,50 +565,53 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: return MODE_UNSPECIFIED; - case 1: return NULLABLE; - case 2: return REQUIRED; - case 3: return REPEATED; - default: return null; + case 0: + return MODE_UNSPECIFIED; + case 1: + return NULLABLE; + case 2: + return REQUIRED; + case 3: + return REPEATED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Mode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.getDescriptor() + .getEnumTypes() + .get(1); } private static final Mode[] VALUES = values(); - public static Mode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -544,9 +629,12 @@ private Mode(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -554,6 +642,7 @@ private Mode(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -562,14 +651,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -577,16 +667,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -597,109 +686,162 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** + * + * *
    * Required. The field data type.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. The field data type.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type getType() { - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type result = com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.forNumber(type_); - return result == null ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type getType() { + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type result = + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.forNumber(type_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.UNRECOGNIZED + : result; } public static final int MODE_FIELD_NUMBER = 3; private int mode_ = 0; /** + * + * *
    * Optional. The field mode. The default value is NULLABLE.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
    * Optional. The field mode. The default value is NULLABLE.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mode. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode getMode() { - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode result = com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.forNumber(mode_); - return result == null ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode getMode() { + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode result = + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.forNumber(mode_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.UNRECOGNIZED + : result; } public static final int FIELDS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getFieldsList() { + public java.util.List + getFieldsList() { return fields_; } /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> getFieldsOrBuilderList() { return fields_; } /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getFieldsCount() { return fields_.size(); } /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int index) { return fields_.get(index); } /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFieldsOrBuilder( @@ -708,14 +850,18 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFi } public static final int DESCRIPTION_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. The field description. The maximum length is 1,024 characters.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -724,29 +870,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. The field description. The maximum length is 1,024 characters.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -755,6 +901,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -766,15 +913,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (type_ != com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, type_); } - if (mode_ != com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.MODE_UNSPECIFIED.getNumber()) { + if (mode_ + != com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, mode_); } for (int i = 0; i < fields_.size(); i++) { @@ -795,17 +945,18 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (type_ != com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } - if (mode_ != com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, mode_); + if (mode_ + != com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, mode_); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, fields_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); @@ -818,21 +969,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema other = (com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema) obj; + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema other = + (com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (type_ != other.type_) return false; if (mode_ != other.mode_) return false; - if (!getFieldsList() - .equals(other.getFieldsList())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getFieldsList().equals(other.getFieldsList())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -862,131 +1011,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A field in TableSchema
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.TableFieldSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.TableFieldSchema) com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.TableProto + .internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.TableProto + .internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.class, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.class, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1006,9 +1160,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.TableProto + .internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor; } @java.lang.Override @@ -1027,14 +1181,18 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema result = new com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema(this); + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema result = + new com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -1066,38 +1224,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.TableFieldS public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema) other); } else { super.mergeFrom(other); return this; @@ -1105,7 +1264,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1135,9 +1295,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.TableFieldSch fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000008); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFieldsFieldBuilder() : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldsFieldBuilder() + : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -1174,45 +1335,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - mode_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema m = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 34 - case 50: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + mode_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema m = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 34 + case 50: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1222,10 +1389,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1233,13 +1403,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1248,6 +1418,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1255,15 +1427,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1271,6 +1442,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1278,18 +1451,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1297,6 +1474,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1306,6 +1484,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1313,12 +1493,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1328,22 +1510,33 @@ public Builder setNameBytes( private int type_ = 0; /** + * + * *
      * Required. The field data type.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. The field data type.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1354,24 +1547,37 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Required. The field data type.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type getType() { - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type result = com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.forNumber(type_); - return result == null ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type result = + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.forNumber(type_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The field data type.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -1385,11 +1591,16 @@ public Builder setType(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchem return this; } /** + * + * *
      * Required. The field data type.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -1401,22 +1612,33 @@ public Builder clearType() { private int mode_ = 0; /** + * + * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ @@ -1427,24 +1649,37 @@ public Builder setModeValue(int value) { return this; } /** + * + * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mode. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode getMode() { - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode result = com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.forNumber(mode_); - return result == null ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode result = + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.forNumber(mode_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The mode to set. * @return This builder for chaining. */ @@ -1458,11 +1693,16 @@ public Builder setMode(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchem return this; } /** + * + * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearMode() { @@ -1473,25 +1713,36 @@ public Builder clearMode() { } private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - fields_ = new java.util.ArrayList(fields_); + fields_ = + new java.util.ArrayList( + fields_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> fieldsBuilder_; + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> + fieldsBuilder_; /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getFieldsList() { + public java.util.List + getFieldsList() { if (fieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(fields_); } else { @@ -1499,11 +1750,15 @@ public java.util.List * Optional. Describes the nested schema fields if the type property is set to STRUCT. *
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getFieldsCount() { if (fieldsBuilder_ == null) { @@ -1513,11 +1768,15 @@ public int getFieldsCount() { } } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int index) { if (fieldsBuilder_ == null) { @@ -1527,11 +1786,15 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int } } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setFields( int index, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema value) { @@ -1548,14 +1811,19 @@ public Builder setFields( return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setFields( - int index, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder builderForValue) { + int index, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); @@ -1566,11 +1834,15 @@ public Builder setFields( return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addFields(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema value) { if (fieldsBuilder_ == null) { @@ -1586,11 +1858,15 @@ public Builder addFields(com.google.cloud.bigquery.storage.v1beta2.TableFieldSch return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addFields( int index, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema value) { @@ -1607,11 +1883,15 @@ public Builder addFields( return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addFields( com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder builderForValue) { @@ -1625,14 +1905,19 @@ public Builder addFields( return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addFields( - int index, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder builderForValue) { + int index, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); @@ -1643,18 +1928,22 @@ public Builder addFields( return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllFields( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -1662,11 +1951,15 @@ public Builder addAllFields( return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearFields() { if (fieldsBuilder_ == null) { @@ -1679,11 +1972,15 @@ public Builder clearFields() { return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeFields(int index) { if (fieldsBuilder_ == null) { @@ -1696,39 +1993,53 @@ public Builder removeFields(int index) { return this; } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder getFieldsBuilder( int index) { return getFieldsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFieldsOrBuilder( int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); } else { + return fields_.get(index); + } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -1736,49 +2047,67 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFi } } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder addFieldsBuilder() { - return getFieldsFieldBuilder().addBuilder( - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.getDefaultInstance()); } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder addFieldsBuilder( int index) { - return getFieldsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.getDefaultInstance()); } /** + * + * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder>( - fields_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + fieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder>( + fields_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; @@ -1786,18 +2115,20 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder addFie private java.lang.Object description_ = ""; /** + * + * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1806,20 +2137,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1827,28 +2159,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1858,26 +2197,30 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1887,12 +2230,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.TableFieldSchema) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.TableFieldSchema) private static final com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema(); } @@ -1901,27 +2244,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableFieldSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableFieldSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1936,6 +2279,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchemaOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchemaOrBuilder.java similarity index 58% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchemaOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchemaOrBuilder.java index d753ba7d93..c963b04b00 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchemaOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchemaOrBuilder.java @@ -1,13 +1,31 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/table.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface TableFieldSchemaOrBuilder extends +public interface TableFieldSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.TableFieldSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -15,10 +33,13 @@ public interface TableFieldSchemaOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -26,110 +47,153 @@ public interface TableFieldSchemaOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The field data type.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. The field data type.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type getType(); /** + * + * *
    * Optional. The field mode. The default value is NULLABLE.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
    * Optional. The field mode. The default value is NULLABLE.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mode. */ com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode getMode(); /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getFieldsList(); + java.util.List getFieldsList(); /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int index); /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getFieldsCount(); /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** + * + * *
    * Optional. Describes the nested schema fields if the type property is set to STRUCT.
    * 
* - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFieldsOrBuilder( - int index); + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index); /** + * + * *
    * Optional. The field description. The maximum length is 1,024 characters.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. The field description. The maximum length is 1,024 characters.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableName.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableName.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableName.java diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableProto.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableProto.java new file mode 100644 index 0000000000..e7a4f917dc --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableProto.java @@ -0,0 +1,103 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/table.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public final class TableProto { + private TableProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/bigquery/storage/v1beta2/" + + "table.proto\022%google.cloud.bigquery.stora" + + "ge.v1beta2\032\037google/api/field_behavior.pr" + + "oto\"V\n\013TableSchema\022G\n\006fields\030\001 \003(\01327.goo" + + "gle.cloud.bigquery.storage.v1beta2.Table" + + "FieldSchema\"\324\004\n\020TableFieldSchema\022\022\n\004name" + + "\030\001 \001(\tB\004\342A\001\002\022P\n\004type\030\002 \001(\0162<.google.clou" + + "d.bigquery.storage.v1beta2.TableFieldSch" + + "ema.TypeB\004\342A\001\002\022P\n\004mode\030\003 \001(\0162<.google.cl" + + "oud.bigquery.storage.v1beta2.TableFieldS" + + "chema.ModeB\004\342A\001\001\022M\n\006fields\030\004 \003(\01327.googl" + + "e.cloud.bigquery.storage.v1beta2.TableFi" + + "eldSchemaB\004\342A\001\001\022\031\n\013description\030\006 \001(\tB\004\342A" + + "\001\001\"\325\001\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n\006STR" + + "ING\020\001\022\t\n\005INT64\020\002\022\n\n\006DOUBLE\020\003\022\n\n\006STRUCT\020\004" + + "\022\t\n\005BYTES\020\005\022\010\n\004BOOL\020\006\022\r\n\tTIMESTAMP\020\007\022\010\n\004" + + "DATE\020\010\022\010\n\004TIME\020\t\022\014\n\010DATETIME\020\n\022\r\n\tGEOGRA" + + "PHY\020\013\022\013\n\007NUMERIC\020\014\022\016\n\nBIGNUMERIC\020\r\022\014\n\010IN" + + "TERVAL\020\016\022\010\n\004JSON\020\017\"F\n\004Mode\022\024\n\020MODE_UNSPE" + + "CIFIED\020\000\022\014\n\010NULLABLE\020\001\022\014\n\010REQUIRED\020\002\022\014\n\010" + + "REPEATED\020\003B~\n)com.google.cloud.bigquery." + + "storage.v1beta2B\nTableProtoP\001ZCcloud.goo" + + "gle.com/go/bigquery/storage/apiv1beta2/s" + + "toragepb;storagepbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor, + new java.lang.String[] { + "Fields", + }); + internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor, + new java.lang.String[] { + "Name", "Type", "Mode", "Fields", "Description", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchema.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchema.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchema.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchema.java index 52259a8839..66f5aa7374 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchema.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchema.java @@ -1,52 +1,74 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/table.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Schema of a table
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.TableSchema} */ -public final class TableSchema extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TableSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.TableSchema) TableSchemaOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableSchema.newBuilder() to construct. private TableSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TableSchema() { fields_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.TableProto + .internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.TableProto + .internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.TableSchema.class, com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.TableSchema.class, + com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
    * Describes the fields in a table.
    * 
@@ -54,10 +76,13 @@ protected java.lang.Object newInstance( * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1; */ @java.lang.Override - public java.util.List getFieldsList() { + public java.util.List + getFieldsList() { return fields_; } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -65,11 +90,14 @@ public java.util.Listrepeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> getFieldsOrBuilderList() { return fields_; } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -81,6 +109,8 @@ public int getFieldsCount() { return fields_.size(); } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -92,6 +122,8 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int return fields_.get(index); } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -105,6 +137,7 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFi } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +149,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < fields_.size(); i++) { output.writeMessage(1, fields_.get(i)); } @@ -131,8 +163,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, fields_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -142,15 +173,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.TableSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.TableSchema other = (com.google.cloud.bigquery.storage.v1beta2.TableSchema) obj; + com.google.cloud.bigquery.storage.v1beta2.TableSchema other = + (com.google.cloud.bigquery.storage.v1beta2.TableSchema) obj; - if (!getFieldsList() - .equals(other.getFieldsList())) return false; + if (!getFieldsList().equals(other.getFieldsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,131 +203,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.TableSchema prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.TableSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Schema of a table
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.TableSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.TableSchema) com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.TableProto + .internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.TableProto + .internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.TableSchema.class, com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.TableSchema.class, + com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.TableSchema.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -312,9 +348,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.TableProto + .internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor; } @java.lang.Override @@ -333,14 +369,18 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableSchema buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.TableSchema result = new com.google.cloud.bigquery.storage.v1beta2.TableSchema(this); + com.google.cloud.bigquery.storage.v1beta2.TableSchema result = + new com.google.cloud.bigquery.storage.v1beta2.TableSchema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta2.TableSchema result) { + private void buildPartialRepeatedFields( + com.google.cloud.bigquery.storage.v1beta2.TableSchema result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -360,38 +400,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.TableSchema public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.TableSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.TableSchema)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.TableSchema) other); } else { super.mergeFrom(other); return this; @@ -399,7 +440,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.TableSchema other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance()) + return this; if (fieldsBuilder_ == null) { if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { @@ -418,9 +460,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.TableSchema o fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFieldsFieldBuilder() : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldsFieldBuilder() + : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -452,25 +495,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema m = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema m = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -480,28 +525,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - fields_ = new java.util.ArrayList(fields_); + fields_ = + new java.util.ArrayList( + fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> fieldsBuilder_; + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> + fieldsBuilder_; /** + * + * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1; */ - public java.util.List getFieldsList() { + public java.util.List + getFieldsList() { if (fieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(fields_); } else { @@ -509,6 +564,8 @@ public java.util.List * Describes the fields in a table. *
@@ -523,6 +580,8 @@ public int getFieldsCount() { } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -537,6 +596,8 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -558,6 +619,8 @@ public Builder setFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -565,7 +628,8 @@ public Builder setFields( * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1; */ public Builder setFields( - int index, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder builderForValue) { + int index, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); @@ -576,6 +640,8 @@ public Builder setFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -596,6 +662,8 @@ public Builder addFields(com.google.cloud.bigquery.storage.v1beta2.TableFieldSch return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -617,6 +685,8 @@ public Builder addFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -635,6 +705,8 @@ public Builder addFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -642,7 +714,8 @@ public Builder addFields( * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1; */ public Builder addFields( - int index, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder builderForValue) { + int index, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); @@ -653,6 +726,8 @@ public Builder addFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -660,11 +735,11 @@ public Builder addFields( * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1; */ public Builder addAllFields( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -672,6 +747,8 @@ public Builder addAllFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -689,6 +766,8 @@ public Builder clearFields() { return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -706,6 +785,8 @@ public Builder removeFields(int index) { return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -717,6 +798,8 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder getFie return getFieldsFieldBuilder().getBuilder(index); } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -726,19 +809,23 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder getFie public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFieldsOrBuilder( int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); } else { + return fields_.get(index); + } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -746,6 +833,8 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFi } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -753,10 +842,13 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFi * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1; */ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder addFieldsBuilder() { - return getFieldsFieldBuilder().addBuilder( - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder( + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.getDefaultInstance()); } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -765,37 +857,44 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder addFie */ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder addFieldsBuilder( int index) { - return getFieldsFieldBuilder().addBuilder( - index, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder( + index, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.getDefaultInstance()); } /** + * + * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder>( - fields_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + fieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder>( + fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +904,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.TableSchema) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.TableSchema) private static final com.google.cloud.bigquery.storage.v1beta2.TableSchema DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.TableSchema(); } @@ -819,27 +918,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.TableSchema getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -854,6 +953,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.TableSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchemaOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchemaOrBuilder.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchemaOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchemaOrBuilder.java index 899deefd99..7fe3511175 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchemaOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchemaOrBuilder.java @@ -1,22 +1,41 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/table.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface TableSchemaOrBuilder extends +public interface TableSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.TableSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1; */ - java.util.List - getFieldsList(); + java.util.List getFieldsList(); /** + * + * *
    * Describes the fields in a table.
    * 
@@ -25,6 +44,8 @@ public interface TableSchemaOrBuilder extends */ com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int index); /** + * + * *
    * Describes the fields in a table.
    * 
@@ -33,21 +54,24 @@ public interface TableSchemaOrBuilder extends */ int getFieldsCount(); /** + * + * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1; */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** + * + * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1; */ - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFieldsOrBuilder( - int index); + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleState.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleState.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleState.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleState.java index 7fa0855765..c55514b2fb 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleState.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleState.java @@ -1,56 +1,77 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/storage.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Information on if the current connection is being throttled.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ThrottleState} */ -public final class ThrottleState extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ThrottleState extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ThrottleState) ThrottleStateOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ThrottleState.newBuilder() to construct. private ThrottleState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ThrottleState() { - } + + private ThrottleState() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ThrottleState(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ThrottleState.class, com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ThrottleState.class, + com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder.class); } public static final int THROTTLE_PERCENT_FIELD_NUMBER = 1; private int throttlePercent_ = 0; /** + * + * *
    * How much this connection is being throttled. Zero means no throttling,
    * 100 means fully throttled.
    * 
* * int32 throttle_percent = 1; + * * @return The throttlePercent. */ @java.lang.Override @@ -59,6 +80,7 @@ public int getThrottlePercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -70,8 +92,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (throttlePercent_ != 0) { output.writeInt32(1, throttlePercent_); } @@ -85,8 +106,7 @@ public int getSerializedSize() { size = 0; if (throttlePercent_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, throttlePercent_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, throttlePercent_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -96,15 +116,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ThrottleState)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ThrottleState other = (com.google.cloud.bigquery.storage.v1beta2.ThrottleState) obj; + com.google.cloud.bigquery.storage.v1beta2.ThrottleState other = + (com.google.cloud.bigquery.storage.v1beta2.ThrottleState) obj; - if (getThrottlePercent() - != other.getThrottlePercent()) return false; + if (getThrottlePercent() != other.getThrottlePercent()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -124,131 +144,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ThrottleState prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.ThrottleState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information on if the current connection is being throttled.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ThrottleState} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ThrottleState) com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ThrottleState.class, com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ThrottleState.class, + com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.ThrottleState.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -258,9 +283,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto + .internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor; } @java.lang.Override @@ -279,8 +304,11 @@ public com.google.cloud.bigquery.storage.v1beta2.ThrottleState build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ThrottleState buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.ThrottleState result = new com.google.cloud.bigquery.storage.v1beta2.ThrottleState(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.ThrottleState result = + new com.google.cloud.bigquery.storage.v1beta2.ThrottleState(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -296,38 +324,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ThrottleSta public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ThrottleState) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ThrottleState)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ThrottleState) other); } else { super.mergeFrom(other); return this; @@ -335,7 +364,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ThrottleState other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance()) + return this; if (other.getThrottlePercent() != 0) { setThrottlePercent(other.getThrottlePercent()); } @@ -365,17 +395,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - throttlePercent_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + throttlePercent_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -385,16 +417,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int throttlePercent_ ; + private int throttlePercent_; /** + * + * *
      * How much this connection is being throttled. Zero means no throttling,
      * 100 means fully throttled.
      * 
* * int32 throttle_percent = 1; + * * @return The throttlePercent. */ @java.lang.Override @@ -402,12 +438,15 @@ public int getThrottlePercent() { return throttlePercent_; } /** + * + * *
      * How much this connection is being throttled. Zero means no throttling,
      * 100 means fully throttled.
      * 
* * int32 throttle_percent = 1; + * * @param value The throttlePercent to set. * @return This builder for chaining. */ @@ -419,12 +458,15 @@ public Builder setThrottlePercent(int value) { return this; } /** + * + * *
      * How much this connection is being throttled. Zero means no throttling,
      * 100 means fully throttled.
      * 
* * int32 throttle_percent = 1; + * * @return This builder for chaining. */ public Builder clearThrottlePercent() { @@ -433,9 +475,9 @@ public Builder clearThrottlePercent() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -445,12 +487,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ThrottleState) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ThrottleState) private static final com.google.cloud.bigquery.storage.v1beta2.ThrottleState DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ThrottleState(); } @@ -459,27 +501,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ThrottleState parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThrottleState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -494,6 +536,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ThrottleState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java new file mode 100644 index 0000000000..61200bee45 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java @@ -0,0 +1,39 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +package com.google.cloud.bigquery.storage.v1beta2; + +public interface ThrottleStateOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ThrottleState) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * How much this connection is being throttled. Zero means no throttling,
+   * 100 means fully throttled.
+   * 
+ * + * int32 throttle_percent = 1; + * + * @return The throttlePercent. + */ + int getThrottlePercent(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStream.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStream.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStream.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStream.java index 0e079e42ed..d4a986ca14 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStream.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStream.java @@ -1,24 +1,42 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/stream.proto package com.google.cloud.bigquery.storage.v1beta2; /** + * + * *
  * Information about a single stream that gets data inside the storage system.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.WriteStream} */ -public final class WriteStream extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WriteStream extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.WriteStream) WriteStreamOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WriteStream.newBuilder() to construct. private WriteStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WriteStream() { name_ = ""; type_ = 0; @@ -26,34 +44,38 @@ private WriteStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteStream(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.WriteStream.class, com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.WriteStream.class, + com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder.class); } /** + * + * *
    * Type enum of the stream.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1beta2.WriteStream.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unknown type.
      * 
@@ -62,6 +84,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Data will commit automatically and appear as soon as the write is
      * acknowledged.
@@ -71,6 +95,8 @@ public enum Type
      */
     COMMITTED(1),
     /**
+     *
+     *
      * 
      * Data is invisible until the stream is committed.
      * 
@@ -79,6 +105,8 @@ public enum Type */ PENDING(2), /** + * + * *
      * Data is only visible up to the offset to which it was flushed.
      * 
@@ -90,6 +118,8 @@ public enum Type ; /** + * + * *
      * Unknown type.
      * 
@@ -98,6 +128,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Data will commit automatically and appear as soon as the write is
      * acknowledged.
@@ -107,6 +139,8 @@ public enum Type
      */
     public static final int COMMITTED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Data is invisible until the stream is committed.
      * 
@@ -115,6 +149,8 @@ public enum Type */ public static final int PENDING_VALUE = 2; /** + * + * *
      * Data is only visible up to the offset to which it was flushed.
      * 
@@ -123,7 +159,6 @@ public enum Type */ public static final int BUFFERED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -148,50 +183,53 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return COMMITTED; - case 2: return PENDING; - case 3: return BUFFERED; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return COMMITTED; + case 2: + return PENDING; + case 3: + return BUFFERED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDescriptor() + .getEnumTypes() + .get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -209,15 +247,19 @@ private Type(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Name of the stream, in the form
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -226,30 +268,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. Name of the stream, in the form
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -260,38 +302,57 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** + * + * *
    * Immutable. Type of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Immutable. Type of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type getType() { - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type result = com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.forNumber(type_); - return result == null ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type getType() { + com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type result = + com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.forNumber(type_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.UNRECOGNIZED + : result; } public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Create time of the stream. For the _default stream, this is the
    * creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -299,12 +360,16 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Create time of the stream. For the _default stream, this is the
    * creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -312,12 +377,15 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Create time of the stream. For the _default stream, this is the
    * creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -327,6 +395,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int COMMIT_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp commitTime_; /** + * + * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -334,7 +404,9 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * means it is not committed.
    * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -342,6 +414,8 @@ public boolean hasCommitTime() { return commitTime_ != null; } /** + * + * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -349,7 +423,9 @@ public boolean hasCommitTime() {
    * means it is not committed.
    * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The commitTime. */ @java.lang.Override @@ -357,6 +433,8 @@ public com.google.protobuf.Timestamp getCommitTime() { return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } /** + * + * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -364,7 +442,8 @@ public com.google.protobuf.Timestamp getCommitTime() {
    * means it is not committed.
    * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { @@ -374,6 +453,8 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { public static final int TABLE_SCHEMA_FIELD_NUMBER = 5; private com.google.cloud.bigquery.storage.v1beta2.TableSchema tableSchema_; /** + * + * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -381,7 +462,10 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
    * The table schema could go out of date during the life time of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the tableSchema field is set. */ @java.lang.Override @@ -389,6 +473,8 @@ public boolean hasTableSchema() { return tableSchema_ != null; } /** + * + * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -396,14 +482,21 @@ public boolean hasTableSchema() {
    * The table schema could go out of date during the life time of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tableSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableSchema getTableSchema() { - return tableSchema_ == null ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() : tableSchema_; + return tableSchema_ == null + ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() + : tableSchema_; } /** + * + * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -411,14 +504,19 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema getTableSchema() {
    * The table schema could go out of date during the life time of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getTableSchemaOrBuilder() { - return tableSchema_ == null ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() : tableSchema_; + return tableSchema_ == null + ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() + : tableSchema_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -430,12 +528,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (type_ != com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, type_); } if (createTime_ != null) { @@ -459,21 +558,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (type_ != com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (commitTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCommitTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCommitTime()); } if (tableSchema_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getTableSchema()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getTableSchema()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -483,30 +580,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.WriteStream)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.WriteStream other = (com.google.cloud.bigquery.storage.v1beta2.WriteStream) obj; + com.google.cloud.bigquery.storage.v1beta2.WriteStream other = + (com.google.cloud.bigquery.storage.v1beta2.WriteStream) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (type_ != other.type_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasCommitTime() != other.hasCommitTime()) return false; if (hasCommitTime()) { - if (!getCommitTime() - .equals(other.getCommitTime())) return false; + if (!getCommitTime().equals(other.getCommitTime())) return false; } if (hasTableSchema() != other.hasTableSchema()) return false; if (hasTableSchema()) { - if (!getTableSchema() - .equals(other.getTableSchema())) return false; + if (!getTableSchema().equals(other.getTableSchema())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -541,131 +635,136 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.WriteStream parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.WriteStream parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.WriteStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.WriteStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.WriteStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.bigquery.storage.v1beta2.WriteStream parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.WriteStream parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.bigquery.storage.v1beta2.WriteStream parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.WriteStream parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.WriteStream parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.WriteStream parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.WriteStream parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.bigquery.storage.v1beta2.WriteStream parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.bigquery.storage.v1beta2.WriteStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.WriteStream prototype) { + + public static Builder newBuilder( + com.google.cloud.bigquery.storage.v1beta2.WriteStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about a single stream that gets data inside the storage system.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.WriteStream} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.WriteStream) com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.WriteStream.class, com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.WriteStream.class, + com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.WriteStream.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -691,9 +790,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto + .internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor; } @java.lang.Override @@ -712,8 +811,11 @@ public com.google.cloud.bigquery.storage.v1beta2.WriteStream build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.WriteStream buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.WriteStream result = new com.google.cloud.bigquery.storage.v1beta2.WriteStream(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.bigquery.storage.v1beta2.WriteStream result = + new com.google.cloud.bigquery.storage.v1beta2.WriteStream(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -727,19 +829,14 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.WriteStream result.type_ = type_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null - ? commitTime_ - : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.tableSchema_ = tableSchemaBuilder_ == null - ? tableSchema_ - : tableSchemaBuilder_.build(); + result.tableSchema_ = + tableSchemaBuilder_ == null ? tableSchema_ : tableSchemaBuilder_.build(); } } @@ -747,38 +844,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.WriteStream public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.WriteStream) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.WriteStream)other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.WriteStream) other); } else { super.mergeFrom(other); return this; @@ -786,7 +884,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.WriteStream other) { - if (other == com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance()) return this; + if (other == com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -830,43 +929,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getCommitTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getTableSchemaFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getTableSchemaFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -876,23 +975,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -901,21 +1003,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -923,30 +1026,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -956,18 +1066,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -977,22 +1091,33 @@ public Builder setNameBytes( private int type_ = 0; /** + * + * *
      * Immutable. Type of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Immutable. Type of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1003,24 +1128,37 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * Immutable. Type of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type getType() { - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type result = com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.forNumber(type_); - return result == null ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type result = + com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.forNumber(type_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Immutable. Type of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -1034,11 +1172,16 @@ public Builder setType(com.google.cloud.bigquery.storage.v1beta2.WriteStream.Typ return this; } /** + * + * *
      * Immutable. Type of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearType() { @@ -1050,42 +1193,61 @@ public Builder clearType() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is the
      * creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is the
      * creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is the
      * creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1101,15 +1263,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is the
      * creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1120,18 +1285,22 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is the
      * creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1144,12 +1313,16 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is the
      * creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1162,12 +1335,16 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is the
      * creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1175,38 +1352,50 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is the
      * creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Create time of the stream. For the _default stream, this is the
      * creation_time of the table.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1214,8 +1403,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp commitTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + commitTimeBuilder_; /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1223,13 +1417,18 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1237,17 +1436,24 @@ public boolean hasCommitTime() {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The commitTime. */ public com.google.protobuf.Timestamp getCommitTime() { if (commitTimeBuilder_ == null) { - return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; + return commitTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTime_; } else { return commitTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1255,7 +1461,9 @@ public com.google.protobuf.Timestamp getCommitTime() {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCommitTime(com.google.protobuf.Timestamp value) { if (commitTimeBuilder_ == null) { @@ -1271,6 +1479,8 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1278,10 +1488,11 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCommitTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (commitTimeBuilder_ == null) { commitTime_ = builderForValue.build(); } else { @@ -1292,6 +1503,8 @@ public Builder setCommitTime( return this; } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1299,13 +1512,15 @@ public Builder setCommitTime(
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) { if (commitTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - commitTime_ != null && - commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && commitTime_ != null + && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimeBuilder().mergeFrom(value); } else { commitTime_ = value; @@ -1318,6 +1533,8 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1325,7 +1542,9 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCommitTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1338,6 +1557,8 @@ public Builder clearCommitTime() { return this; } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1345,7 +1566,9 @@ public Builder clearCommitTime() {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() { bitField0_ |= 0x00000008; @@ -1353,6 +1576,8 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() { return getCommitTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1360,17 +1585,22 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { if (commitTimeBuilder_ != null) { return commitTimeBuilder_.getMessageOrBuilder(); } else { - return commitTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; + return commitTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTime_; } } /** + * + * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1378,17 +1608,22 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
      * means it is not committed.
      * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCommitTimeFieldBuilder() { if (commitTimeBuilder_ == null) { - commitTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCommitTime(), - getParentForChildren(), - isClean()); + commitTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCommitTime(), getParentForChildren(), isClean()); commitTime_ = null; } return commitTimeBuilder_; @@ -1396,8 +1631,13 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { private com.google.cloud.bigquery.storage.v1beta2.TableSchema tableSchema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.TableSchema, com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder> tableSchemaBuilder_; + com.google.cloud.bigquery.storage.v1beta2.TableSchema, + com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder> + tableSchemaBuilder_; /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1405,13 +1645,18 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the tableSchema field is set. */ public boolean hasTableSchema() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1419,17 +1664,24 @@ public boolean hasTableSchema() {
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tableSchema. */ public com.google.cloud.bigquery.storage.v1beta2.TableSchema getTableSchema() { if (tableSchemaBuilder_ == null) { - return tableSchema_ == null ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() : tableSchema_; + return tableSchema_ == null + ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() + : tableSchema_; } else { return tableSchemaBuilder_.getMessage(); } } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1437,7 +1689,9 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema getTableSchema() {
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTableSchema(com.google.cloud.bigquery.storage.v1beta2.TableSchema value) { if (tableSchemaBuilder_ == null) { @@ -1453,6 +1707,8 @@ public Builder setTableSchema(com.google.cloud.bigquery.storage.v1beta2.TableSch return this; } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1460,7 +1716,9 @@ public Builder setTableSchema(com.google.cloud.bigquery.storage.v1beta2.TableSch
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTableSchema( com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder builderForValue) { @@ -1474,6 +1732,8 @@ public Builder setTableSchema( return this; } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1481,13 +1741,16 @@ public Builder setTableSchema(
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeTableSchema(com.google.cloud.bigquery.storage.v1beta2.TableSchema value) { if (tableSchemaBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - tableSchema_ != null && - tableSchema_ != com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && tableSchema_ != null + && tableSchema_ + != com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance()) { getTableSchemaBuilder().mergeFrom(value); } else { tableSchema_ = value; @@ -1500,6 +1763,8 @@ public Builder mergeTableSchema(com.google.cloud.bigquery.storage.v1beta2.TableS return this; } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1507,7 +1772,9 @@ public Builder mergeTableSchema(com.google.cloud.bigquery.storage.v1beta2.TableS
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTableSchema() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1520,6 +1787,8 @@ public Builder clearTableSchema() { return this; } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1527,7 +1796,9 @@ public Builder clearTableSchema() {
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder getTableSchemaBuilder() { bitField0_ |= 0x00000010; @@ -1535,6 +1806,8 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder getTableSch return getTableSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1542,17 +1815,23 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder getTableSch
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getTableSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder + getTableSchemaOrBuilder() { if (tableSchemaBuilder_ != null) { return tableSchemaBuilder_.getMessageOrBuilder(); } else { - return tableSchema_ == null ? - com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() : tableSchema_; + return tableSchema_ == null + ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() + : tableSchema_; } } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1560,24 +1839,29 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getTableSc
      * The table schema could go out of date during the life time of the stream.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.TableSchema, com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.TableSchema, + com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder> getTableSchemaFieldBuilder() { if (tableSchemaBuilder_ == null) { - tableSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.TableSchema, com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder>( - getTableSchema(), - getParentForChildren(), - isClean()); + tableSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.TableSchema, + com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder, + com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder>( + getTableSchema(), getParentForChildren(), isClean()); tableSchema_ = null; } return tableSchemaBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1587,12 +1871,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.WriteStream) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.WriteStream) private static final com.google.cloud.bigquery.storage.v1beta2.WriteStream DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.WriteStream(); } @@ -1601,27 +1885,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.WriteStream getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WriteStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1636,6 +1920,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.WriteStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamName.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamName.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamName.java diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamOrBuilder.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamOrBuilder.java rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamOrBuilder.java index 8c42317d9a..1738d8536d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamOrBuilder.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamOrBuilder.java @@ -1,84 +1,128 @@ +/* + * 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. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1beta2/stream.proto package com.google.cloud.bigquery.storage.v1beta2; -public interface WriteStreamOrBuilder extends +public interface WriteStreamOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.WriteStream) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of the stream, in the form
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Name of the stream, in the form
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. Type of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Immutable. Type of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The type. */ com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type getType(); /** + * + * *
    * Output only. Create time of the stream. For the _default stream, this is the
    * creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Create time of the stream. For the _default stream, this is the
    * creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Create time of the stream. For the _default stream, this is the
    * creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -86,11 +130,15 @@ public interface WriteStreamOrBuilder extends
    * means it is not committed.
    * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** + * + * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -98,11 +146,15 @@ public interface WriteStreamOrBuilder extends
    * means it is not committed.
    * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** + * + * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -110,11 +162,14 @@ public interface WriteStreamOrBuilder extends
    * means it is not committed.
    * 
* - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder(); /** + * + * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -122,11 +177,16 @@ public interface WriteStreamOrBuilder extends
    * The table schema could go out of date during the life time of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the tableSchema field is set. */ boolean hasTableSchema(); /** + * + * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -134,11 +194,16 @@ public interface WriteStreamOrBuilder extends
    * The table schema could go out of date during the life time of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tableSchema. */ com.google.cloud.bigquery.storage.v1beta2.TableSchema getTableSchema(); /** + * + * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -146,7 +211,9 @@ public interface WriteStreamOrBuilder extends
    * The table schema could go out of date during the life time of the stream.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getTableSchemaOrBuilder(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/arrow.proto b/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/arrow.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/arrow.proto rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/arrow.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/avro.proto b/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/avro.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/avro.proto rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/avro.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/protobuf.proto b/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/protobuf.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/protobuf.proto rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/protobuf.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto b/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/stream.proto b/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/stream.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/stream.proto rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/stream.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/table.proto b/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/table.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/table.proto rename to proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/table.proto